How to use xls:value-of as attribute
Hi, I am using barcode functionality from the Barjode4J project, this is what I have working so far: fo:block fo:instream-foreign-object barcode:barcode xmlns:barcode=http://barcode4j.krysalis.org/ns; message=message barcode:code128 barcode:height10mm/barcode:height barcode:human-readable barcode:placementnone/barcode:placement /barcode:human-readable /barcode:code128 /barcode:barcode /fo:instream-foreign-object /fo:block Instead of message I would like to generate a barcode from a XML-node. I have used the xsl:value-of select=node/ syntax for that, but I can not use this syntax in an attribut message=message. So how can I set attributes according to nodes from a XML-source? Thanks, Frank -- View this message in context: http://www.nabble.com/How-to-use-%3Cxls%3Avalue-of-as-attribute-tp20357000p20357000.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
force odd/even/new pages on demand
Hello, Maybe I'm missing something obvious or my design is really not the best, but I want to tell a page to be on a special side on demand. Basically I get a stream of content from somewhere and I wrap everything in nice fo:blocks and stuff and stream it into a fo:flow. Now and then I suddenly get a block which insists on being put on a new page, on a new right page or on a new left page. Now I guess I could create three page-sequence-masters, use the first one when a block requests to be put on any new page, the second one when a block requests to be put on a left page and the third one when a block requests to be put on a right page. But although I don't even know how to create the three page-sequence-masters, I feel there could be an easier way. But where? Regards, Georg Datterl -- Kontakt -- Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg HRB Nürnberg: 17193 Geschäftsführer: Yong-Harry Steiert Tel.: 0911/36 78 88 - 26 Fax: 0911/36 78 88 - 20 www.geneon.de Weitere Mitglieder der Willmy MediaGroup: IRS Integrated Realization Services GmbH:www.irs-nbg.de Willmy PrintMedia GmbH:www.willmy.de Willmy Consult Content GmbH: www.willmycc.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: How to use xls:value-of as attribute
For attributes you 'll need an attribute value template with curly braces: message={node} Instead of node you can use a parameter with $param or a variable $var too. HTH, Ingo -Ursprüngliche Nachricht- Von: Frank Niedermann [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 6. November 2008 09:37 An: fop-users@xmlgraphics.apache.org Betreff: How to use xls:value-of as attribute Hi, I am using barcode functionality from the Barjode4J project, this is what I have working so far: fo:block fo:instream-foreign-object barcode:barcode xmlns:barcode=http://barcode4j.krysalis.org/ns; message=message barcode:code128 barcode:height10mm/barcode:height barcode:human-readable barcode:placementnone/barcode:placement /barcode:human-readable /barcode:code128 /barcode:barcode /fo:instream-foreign-object /fo:block Instead of message I would like to generate a barcode from a XML-node. I have used the xsl:value-of select=node/ syntax for that, but I can not use this syntax in an attribut message=message. So how can I set attributes according to nodes from a XML-source? Thanks, Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: force odd/even/new pages on demand
Hi, What you need is the property initial-page-number (=auto-odd or =auto-even) set on your fo:page-sequence. That should help you. Pascal -Message d'origine- De : Georg Datterl [mailto:[EMAIL PROTECTED] Envoyé : jeudi 6 novembre 2008 10:42 Hello, Maybe I'm missing something obvious or my design is really not the best, but I want to tell a page to be on a special side on demand. Basically I get a stream of content from somewhere and I wrap everything in nice fo:blocks and stuff and stream it into a fo:flow. Now and then I suddenly get a block which insists on being put on a new page, on a new right page or on a new left page. Now I guess I could create three page-sequence-masters, use the first one when a block requests to be put on any new page, the second one when a block requests to be put on a left page and the third one when a block requests to be put on a right page. But although I don't even know how to create the three page-sequence-masters, I feel there could be an easier way. But where? Regards, Georg Datterl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: AW: force odd/even/new pages on demand
Hello Laurent, Georg Datterl a écrit : Hello Pascal, Yes, that seems to make the page-sequence-masters unnecessary. Thanks a lot. But I would still have to start a new page-sequence. Now if I could avoid that, too... may that link help ? (i didn't try) http://xmlgraphics.apache.org/fop/fo.html#fo-blank-pages Call me stupid, but it seems like fo:block break-before=page, fo:block break-before=even-page and fo:block break-before=odd-page could do exactly what I need. Thanks a lot. Regards, Georg Datterl -- Kontakt -- Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg HRB Nürnberg: 17193 Geschäftsführer: Yong-Harry Steiert Tel.: 0911/36 78 88 - 26 Fax: 0911/36 78 88 - 20 www.geneon.de Weitere Mitglieder der Willmy MediaGroup: IRS Integrated Realization Services GmbH:www.irs-nbg.de Willmy PrintMedia GmbH:www.willmy.de Willmy Consult Content GmbH: www.willmycc.de -Ursprüngliche Nachricht- Von: Laurent Morel [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 6. November 2008 14:46 An: fop-users@xmlgraphics.apache.org Betreff: Re: AW: force odd/even/new pages on demand Georg Datterl a écrit : Hello Pascal, What you need is the property initial-page-number (=auto-odd or =auto-even) set on your fo:page-sequence. That should help you. Yes, that seems to make the page-sequence-masters unnecessary. Thanks a lot. But I would still have to start a new page-sequence. Now if I could avoid that, too... may that link help ? (i didn't try) http://xmlgraphics.apache.org/fop/fo.html#fo-blank-pages - 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]
replacing PdfContentByte.addImage(flie.pdf)
Hello, Is there a way in Fop to include content from other pdf files? I have to replace iText with Fop and there is still one problem: iTexts PdfReader reads a source pdf, returns PdfImportedPage (for each page), wraps each pdf page in an Image and adds it to PdfContentByte via PdfContentByte.addImage(...). Basically I'd need the same result (source pdf in final pdf) but with fop instead of itext. I didn't even find a hint on whether this is possible or not. Any ideas somebody? Regards, Georg Datterl -- Kontakt -- Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg HRB Nürnberg: 17193 Geschäftsführer: Yong-Harry Steiert Tel.: 0911/36 78 88 - 26 Fax: 0911/36 78 88 - 20 www.geneon.de Weitere Mitglieder der Willmy MediaGroup: IRS Integrated Realization Services GmbH:www.irs-nbg.de Willmy PrintMedia GmbH:www.willmy.de Willmy Consult Content GmbH: www.willmycc.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: force odd/even/new pages on demand
Hello Pascal, What you need is the property initial-page-number (=auto-odd or =auto-even) set on your fo:page-sequence. That should help you. Yes, that seems to make the page-sequence-masters unnecessary. Thanks a lot. But I would still have to start a new page-sequence. Now if I could avoid that, too... Regards, Georg Datterl -- Kontakt -- Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg HRB Nürnberg: 17193 Geschäftsführer: Yong-Harry Steiert Tel.: 0911/36 78 88 - 26 Fax: 0911/36 78 88 - 20 www.geneon.de Weitere Mitglieder der Willmy MediaGroup: IRS Integrated Realization Services GmbH:www.irs-nbg.de Willmy PrintMedia GmbH:www.willmy.de Willmy Consult Content GmbH: www.willmycc.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Editable pdf
Dear All, I need to make pdf form to which client can add information or edit after its generated. I don't need to put this new information back to the database. Could you please help me to understand can I do it using FOP? Thank you very much. -- View this message in context: http://www.nabble.com/Editable-pdf-tp20361868p20361868.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: force odd/even/new pages on demand
Georg Datterl a écrit : Hello Pascal, What you need is the property initial-page-number (=auto-odd or =auto-even) set on your fo:page-sequence. That should help you. Yes, that seems to make the page-sequence-masters unnecessary. Thanks a lot. But I would still have to start a new page-sequence. Now if I could avoid that, too... may that link help ? (i didn't try) http://xmlgraphics.apache.org/fop/fo.html#fo-blank-pages - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]