Jump to content
We've recently updated our Privacy Statement, available here ×

xchen

Members
  • Posts

    7
  • Joined

  • Last visited

xchen's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi folks, I follow the sample in templates coming with iReport3.5, I defined a style file: styles.jrtx and put this file in the .jrxml like this: <template>"styles.jrtx"</template> (iReport changed it to : <template><![CDATA["styles.jrtx"]]></template> after compiling.) The strong thing is that when I applied my styles in styles.jrtx, none of them works. Well even worse, these elements(static text) I did not apply the styles had the text disappeared!!!! Segments of the jrxml file are like this: ... <template><![CDATA["styles.jrtx"]]></template> ... <staticText> <reportElement style="Column Header" x="0" y="0" width="78" height="20"/> <textElement/> <text><![CDATA[Last]]></text> </staticText> "Column Header" is a style defined in styles.jrtx: <style name="Column Header" isBold="true" fontSize="12" backcolor="#FFFF00"/> Any hint is highly appreciated! Shawn
  2. mdahlman Wrote: Chen, The quickest solution (well, workaround) is to right-click the static text field and choose Transform to -> Text Field. Regards, Matt Sounds like a solution. Thanks for all of you posting replies! Chen
  3. walmillard Wrote: Are you embedding the <style> tags or are you setting the font properties using the ireport controls? ie Attention <style pdfFontName="Helvetica-Bold">Customers</style> will print "Customers" in Helvetice-Bold regardless of the iReport font settings used to print Attention. ensure you have the "Is styled text" setting checked. Note also that "MS Windows" fonts are slightly astray from other platforms. luck I am not sure if I follow you. In my case, I created a few styles in the Style Library, then drag and drop them onto the static box. The colors in front and background didn't change at all. I don't mean to change the style in the jrxml file manually. Could this be a bug of iReport? Thanks. X.Chen Post Edited by xchen123 at 10/01/2009 20:58
  4. Hi folks, I am having an issue when applying the style iReport. The issue is like this: if I apply the style to Text Field, it works, but if I apply the style to Static Text, it doesn't work, but instead, the old proprties still applies! Any hint is highly appreciated. Chen
  5. If you are using the tutorial from Wiki, there is a 'erro': it used ${COUNTRY}, it should be $P{COUNTRY}. Please notice the missing 'P' after '$' sign.
  6. I am using iReporter to create one master report, then within it, I add 2 subreports vertically in the 'Detail' band. Within these 2 'subreports', I have some text fields in their 'Detail' bands. When I run the master report in iReporter, I found those 2 'subreports' overlapped. I tried to adjust the size of the 2 subreports, but failed. I also set the position as 'float'. But these 2 subreports will not in the same page. Could anyone give me a hand please? Thanks in advance.
×
×
  • Create New...