AW: alternate row color
Hi, yes you can do that with the fop extension ContinuedLabel. Look in the examples of your fop. greez, mark -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 13. Juni 2003 09:12 An: [EMAIL PROTECTED] Betreff: RE: alternate row color Hi, In the same way can we solve this problem?. This is the situation. 1. I have 3 tables in the PDF each one may or may not span out for more than a page. 2. I am using table headers to carry the specific information pertaining to that table to the beginning of each page within the scope of that table. Let me briefly describe the requirement. If a table spans for more than a page, then for every following page from page no 2 of that table, till the page where the table ends, 'CONTINUED' is to be displayed at the top of the every page. Thanx Regards, Vinod. -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 3:42 AM To: [EMAIL PROTECTED] Subject: Re: alternate row color On 6/12/2003 3:07 PM, Daniel Müller wrote: How do you alternate the row color in a table? Daniel You cannot use a variable like that. You have to set the color using xsl:attribute as shown below, where I switch off between white (#ff) and an ugly orange (#e3ceb9) color: fo:table-row xsl:attribute name=background-colorxsl:choosexsl:when test=(position() mod 2) = 0#e3ceb9/xsl:whenxsl:otherwise#ff/xsl:otherwise/xsl:choose/xsl:attribute fo:table-cell padding=1pt fo:block xsl:value-of select=ICD9/ /fo:block /fo:table-cell fo:table-cell padding=1pt fo:block padding-left=5pt #160;xsl:value-of select=ICD9DESC/ /fo:block /fo:table-cell /fo:table-row -- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain viruses.The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error message
Hello all foppers, i got following error message: [ERROR] Areas pending, text probably lost in lineaus der Modellregion Ostthüringen sagt: Die zeitlichen Kapazitäten der Mediziner reichen derzeit nicht aus, sich mit dem Projekt auseinander zu setzen. (Arno Schütze, But the text was printed out correctly. It was the last line on a page, the rest ) / (anw/c't) was printed on the next page. My first question is, what should this error message say to me ?? Second question: Due orphans and widows are not implemented yet, how can i do such text formatting issues on my own ??? I know the hint on table-rows and the attributes keep-with-next, ... but putting text in table rows isn't very useful. greetings from a very warm and hot office, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: empty cells respectively empty blocks
Hello Jan, you can solve your problem by setting an space-after=your_line_height-attribute on the block inside the empty cell. Then the border is displayed correctly. greez, mark -Ursprüngliche Nachricht- Von: Zmitko, Jan [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 11. Juni 2003 16:52 An: [EMAIL PROTECTED] Betreff: empty cells respectively empty blocks Hello, I´have an Problem with empty cells or empty blocks. The defined line-height is not set and the effect ist, that the border of the block (that condeces as a line) displace upward. Can someone help me, I hope. Thanks in advance. Jan Zmitko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: empty cells respectively empty blocks
Hi Jan, you have to set the border-bottom attribute on the table-cell, not the block ;-)) fo:table-cell padding-top=5.0pt border-bottom=solid #00 0.1pt margin=5.0pt fo:block font-size=10.0pt space-after=11.0pt xsl:if test=/root/dreba.prj.gm3.kus.view.pdf.FopKontoeinzugsData/kontonummerart4/@ value!='null' xsl:value-of select=/root/dreba.prj.gm3.kus.view.pdf.FopKontoeinzugsData/kontonummerart4 /@value/ /xsl:if /fo:block /fo:table-cell -Ursprüngliche Nachricht- Von: Zmitko, Jan [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 11. Juni 2003 17:11 An: '[EMAIL PROTECTED]' Betreff: AW: empty cells respectively empty blocks Hello Marc, sorry, that does not work: fo:table-cell padding-top=5.0pt margin=5.0pt fo:block font-size=10.0pt border-bottom=solid #00 0.1pt space-after=11.0pt xsl:if test=/root/dreba.prj.gm3.kus.view.pdf.FopKontoeinzugsData/kontonummerart4/@ value!='null' xsl:value-of select=/root/dreba.prj.gm3.kus.view.pdf.FopKontoeinzugsData/kontonummerart4 /@value/ /xsl:if /fo:block /fo:table-cell Do I something wrong? -Ursprüngliche Nachricht- Von: Mark Baier [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 11. Juni 2003 16:57 An: [EMAIL PROTECTED] Betreff: AW: empty cells respectively empty blocks Hello Jan, you can solve your problem by setting an space-after=your_line_height-attribute on the block inside the empty cell. Then the border is displayed correctly. greez, mark -Ursprüngliche Nachricht- Von: Zmitko, Jan [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 11. Juni 2003 16:52 An: [EMAIL PROTECTED] Betreff: empty cells respectively empty blocks Hello, I´have an Problem with empty cells or empty blocks. The defined line-height is not set and the effect ist, that the border of the block (that condeces as a line) displace upward. Can someone help me, I hope. Thanks in advance. Jan Zmitko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Problem with layout of page-number-citation
Hi, here is the fo-file to reproduce the problem with the page-number-citation. I normally use a special font for a company logo which i don't provide, but without it the problem is reproducable nevertheless. Thanks in advance, Mark Mark Baier wrote: i'm using fop0.20.5.rc3a and the layout of a line containing a page number in the style Page 1/20 is now improved highly. My problem is that on the last generated page the text Page 20/20 is moved by 0.2cm to the right. On every other page the label is printed with the new release perfectly. Can you reduce the file to a one or two page sample and post the FO code to the list? J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] problem.fo Description: problem.fo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with layout of page-number-citation
Hi all, i'm using fop0.20.5.rc3a and the layout of a line containing a page number in the style Page 1/20 is now improved highly. My problem is that on the last generated page the text Page 20/20 is moved by 0.2cm to the right. On every other page the label is printed with the new release perfectly. Does someone know a workaround for this problem ??? Greets, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
fo:leader and toc
Hi all, i have a question concering the use of leaders in a toc to create some dots between Chaptername and page number like: 1. Chapter1 .. 1 1.1 Subchapter 1.1 ... 2 and so on. I have updated this day on fop0.20.5.rc3a and since then my leader doesn't generate dots correctly. Formerly i generated the dots with the following code. fo:table-cell fo:block text-align=left fo:basic-link color=blue internal-destination={concat($gfLinkId,generate-id())} xsl:value-of select=@gp_bezeichnung/ /fo:basic-link xsl:text /xsl:text fo:leader leader-pattern=dots/ /fo:block /fo:table-cell fo:table-cell fo:block text-align=right fo:page-number-citation ref-id={concat($gfLinkId,generate-id())}/ /fo:block /fo:table-cell The dots where generated up to the end of the table-cell. Now the same code produces only 4 dots. I have read in the spec the following: If it is desired that the leader should stretch to fill all available space on a line, the maximum length of the leader should be specified to be at least as large as the column width That's what i really want to do. I have tested this with the actual fop-version, but the effect was that nothing changed and only 4 dots are produced. Thank you all in advance. Mark P.S.: The page-number alignment now works great, thanks to the developer who does this :-)) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: what does inline formatting objects cannot be directly under flow mean?
Hi Jason, under flow you can only place block elements like block, table and so on. An inline formatting object like inline must be placed beyond a block or something like that. greets, mark -Ursprüngliche Nachricht- Von: Jason Novotny [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 7. Mai 2003 16:43 An: [EMAIL PROTECTED] Betreff: what does inline formatting objects cannot be directly under flow mean? This is the output I'm getting and I'm trying to figure out how to debug my docbook-- [java] [ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined [java] org.apache.fop.apps.FOPException: inline formatting objects cannot be directly under flow [java] at org.apache.fop.fo.flow.Inline.init(Inline.java:34) [java] at org.apache.fop.fo.flow.BasicLink.init(BasicLink.java:35) [java] [ERROR] inline formatting objects cannot be directly under flow [java] at org.apache.fop.fo.flow.BasicLink$Maker.make(BasicLink.java:25) Thanks, Jason - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [ERROR] -2
Hi Suse, i think the problem is that you define 1 table-column and add 3 table-cells in a table-row... greets, Mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:55 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hello markus... This I already tried because I guessed the same as you. But this doesn't help :-( Thanx anyway! -Ursprüngliche Nachricht- Von: Müller, Markus [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:51 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 You should put your static text inside fo:block/fo:block tags. Perhaps this helps, Markus $ -Ursprüngliche Nachricht- $ Von: Todtenhaupt, Susann $ [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:46 $ An: '[EMAIL PROTECTED]' $ Betreff: AW: [ERROR] -2 $ $ $ I get an ArrayOutOfBoundsException. But I can't retrace my $ fault... As $ attachment I'm sending my fo-file. Anybody is kindly asked $ to have a look. $ :-) $ $ Million thanx! $ suse $ $ -Ursprüngliche Nachricht- $ Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:16 $ An: [EMAIL PROTECTED] $ Betreff: Re: [ERROR] -2 $ $ I don't know. Run FOP on the command-line with the -d $ (debug) option. $ You'll get a stacktrace that will be more informative. $ $ On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: $ While processing with fop I get the error [ERROR] -2. $ What does it mean? $ $ $ Jeremias Maerki $ $ $ - $ To unsubscribe, e-mail: [EMAIL PROTECTED] $ For additional commands, e-mail: [EMAIL PROTECTED] $ $ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [ERROR] -2
Hi Suse, why do you use block-container in table-cells ? If you define your table with 3 table-columns and each of your table-cells with borders like you defined for your block-containers i think you have the same effect you want to have. Your structure is a little bit of strange. the hint Markus Müller gave ( You should put your static text inside fo:block/fo:block tags. ) seems to me not so bad. You have text in your flow which is not surrounded by a block, so i don't think that this text will be ever visible, even if you can create your pdf. The text passage: -- 1 of 1 Nonconformance Report CDMU CRATE Functional Failures is a child of a table-row and this is definitly not allowed in fop. greets, mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 13:03 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hi mark! Mmmhhh, I guess this is not the problem. If I leave out the third template it runs. And then there're still two cells in one row... -Ursprüngliche Nachricht- Von: Mark Baier [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:57 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 Hi Suse, i think the problem is that you define 1 table-column and add 3 table-cells in a table-row... greets, Mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:55 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hello markus... This I already tried because I guessed the same as you. But this doesn't help :-( Thanx anyway! -Ursprüngliche Nachricht- Von: Müller, Markus [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:51 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 You should put your static text inside fo:block/fo:block tags. Perhaps this helps, Markus $ -Ursprüngliche Nachricht- $ Von: Todtenhaupt, Susann $ [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:46 $ An: '[EMAIL PROTECTED]' $ Betreff: AW: [ERROR] -2 $ $ $ I get an ArrayOutOfBoundsException. But I can't retrace my $ fault... As $ attachment I'm sending my fo-file. Anybody is kindly asked $ to have a look. $ :-) $ $ Million thanx! $ suse $ $ -Ursprüngliche Nachricht- $ Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:16 $ An: [EMAIL PROTECTED] $ Betreff: Re: [ERROR] -2 $ $ I don't know. Run FOP on the command-line with the -d $ (debug) option. $ You'll get a stacktrace that will be more informative. $ $ On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: $ While processing with fop I get the error [ERROR] -2. $ What does it mean? $ $ $ Jeremias Maerki $ $ $ - $ To unsubscribe, e-mail: [EMAIL PROTECTED] $ For additional commands, e-mail: [EMAIL PROTECTED] $ $ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [ERROR] -2
Hi Suse, i've tested your fo and added two extra table-columns fo:flow flow-name=xsl-region-body fo:table fo:table-column column-width=3.5cm/ fo:table-column column-width=2.5cm/ fo:table-column column-width=6.5cm/ fo:table-body fo:table-row and surprise the attached pdf was created. greets, mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 13:20 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hi mark, I've left out the static text in my flow and it didn't work. I want to create a form with nested fields. It would be very complicated if I tried this only with table-cells. So I decided to use containers. Yesterday I solved my layout with fixed blocks and containers (position based) on my page. But if this is efficient... every time you want to change your layout you have to change all positions in your layout. I can't really get along with these tables ;-( suse -Ursprüngliche Nachricht- Von: Mark Baier [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 13:10 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 Hi Suse, why do you use block-container in table-cells ? If you define your table with 3 table-columns and each of your table-cells with borders like you defined for your block-containers i think you have the same effect you want to have. Your structure is a little bit of strange. the hint Markus Müller gave ( You should put your static text inside fo:block/fo:block tags. ) seems to me not so bad. You have text in your flow which is not surrounded by a block, so i don't think that this text will be ever visible, even if you can create your pdf. The text passage: -- 1 of 1 Nonconformance Report CDMU CRATE Functional Failures is a child of a table-row and this is definitly not allowed in fop. greets, mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 13:03 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hi mark! Mmmhhh, I guess this is not the problem. If I leave out the third template it runs. And then there're still two cells in one row... -Ursprüngliche Nachricht- Von: Mark Baier [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:57 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 Hi Suse, i think the problem is that you define 1 table-column and add 3 table-cells in a table-row... greets, Mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:55 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hello markus... This I already tried because I guessed the same as you. But this doesn't help :-( Thanx anyway! -Ursprüngliche Nachricht- Von: Müller, Markus [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:51 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 You should put your static text inside fo:block/fo:block tags. Perhaps this helps, Markus $ -Ursprüngliche Nachricht- $ Von: Todtenhaupt, Susann $ [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:46 $ An: '[EMAIL PROTECTED]' $ Betreff: AW: [ERROR] -2 $ $ $ I get an ArrayOutOfBoundsException. But I can't retrace my $ fault... As $ attachment I'm sending my fo-file. Anybody is kindly asked $ to have a look. $ :-) $ $ Million thanx! $ suse $ $ -Ursprüngliche Nachricht- $ Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:16 $ An: [EMAIL PROTECTED] $ Betreff: Re: [ERROR] -2 $ $ I don't know. Run FOP on the command-line with the -d $ (debug) option. $ You'll get a stacktrace that will be more informative. $ $ On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: $ While processing with fop I get the error [ERROR] -2. $ What does it mean? $ $ $ Jeremias Maerki $ $ $ - $ To unsubscribe, e-mail: [EMAIL PROTECTED] $ For additional commands, e-mail: [EMAIL PROTECTED] $ $ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
AW: HELP HELP HELP PERFORMANCE !!!!
Hello, we are now using SAXON 6.5.2 to process our XML and it is about 1 and 1/2 times faster than XALAN. Also are you using xsl:key to get faster access to your nodes ? by the way, i don't understand your problem really... greets, mark -Ursprüngliche Nachricht-Von: Philippe PITHON [mailto:[EMAIL PROTECTED]Gesendet: Mittwoch, 9. April 2003 10:44An: [EMAIL PROTECTED]Betreff: HELP HELP HELP PERFORMANCE We start to publish large editions with FOP: countable listing, ledger... and render FOP explodes of everywhere!!! version FOP 0.20.5 xml size : approximately 2Mo. Xms : 256Mo Impossible to make page breaks because they are listings can you tell us the date of release of your version miracle? I dont know any more what to make and more what think...
AW: xsl-fo question for fo:block
Hi, youshould build a table with 8 columns, within each you can set a block with its different font and size. greez, mark -Ursprüngliche Nachricht-Von: Jasmin Mehta [mailto:[EMAIL PROTECTED]Gesendet: Mittwoch, 26. März 2003 17:29An: [EMAIL PROTECTED]Cc: [EMAIL PROTECTED]Betreff: xsl-fo question for fo:block Hi, I want to create PDF output from xml document using xsl-fo. The required format is, should get label-text, label-text, label-text, label-text all 4 pairs in single row. Also I want to keep this as a header of the page. For example, Patient: Gina Latta Age : 60 Sex: M Patient ID#: 7678678768 Also all labels must be bold and have different font/size than respective text value. I am trying with below code: fo:static-content flow-name="xsl-region-before" fo:list-block provisional-distance-between-starts="3cm" provisional-label-separation="0.15cm" font-size="12pt" !-- list item for Patient Name -- fo:list-item fo:list-item-label end-indent="label-end()" fo:block text-align="start" font-size="12pt" font-family="serif" font-weight="bold" line-height="14pt" Patient: /fo:block /fo:list-item-label fo:list-item-body start-indent="1.5cm" fo:block text-align="left" space-after.optimum="14pt" white-space-collapse="false" xsl:apply-templates select="Patient_LName"/, xsl:apply-templates select="Patient_FName"/ /fo:block /fo:list-item-body /fo:list-item fo:list-item fo:list-item-label end-indent="label-end()" fo:block text-align="start" font-size="12pt" font-family="serif" font-weight="bold" line-height="14pt" Age: /fo:block /fo:list-item-label fo:list-item-body start-indent="1.5cm" fo:block text-align="left" space-after.optimum="14pt" white-space-collapse="false" xsl:apply-templates select="Note_2"/ /fo:block /fo:list-item-body /fo:list-item /fo:static-content But it is displaying the result in separate rows. Patient: name Age : age Please help. Thanks Jasmin
AW: xsl-fo question for fo:block
Hi Jasmin, it should look something like this, fo:table table-layout="fixed" width="100%" fo:table-column column-width="0.3cm"/ fo:table-column column-width="1cm"/ fo:table-column column-width="24.7cm"/ fo:table-column column-width="1cm"/ fo:table-body font-size="10pt" font-family="sans-serif" xsl:apply-templates select="" mode="createTable"/ /fo:table-body /fo:table fo:table-row line-height="12pt" fo:table-cell/ fo:table-cell fo:block xsl:value-of select="@gp_gliederungsnummer"/xsl:text./xsl:text /fo:block /fo:table-cell fo:table-cell fo:block text-align="left" xsl:value-of select="@gp_bezeichnung"/ /fo:block /fo:table-cell fo:table-cell fo:block text-align="right" fo:page-number-citation ref-id="{concat($gfLinkId,generate-id())}"/ /fo:block /fo:table-cell /fo:table-row on each table-cell in the row you can apply some templates to get the values. Hope this helps, Mark -Ursprüngliche Nachricht-Von: Jasmin Mehta [mailto:[EMAIL PROTECTED]Gesendet: Mittwoch, 26. März 2003 17:34An: [EMAIL PROTECTED]Betreff: RE: xsl-fo question for fo:block Hi Mark, I havent create any table yet in my xsl-fo. I dont know how to do it? Can you pl help me with small example? Thanks Jasmin -Original Message-From: Mark Baier [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 11:32 AMTo: [EMAIL PROTECTED]Subject: AW: xsl-fo question for fo:block Hi, youshould build a table with 8 columns, within each you can set a block with its different font and size. greez, mark -Ursprüngliche Nachricht-Von: Jasmin Mehta [mailto:[EMAIL PROTECTED]Gesendet: Mittwoch, 26. März 2003 17:29An: [EMAIL PROTECTED]Cc: [EMAIL PROTECTED]Betreff: xsl-fo question for fo:block Hi, I want to create PDF output from xml document using xsl-fo. The required format is, should get label-text, label-text, label-text, label-text all 4 pairs in single row. Also I want to keep this as a header of the page. For example, Patient: Gina Latta Age : 60 Sex: M Patient ID#: 7678678768 Also all labels must be bold and have different font/size than respective text value. I am trying with below code: fo:static-content flow-name="xsl-region-before" fo:list-block provisional-distance-between-starts="3cm" provisional-label-separation="0.15cm" font-size="12pt" !-- list item for Patient Name -- fo:list-item fo:list-item-label end-indent="label-end()" fo:block text-align="start" font-size="12pt" font-family="serif" font-weight="bold" line-height="14pt" Patient: /fo:block /fo:list-item-label fo:list-item-body start-indent="1.5cm" fo:block text-align="left" space-after.optimum="14pt" white-space-collapse="false" xsl:apply-templates select="Patient_LName"/, xsl:apply-templates select="Patient_FName"/ /fo:block /fo:list-item-body /fo:list-item fo:list-item fo:list-item-label end-indent="label-end()" fo:block text-align="start" font-size="12pt" font-family="serif" font-weight="bold" line-height="14pt" Age: /fo:block /fo:list-item-label fo:list-item-body start-indent="1.5cm" fo:block text-align="left" space-after.optimum="14pt" white-space-collapse="false" xsl:apply-templates select="Note_2"/ /fo:block /fo:list-item-body /fo:list-item /fo:static-content But it is displaying the result in separate rows. Patient: name Age : age Please help. Thanks Jasmin
AW: xsl-fo question for fo:block
These are some good and useful sites. Reference like and with link to the spec http://www.zvon.org/xxl/xslfoReference/Output/ FAQ for fo http://www.dpawson.co.uk/xsl/sect3/index.html The FAQ of the fop site is very useful if your working with fop. http://xml.apache.org/fop/ greez, mark -Ursprüngliche Nachricht- Von: Jasmin Mehta [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 26. März 2003 17:49 An: [EMAIL PROTECTED] Betreff: RE: xsl-fo question for fo:block Hi Clay, Thanks for the example. Is there any site where I can get each tag's syntax, usage and example for all xsl-fo? Thanks Jasmin -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 11:41 AM To: [EMAIL PROTECTED] Subject: Re: xsl-fo question for fo:block Jasmin, Jasmin Mehta wrote: I haven't create any table yet in my xsl-fo. I don't know how to do it? Can you pl help me with small example? You mean something like this?: ;-P ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:fo=http://www.w3.org/1999/XSL/Format; xsl:template match=/document fo:root !-- defines page layout -- fo:layout-master-set fo:simple-page-master master-name=repeating page-height=28cm page-width=22cm margin-top=1cm margin-bottom=1.3cm margin-left=1cm margin-right=1cm fo:region-body margin-bottom=6.5cm margin-top=7.6cm/ fo:region-before extent=7.6cm/ fo:region-after extent=6.5cm/ /fo:simple-page-master fo:page-sequence-master master-name=repeating_pm fo:repeatable-page-master-reference master-name=repeating/ /fo:page-sequence-master /fo:layout-master-set !-- DEFINE PAGE SEQUENCE - repeating -- fo:page-sequence master-reference=repeating fo:static-content flow-name=xsl-region-before fo:block padding=0pt xsl:use-attribute-sets=attNormal xsl:call-template name=tmpHeader/ /fo:block /fo:static-content fo:static-content flow-name=xsl-region-after fo:block xsl:use-attribute-sets=attNormal xsl:call-template name=tmpFooter/ /fo:block /fo:static-content fo:flow flow-name=xsl-region-body fo:block xsl:call-template name=tmpBody/ /fo:block /fo:flow /fo:page-sequence /fo:root /xsl:template !-- REGION-BEFORE: tmpHeader TEMPLATE -- xsl:template name=tmpHeader fo:block padding=0pt !-- REGION-BEFORE (Header) CONTENT -- /fo:block /xsl:template !-- REGION-AFTER: tmpFooter TEMPLATE -- xsl:template name=tmpFooter fo:block padding=0pt !-- REGION-AFTER (Footer) CONTENT -- /fo:block /xsl:template !-- REGION-BODY: tmpBody TEMPLATE -- xsl:template name=tmpBody fo:block padding=0pt !-- REGION-BODY (Body) CONTENT -- xsl:call-template name=tmpBody/ /fo:block /xsl:template xsl:template name=tmpHeader fo:block padding=0pt fo:table border=0pt table-layout=fixed margin-top=4pt fo:table-column column-width=2cm/ fo:table-column column-width=2cm/ fo:table-column column-width=2cm/ fo:table-column column-width=2cm/ fo:table-column column-width=2cm/ fo:table-column column-width=2cm/ fo:table-column column-width=2cm/ fo:table-column column-width=2cm/ fo:table-body fo:table-row fo:table-cell padding=1pt fo:block keep-with-next.within-page=always font-weight=bold Patient /fo:block /fo:table-cell fo:table-cell padding=1pt fo:block keep-with-next.within-page=always Gina Latta /fo:block /fo:table-cell fo:table-cell padding=1pt fo:block keep-with-next.within-page=always font-weight=bold Age /fo:block /fo:table-cell fo:table-cell padding=1pt fo:block keep-with-next.within-page=always 60 /fo:block /fo:table-cell fo:table-cell padding=1pt fo:block keep-with-next.within-page=always font-weight=bold Sex /fo:block /fo:table-cell fo:table-cell padding=1pt fo:block keep-with-next.within-page=always Yes /fo:block /fo:table-cell fo:table-cell padding=1pt fo:block keep-with-next.within-page=always font-weight=bold Patient ID# /fo:block /fo:table-cell fo:table-cell padding=1pt fo:block keep-with-next.within-page=always /fo:block
initial-page-number; several page-sequences
Hello all, i'm producing two page-sequences, one for the table of contents and one for the main report. The toc page-sequence should be numbered by roman numbers like I, II and so on. fo:page-sequence master-reference=content language={$language} format=I The main report page-sequence should be numbered by numbers like 1, 2, 3 and so on. fo:page-sequence master-reference=content language={$language} format=1 initial-page-number=1 The problem now is that the toc page sequence always produces an empty second page which is not very useful ;-) This is my layout-master-set fo:layout-master-set fo:simple-page-master xsl:use-attribute-sets=page-dimension-a4 master-name=A4 fo:region-before xsl:use-attribute-sets=region-before-extent/ fo:region-body xsl:use-attribute-sets=region-body-vertical-margin/ fo:region-after xsl:use-attribute-sets=region-after-extent/ fo:region-start/ fo:region-end/ /fo:simple-page-master fo:page-sequence-master master-name=content fo:repeatable-page-master-reference master-reference=A4/ /fo:page-sequence-master /fo:layout-master-set Any help will be appreciated, thx in advance, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: initial-page-number; several page-sequences
Oh, shame on me, i should had checked the faq first. Thank you very much and a great weekend to all, Mark -Ursprüngliche Nachricht- Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 21. März 2003 11:56 An: [EMAIL PROTECTED] Betreff: Re: initial-page-number; several page-sequences FAQ: http://xml.apache.org/fop/faq.html#blank_page_between_page_sequences On 21.03.2003 11:49:49 Mark Baier wrote: i'm producing two page-sequences, one for the table of contents and one for the main report. The toc page-sequence should be numbered by roman numbers like I, II and so on. fo:page-sequence master-reference=content language={$language} format=I The main report page-sequence should be numbered by numbers like 1, 2, 3 and so on. fo:page-sequence master-reference=content language={$language} format=1 initial-page-number=1 The problem now is that the toc page sequence always produces an empty second page which is not very useful ;-) Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Unicode cmap table not present
Hi Gillian, your fonts are not in unicode format, so the font metrics could not be generated. I've encountered the same problem a few monts ago. Either you buy some cyrillic fonts which are in unicode format, or you use a font program to build up a unicode formatted font. greez, Mark -Ursprüngliche Nachricht- Von: Daniel, Gillian [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 20. März 2003 17:46 An: [EMAIL PROTECTED] Betreff: Unicode cmap table not present I am hoping that someone will have encountered this problem before. I am using fop version 0.20.5 and I am trying to create a metrics file for my cyrillic font using fop (following the instructions on the fop website) and I get the following error for most of my fonts. I would like to add though that I have managed to create two font metrics files, but I need additional cyrillic fonts, in normal, bold, italic and in bold italic. The error is Number of glyphs in font: 232 Unicode cmap table not present java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:483) at java.util.ArrayList.get(ArrayList.java:297) at org.apache.fop.fonts.TTFFile.createCMaps(TTFFile.java, Compiled Code) at org.apache.fop.fonts.TTFFile.readFont(TTFFile.java:389) at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:178) at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:140) If nobody has come accross this problem before, then perhaps someone could tell me where I could get some cyrillic fonts in normal, bold, italic and bold italic? I do not mind paying for them as they are a pretty important part of what I am doing. I hope you can help, Gillian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Réf. : tables
Hi, the attribute 'clip' is by not implemented by fop. You have to do it on the xslt stage by cutting the word on a specific number of characters. cheers, mark -Ursprüngliche Nachricht- Von: Myriam Delperier [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 18. März 2003 14:54 An: [EMAIL PROTECTED] Betreff: Re: Réf. : tables :-)) but i've made a mistake my question was how to cut a 'word'... when he's to big for the column size... - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 2:49 PM Subject: Réf. : tables Wanna put a cell between the North and the South of the world ? :P Just do like Georges, he is good at this. Cheers, Simon Myriam Delperier [EMAIL PROTECTED] 18/03/2003 12:46 Veuillez répondre à fop-user Pour : [EMAIL PROTECTED] cc : Objet : tables hello, does anyone know if it's possible tu cut a world in a table-cell? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Underlining words
Hi Scott, use following attribute text-decoration=underline border-... are not for inline blocks... greez, mark -Ursprüngliche Nachricht- Von: Scott Moore [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 6. März 2003 18:05 An: Fop User (E-mail) Betreff: Underlining words Is it possible to underline words in a paragraph? I tried using this with no results: you are under fo:inline font-weight=bold border-bottom-style=solid border-color=black border-width=1ptno obligation/fo:inline to do so no obligation is bold, but not underlined. I'm using FOP 0.20.4 Thanks for any help, Scott - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: TOC - page numbers not justified
Title: TOC - page numbers not justified Hi, i think putting your TOC into a table with two columns could solve the problem... Mark -Ursprüngliche Nachricht-Von: Afshartous, Nick [mailto:[EMAIL PROTECTED]Gesendet: Donnerstag, 27. Februar 2003 15:40An: '[EMAIL PROTECTED]'Betreff: TOC - page numbers not justified Hi, I'm trying to generate a table of contents using a fragment similar to the example in Ch 10 of Pawson's book xsl:for-each select="html:html/html:body/html:h1" fo:block text-align-last="justify" xsl:value-of select="."/ fo:inline fo:leader leader-pattern="dots"/ fo:page-number-citation ref-id="{.}"/ /fo:inline /fo:block /xsl:for-each The problem I'm seeing though is that the page numbers in the contents are sample.pdf not right justified (see attached). Thanks for any suggestions on how to resolve this. -- Nick