DataMatrix Barcode in PDFs with FOP
Hello FOP-Users, I need to include DataMatrix Codes in PDFs and I wonder if someone has experience with this. Do you know any libraries that provide this feature? Barcode4J only supports 1D-Barcodes, DataMatrix is a 2D-Barcode. Thanks, Alexander. Alexander Schwartz PLUS Finanzservice GmbH Otto-von-Guericke-Ring 15 65205 Wiesbaden T.: 06122 - 999 906 F.: 06122 - 999 44906 [EMAIL PROTECTED] -- Confidentiality: This e-mail and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this e-mail and highlight the error. Security Warning: Please note that this e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. We advise that you understand and observe this lack of security when e-mailing us. Viruses: Although we have taken steps to ensure that this e-mail and its attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. --
Re: DataMatrix Barcode in PDFs with FOP
There are several commercial tools out there (Google is your friend) which implement DataMatrix, but you'd have to integrate them into FOP yourself. http://idautomation.com/java/ is probably the first address for a commercial tool. DataMatrix is very high on the task list for Barcode4J but it is non-trivial to implement. I assume that I'll start the implementation later this year. I don't mind some additional motivation for that task, though. :-) On 21.10.2005 10:30:54 Alexander Schwartz wrote: Hello FOP-Users, I need to include DataMatrix Codes in PDFs and I wonder if someone has experience with this. Do you know any libraries that provide this feature? Barcode4J only supports 1D-Barcodes, DataMatrix is a 2D-Barcode. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problems with overlapping regions
Hello FOP List, i have a problem with overlapping regions. I have content of the region-body that overlapps content from region-after. You can see it on the screenshot: http://www.emedia-office.de/fop/overlapping.png i have defined my page as follows: fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=First-Page page-height=29.7cm page-width=21cm fo:region-body margin-left=2cm margin-right=1.5cm margin-top=1cm margin-bottom=2.5cm / fo:region-start extent=2cm/ fo:region-end extent=1.5cm/ fo:region-after extent=2.0cm/ /fo:simple-page-master fo:simple-page-master master-name=Following-Pages page-height=29.7cm page-width=21cm margin-left=2cm margin-right=1.5cm fo:region-body extent=24.7cm margin-top=3.5cm margin-bottom=2.5cm background-color=rgb(0,255,0) / fo:region-before extent=3.5cm/ fo:region-after extent=2.5cm/ /fo:simple-page-master fo:page-sequence-master master-name=rotex-offer fo:single-page-master-reference master-reference=First-Page/ fo:repeatable-page-master-reference master-reference=Following-Pages / /fo:page-sequence-master /fo:layout-master-set fo:page-sequence master-reference=rotex-offer fo:static-content flow-name=xsl-region-after fo:block space-before=1cm fo:table width=100% table-layout=fixed fo:table-column / fo:table-body fo:table-row fo:table-cell border-top=1px #00 solid fo:block text-align=right font-size=8pt padding-top=0.1cm fo:page-number/ / fo:page-number-citation ref-id=terminator/ /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table /fo:block /fo:static-content !-- Body -- fo:flow flow-name=xsl-region-body fo:block font-size=9pt xsl:apply-templates select=Offer_letter/ /fo:block fo:block id=terminator / /fo:flow /fo:page-sequence /fo:root Any ideas whats going wrong? best reagards Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems with overlapping regions
The only weird thing I can see here is the extent property on the second region-body. This property doesn't apply to region-body. BTW, it would be much more fun to reproduce your problem if you posted a complete FO file and stated the FOP version you are using. :-) On 21.10.2005 13:47:56 Timo Haberkern wrote: Hello FOP List, i have a problem with overlapping regions. I have content of the region-body that overlapps content from region-after. You can see it on the screenshot: http://www.emedia-office.de/fop/overlapping.png i have defined my page as follows: fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=First-Page page-height=29.7cm page-width=21cm fo:region-body margin-left=2cm margin-right=1.5cm margin-top=1cm margin-bottom=2.5cm / fo:region-start extent=2cm/ fo:region-end extent=1.5cm/ fo:region-after extent=2.0cm/ /fo:simple-page-master fo:simple-page-master master-name=Following-Pages page-height=29.7cm page-width=21cm margin-left=2cm margin-right=1.5cm fo:region-body extent=24.7cm margin-top=3.5cm margin-bottom=2.5cm background-color=rgb(0,255,0) / fo:region-before extent=3.5cm/ fo:region-after extent=2.5cm/ /fo:simple-page-master fo:page-sequence-master master-name=rotex-offer fo:single-page-master-reference master-reference=First-Page/ fo:repeatable-page-master-reference master-reference=Following-Pages / /fo:page-sequence-master /fo:layout-master-set fo:page-sequence master-reference=rotex-offer fo:static-content flow-name=xsl-region-after fo:block space-before=1cm fo:table width=100% table-layout=fixed fo:table-column / fo:table-body fo:table-row fo:table-cell border-top=1px #00 solid fo:block text-align=right font-size=8pt padding-top=0.1cm fo:page-number/ / fo:page-number-citation ref-id=terminator/ /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table /fo:block /fo:static-content !-- Body -- fo:flow flow-name=xsl-region-body fo:block font-size=9pt xsl:apply-templates select=Offer_letter/ /fo:block fo:block id=terminator / /fo:flow /fo:page-sequence /fo:root Any ideas whats going wrong? best reagards Timo Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Hello
Helo there, I´m using fop under a linux-debian box. I´ve been trying to get the trunk version of fop, from here: http://cvs.apache.org/snapshots/fop/ I´ve set up ant, and the last version of java sdk/jre. I´ve donwloaded the last two versions by now, which are: fop_20051021104642.tar.gz fop_20051021043611.tar.gz But when I build them up and try to use them, I get an error like this, more or less: No element mapping definition found for fox:outline I think (in my ignorance), this could be either because automatic-snapshots are not always working-products, or because I´m doing something wrong, although build-process seems to finish ok. Why I´m looking for a newer version than 0.20.5 is because I can use background-image, and some other properties seem to be already implemented, as seen here: http://xmlgraphics.apache.org/fop/compliance.html#fo-object-section Any comments are welcome. Kind Regards, __ Renovamos el Correo Yahoo! Nuevos servicios, más seguridad http://correo.yahoo.es - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with fox:outline in FOP Trunk (was: Hello)
The snapshots are currently broken due to long path names. But that's not the problem you're experiencing. The problem is that fox:outline [1] is not implemented in FOP Trunk anymore. It has been superseded by the new bookmark elements from XSL-FO 1.1 [2]. I wonder if we should add fox:outline again for backwards compatibility. Hmm. A little request: Please put a descriptive text in the subject line next time. Thanks. [1] http://xmlgraphics.apache.org/fop/extensions.html#bookmarks [2] http://www.w3.org/TR/xsl11/#d0e14085 On 21.10.2005 16:43:37 a b wrote: Helo there, I´m using fop under a linux-debian box. I´ve been trying to get the trunk version of fop, from here: http://cvs.apache.org/snapshots/fop/ I´ve set up ant, and the last version of java sdk/jre. I´ve donwloaded the last two versions by now, which are: fop_20051021104642.tar.gz fop_20051021043611.tar.gz But when I build them up and try to use them, I get an error like this, more or less: No element mapping definition found for fox:outline I think (in my ignorance), this could be either because automatic-snapshots are not always working-products, or because I´m doing something wrong, although build-process seems to finish ok. Why I´m looking for a newer version than 0.20.5 is because I can use background-image, and some other properties seem to be already implemented, as seen here: http://xmlgraphics.apache.org/fop/compliance.html#fo-object-section Any comments are welcome. Kind Regards, Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with fox:outline in FOP Trunk (was: Hello)
Hello again, Sorry about that, and thanks very much to both of you for your replies. I din´t say I´m using dockbook, together with xlstproc and fop. I´m just a newbie with all of this, but after your replies, I´ve managed to correct docbook-xsl sources to handle properly fo:bookmark-tree and it´s descendants. Now I´m getting another error wich has got something to do fo:static content asking for one or more block entries. I mean, what to do If I´d like to use fop´s latest snapshot + docbook as a tool-chain? Anywhere form where to get info about this specific issue? Also, Jeremias said the actual snapshot is broken due to long path names in this case, where can I find info on whether the actual snapshot is actually broken or not (and where), so I sync of all this and handle it and work always with latest versions? Kind Regards, --- Jeremias Maerki [EMAIL PROTECTED] escribió: The snapshots are currently broken due to long path names. But that's not the problem you're experiencing. The problem is that fox:outline [1] is not implemented in FOP Trunk anymore. It has been superseded by the new bookmark elements from XSL-FO 1.1 [2]. I wonder if we should add fox:outline again for backwards compatibility. Hmm. A little request: Please put a descriptive text in the subject line next time. Thanks. [1] http://xmlgraphics.apache.org/fop/extensions.html#bookmarks [2] http://www.w3.org/TR/xsl11/#d0e14085 On 21.10.2005 16:43:37 a b wrote: Helo there, I´m using fop under a linux-debian box. I´ve been trying to get the trunk version of fop, from here: http://cvs.apache.org/snapshots/fop/ I´ve set up ant, and the last version of java sdk/jre. I´ve donwloaded the last two versions by now, which are: fop_20051021104642.tar.gz fop_20051021043611.tar.gz But when I build them up and try to use them, I get an error like this, more or less: No element mapping definition found for fox:outline I think (in my ignorance), this could be either because automatic-snapshots are not always working-products, or because I´m doing something wrong, although build-process seems to finish ok. Why I´m looking for a newer version than 0.20.5 is because I can use background-image, and some other properties seem to be already implemented, as seen here: http://xmlgraphics.apache.org/fop/compliance.html#fo-object-section Any comments are welcome. Kind Regards, Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Renovamos el Correo Yahoo! Nuevos servicios, más seguridad http://correo.yahoo.es - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with fox:outline in FOP Trunk (was: Hello)
On 21.10.2005 18:11:17 a b wrote: Hello again, Sorry about that, and thanks very much to both of you for your replies. I din´t say I´m using dockbook, together with xlstproc and fop. I´m just a newbie with all of this, but after your replies, I´ve managed to correct docbook-xsl sources to handle properly fo:bookmark-tree and it´s descendants. Now I´m getting another error wich has got something to do fo:static content asking for one or more block entries. I mean, what to do If I´d like to use fop´s latest snapshot + docbook as a tool-chain? Anywhere form where to get info about this specific issue? XSL 1.0, 6.4.19, fo:static-content says: http://www.w3.org/TR/xsl/slice6.html#fo_static-content Contents: (%block;)+ So you must at least have one block as a child for fo:static-content (It can be empty). The redesigned FOP is much more strict about the interpretation of the specification. Also, Jeremias said the actual snapshot is broken due to long path names in this case, where can I find info on whether the actual snapshot is actually broken or not (and where), so I sync of all this and handle it and work always with latest versions? There's no direct info that they are broken, but we removed the links to the snapshots. We will reenable the link when the snapshot production is fixed. Until then we recommend that you download the sources using Subversion. Kind Regards, --- Jeremias Maerki [EMAIL PROTECTED] escribió: The snapshots are currently broken due to long path names. But that's not the problem you're experiencing. The problem is that fox:outline [1] is not implemented in FOP Trunk anymore. It has been superseded by the new bookmark elements from XSL-FO 1.1 [2]. I wonder if we should add fox:outline again for backwards compatibility. Hmm. A little request: Please put a descriptive text in the subject line next time. Thanks. [1] http://xmlgraphics.apache.org/fop/extensions.html#bookmarks [2] http://www.w3.org/TR/xsl11/#d0e14085 On 21.10.2005 16:43:37 a b wrote: Helo there, I´m using fop under a linux-debian box. I´ve been trying to get the trunk version of fop, from here: http://cvs.apache.org/snapshots/fop/ I´ve set up ant, and the last version of java sdk/jre. I´ve donwloaded the last two versions by now, which are: fop_20051021104642.tar.gz fop_20051021043611.tar.gz But when I build them up and try to use them, I get an error like this, more or less: No element mapping definition found for fox:outline I think (in my ignorance), this could be either because automatic-snapshots are not always working-products, or because I´m doing something wrong, although build-process seems to finish ok. Why I´m looking for a newer version than 0.20.5 is because I can use background-image, and some other properties seem to be already implemented, as seen here: http://xmlgraphics.apache.org/fop/compliance.html#fo-object-section Any comments are welcome. Kind Regards, Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Renovamos el Correo Yahoo! Nuevos servicios, más seguridad http://correo.yahoo.es - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with fox:outline in FOP Trunk (was: Hello)
Jeremias Maerki wrote: XSL 1.0, 6.4.19, fo:static-content says: http://www.w3.org/TR/xsl/slice6.html#fo_static-content Contents: (%block;)+ So you must at least have one block as a child for fo:static-content (It can be empty). The redesigned FOP is much more strict about the interpretation of the specification. The reason why XSL is strict about this is to guard against XSLT errors--i.e., a erroneously un-activated XSLT template causing your fo:static-content element to be empty on (say) page 240, and you not knowing that because your XSL processor silently kept running (or just giving a warning message among several screens of other output.) By halting, it allows you to go back and fix the template error instead of submitting an erroneously built document to someone else. Glen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Image - Scale Width/Height
Can someone have a box (eg: table cell) set to a specific height and width and say to have an image scale to the size of that box?? If images are taller than the height, then scale by height. But if images are wider than the widths, then scale by width. But if both height and width are higher, then scale it such that the image fits in the box but still maintains its aspect ratio. Thank you. Prakas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Image - Scale Width/Height
Prakash R wrote: Can someone have a “box” (eg: table cell) set to a specific height and width and say to have an image scale to the size of that box?? In principle, yes. Unfortunately, FOP 0.20.5 doesn't implement height properly, which may lead to an increased height of the table row. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]