Barcode generation with FOP 1.1
Hello, I am strugelling with barcode generation using barcode4j lib. Everything is fine with 0.95 but when I switch it to 1.1 I get error message (see below) and the pdf document is missing the barcode. Could someone help please? I've attached simple eclipse project where is my test. (import like Maven project). Thank you for help. Great Regards Martin LINK to project: https://dl.dropboxusercontent.com/u/41716864/barcode%20and%20fop.zip https://dl.dropboxusercontent.com/u/41716864/barcode%20and%20fop.zip LOG: SEVERE: Image not available. URI: (instream-object). Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for null (No context info available) org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for null at org.apache.xmlgraphics.image.loader.ImageManager.preloadImage(ImageManager.java:180) at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingDocument(AbstractIFPainter.java:296) at org.apache.fop.render.pdf.PDFPainter.drawImage(PDFPainter.java:203) at org.apache.fop.render.intermediate.IFRenderer.renderForeignObject(IFRenderer.java:1290) at org.apache.fop.render.AbstractRenderer.renderInlineViewport(AbstractRenderer.java:820) at org.apache.fop.render.AbstractPathOrientedRenderer.renderInlineViewport(AbstractPathOrientedRenderer.java:785) at org.apache.fop.render.intermediate.IFRenderer.renderInlineViewport(IFRenderer.java:866) at org.apache.fop.render.AbstractRenderer.renderInlineArea(AbstractRenderer.java:678) at org.apache.fop.render.intermediate.IFRenderer.renderInlineArea(IFRenderer.java:913) at org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:643) at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:561) at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:598) at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:980) at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:546) at org.apache.fop.render.AbstractRenderer.renderFlow(AbstractRenderer.java:451) at org.apache.fop.render.AbstractPathOrientedRenderer.renderFlow(AbstractPathOrientedRenderer.java:738) at org.apache.fop.render.AbstractRenderer.renderMainReference(AbstractRenderer.java:428) at org.apache.fop.render.AbstractRenderer.renderBodyRegion(AbstractRenderer.java:352) at org.apache.fop.render.AbstractRenderer.renderRegionViewport(AbstractRenderer.java:299) at org.apache.fop.render.intermediate.IFRenderer.renderRegionViewport(IFRenderer.java:748) at org.apache.fop.render.AbstractRenderer.renderPageAreas(AbstractRenderer.java:273) at org.apache.fop.render.AbstractRenderer.renderPage(AbstractRenderer.java:238) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:312) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:191) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:115) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:128) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:347) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:181) at org.apache.xml.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:262) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:707) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:177) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2202) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1276) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:673) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1192) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1170)
Embedding JavaScript in PDF
Hi, I'm looking for a sample for embedding JavaScript driven dialogs. Is it possible with FOP 1.1? Because I have seen that there are plans to do this. https://xmlgraphics.apache.org/fop/dev/design/extending.html Best Regards Markus
Re: Searching hyphenated variablenames in PDF (with Acrobat)
Hi, tried on same version but win, with same result as Luis. Same result with Firefox buitin reader: I get 1 occurrence for both search words 2015-01-14 23:11 GMT+01:00 Luis Bernardo lmpmberna...@gmail.com: There was only one file attached Also, I was not able to reproduce the issue (maybe because I don't understand what you describe) -- I used the Mac version of Adobe Reader 11.0.10. Can you clarify? What is the word you are searching for? On 1/14/15 6:26 PM, markus.sticker.e...@zf.com wrote: Hi, I wonder about the different behavior with these two files in the attachment. The part I’m dealing with looks nearly the same, but as I try to search or copy the text parts I get different results. At first I tried to seach the some words: Kraftfahrzeugsteuer à 1 hit Kraft_fahrzeugsteuer à 1 hit Jesuslatschenherstellerdachverbandsvorsitzender à 1 hit Jesus_latschenhersteller_dachverbandsvorsitzender à 0 hits So why does the last one do not work? Kind regards Markus Sticker -- pascal - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: AW: Searching hyphenated variablenames in PDF (with Acrobat)
Hello,I do not know if this is helpful, but i could only reproduce the issue with acrobat reader 11.0.10 on windows. When tried different reader (foxit) the word Jesus_latschenhersteller_dachverbandsvorsitzender was found.Thanasis . From: markus.sticker.e...@zf.com To: fop-users@xmlgraphics.apache.org Subject: AW: Searching hyphenated variablenames in PDF (with Acrobat) Date: Thu, 15 Jan 2015 09:16:29 + Hi, sorry, but the second files was demaged. For a better understanding what I want to do I did a screen capture: https://www.youtube.com/watch?v=3kjofqFxx7o Maybe that will help. Best regards Markus -Ursprüngliche Nachricht- Von: Pascal Sancho [mailto:psancho@gmail.com] Gesendet: Donnerstag, 15. Januar 2015 09:21 An: fop-users@xmlgraphics.apache.org Betreff: Re: Searching hyphenated variablenames in PDF (with Acrobat) Hi, tried on same version but win, with same result as Luis. Same result with Firefox buitin reader: I get 1 occurrence for both search words 2015-01-14 23:11 GMT+01:00 Luis Bernardo lmpmberna...@gmail.com: There was only one file attached Also, I was not able to reproduce the issue (maybe because I don't understand what you describe) -- I used the Mac version of Adobe Reader 11.0.10. Can you clarify? What is the word you are searching for? On 1/14/15 6:26 PM, markus.sticker.e...@zf.com wrote: Hi, I wonder about the different behavior with these two files in the attachment. The part I’m dealing with looks nearly the same, but as I try to search or copy the text parts I get different results. At first I tried to seach the some words: Kraftfahrzeugsteuer à 1 hit Kraft_fahrzeugsteuer à 1 hit Jesuslatschenherstellerdachverbandsvorsitzender à 1 hit Jesus_latschenhersteller_dachverbandsvorsitzender à 0 hits So why does the last one do not work? Kind regards Markus Sticker -- pascal - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org B�CB��[��X��ܚX�KK[XZ[��� ]\�\��][��X��ܚX�P[ܘ\X�˘\X�K�ܙ�B��܈Y][ۘ[��[X[��K[XZ[��� ]\�\��Z[[ܘ\X�˘\X�K�ܙ�B�
RE: AW: AW: Searching hyphenated variablenames in PDF (with Acrobat)
My findings were based on the pdf file that Markus provided on his original post. Thanasis From: markus.sticker.e...@zf.com To: fop-users@xmlgraphics.apache.org Subject: AW: AW: Searching hyphenated variablenames in PDF (with Acrobat) Date: Thu, 15 Jan 2015 09:51:37 + You tried the sample I send yesterday? Von: A Gian [mailto:a.yan...@hotmail.com] Gesendet: Donnerstag, 15. Januar 2015 10:35 An: fop-users@xmlgraphics.apache.org Betreff: RE: AW: Searching hyphenated variablenames in PDF (with Acrobat) Hello, I do not know if this is helpful, but i could only reproduce the issue with acrobat reader 11.0.10 on windows. When tried different reader (foxit) the word Jesus_latschenhersteller_dachverbandsvorsitzender was found. Thanasis . From: markus.sticker.e...@zf.com To: fop-users@xmlgraphics.apache.org Subject: AW: Searching hyphenated variablenames in PDF (with Acrobat) Date: Thu, 15 Jan 2015 09:16:29 + Hi, sorry, but the second files was demaged. For a better understanding what I want to do I did a screen capture: https://www.youtube.com/watch?v=3kjofqFxx7o Maybe that will help. Best regards Markus -Ursprüngliche Nachricht- Von: Pascal Sancho [mailto:psancho@gmail.com] Gesendet: Donnerstag, 15. Januar 2015 09:21 An: fop-users@xmlgraphics.apache.org Betreff: Re: Searching hyphenated variablenames in PDF (with Acrobat) Hi, tried on same version but win, with same result as Luis. Same result with Firefox buitin reader: I get 1 occurrence for both search words 2015-01-14 23:11 GMT+01:00 Luis Bernardo lmpmberna...@gmail.com: There was only one file attached Also, I was not able to reproduce the issue (maybe because I don't understand what you describe) -- I used the Mac version of Adobe Reader 11.0.10. Can you clarify? What is the word you are searching for? On 1/14/15 6:26 PM, markus.sticker.e...@zf.com wrote: Hi, I wonder about the different behavior with these two files in the attachment. The part I’m dealing with looks nearly the same, but as I try to search or copy the text parts I get different results. At first I tried to seach the some words: Kraftfahrzeugsteuer à 1 hit Kraft_fahrzeugsteuer à 1 hit Jesuslatschenherstellerdachverbandsvorsitzender à 1 hit Jesus_latschenhersteller_dachverbandsvorsitzender à 0 hits So why does the last one do not work? Kind regards Markus Sticker -- pascal - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org B�CB��[��X��ܚX�KK[XZ[ ��� ]\�\��][��X��ܚX�P‑[ܘ\X�˘\X�K�ܙ�B��܈Y][ۘ[��[X[��K[XZ[ ��� ]\�\��Z[‑[ܘ\X�˘\X�K�ܙ�B�
AW: AW: Searching hyphenated variablenames in PDF (with Acrobat)
You tried the sample I send yesterday? Von: A Gian [mailto:a.yan...@hotmail.com] Gesendet: Donnerstag, 15. Januar 2015 10:35 An: fop-users@xmlgraphics.apache.org Betreff: RE: AW: Searching hyphenated variablenames in PDF (with Acrobat) Hello, I do not know if this is helpful, but i could only reproduce the issue with acrobat reader 11.0.10 on windows. When tried different reader (foxit) the word Jesus_latschenhersteller_dachverbandsvorsitzender was found. Thanasis . From: markus.sticker.e...@zf.commailto:markus.sticker.e...@zf.com To: fop-users@xmlgraphics.apache.orgmailto:fop-users@xmlgraphics.apache.org Subject: AW: Searching hyphenated variablenames in PDF (with Acrobat) Date: Thu, 15 Jan 2015 09:16:29 + Hi, sorry, but the second files was demaged. For a better understanding what I want to do I did a screen capture: https://www.youtube.com/watch?v=3kjofqFxx7o Maybe that will help. Best regards Markus -Ursprüngliche Nachricht- Von: Pascal Sancho [mailto:psancho@gmail.com] Gesendet: Donnerstag, 15. Januar 2015 09:21 An: fop-users@xmlgraphics.apache.orgmailto:fop-users@xmlgraphics.apache.org Betreff: Re: Searching hyphenated variablenames in PDF (with Acrobat) Hi, tried on same version but win, with same result as Luis. Same result with Firefox buitin reader: I get 1 occurrence for both search words 2015-01-14 23:11 GMT+01:00 Luis Bernardo lmpmberna...@gmail.commailto:lmpmberna...@gmail.com: There was only one file attached Also, I was not able to reproduce the issue (maybe because I don't understand what you describe) -- I used the Mac version of Adobe Reader 11.0.10. Can you clarify? What is the word you are searching for? On 1/14/15 6:26 PM, markus.sticker.e...@zf.commailto:markus.sticker.e...@zf.com wrote: Hi, I wonder about the different behavior with these two files in the attachment. The part I’m dealing with looks nearly the same, but as I try to search or copy the text parts I get different results. At first I tried to seach the some words: Kraftfahrzeugsteuer à 1 hit Kraft_fahrzeugsteuer à 1 hit Jesuslatschenherstellerdachverbandsvorsitzender à 1 hit Jesus_latschenhersteller_dachverbandsvorsitzender à 0 hits So why does the last one do not work? Kind regards Markus Sticker -- pascal - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.orgmailto:fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.orgmailto:fop-users-h...@xmlgraphics.apache.org B�CB��[��X��ܚX�KK[XZ[ ��� ]\�\��][��X��ܚX�P‑[ܘ\X�˘\X�K�ܙ�B��܈Y][ۘ[��[X[��K[XZ[ ��� ]\�\��Z[‑[ܘ\X�˘\X�K�ܙ�B�
AW: Searching hyphenated variablenames in PDF (with Acrobat)
Hi, sorry, but the second files was demaged. For a better understanding what I want to do I did a screen capture: https://www.youtube.com/watch?v=3kjofqFxx7o Maybe that will help. Best regards Markus -Ursprüngliche Nachricht- Von: Pascal Sancho [mailto:psancho@gmail.com] Gesendet: Donnerstag, 15. Januar 2015 09:21 An: fop-users@xmlgraphics.apache.org Betreff: Re: Searching hyphenated variablenames in PDF (with Acrobat) Hi, tried on same version but win, with same result as Luis. Same result with Firefox buitin reader: I get 1 occurrence for both search words 2015-01-14 23:11 GMT+01:00 Luis Bernardo lmpmberna...@gmail.com: There was only one file attached Also, I was not able to reproduce the issue (maybe because I don't understand what you describe) -- I used the Mac version of Adobe Reader 11.0.10. Can you clarify? What is the word you are searching for? On 1/14/15 6:26 PM, markus.sticker.e...@zf.com wrote: Hi, I wonder about the different behavior with these two files in the attachment. The part I’m dealing with looks nearly the same, but as I try to search or copy the text parts I get different results. At first I tried to seach the some words: Kraftfahrzeugsteuer à 1 hit Kraft_fahrzeugsteuer à 1 hit Jesuslatschenherstellerdachverbandsvorsitzender à 1 hit Jesus_latschenhersteller_dachverbandsvorsitzender à 0 hits So why does the last one do not work? Kind regards Markus Sticker -- pascal - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: AW: AW: Searching hyphenated variablenames in PDF (with Acrobat)
Hi, reading back the post, I confirm what said Thanasis: only reproductible on adobe for win, either english or french language, Firefox buildin reader working as expected. 2015-01-15 11:06 GMT+01:00 A Gian a.yan...@hotmail.com: My findings were based on the pdf file that Markus provided on his original post. Thanasis From: markus.sticker.e...@zf.com To: fop-users@xmlgraphics.apache.org Subject: AW: AW: Searching hyphenated variablenames in PDF (with Acrobat) Date: Thu, 15 Jan 2015 09:51:37 + You tried the sample I send yesterday? Von: A Gian [mailto:a.yan...@hotmail.com] Gesendet: Donnerstag, 15. Januar 2015 10:35 An: fop-users@xmlgraphics.apache.org Betreff: RE: AW: Searching hyphenated variablenames in PDF (with Acrobat) Hello, I do not know if this is helpful, but i could only reproduce the issue with acrobat reader 11.0.10 on windows. When tried different reader (foxit) the word Jesus_latschenhersteller_dachverbandsvorsitzender was found. Thanasis . From: markus.sticker.e...@zf.com To: fop-users@xmlgraphics.apache.org Subject: AW: Searching hyphenated variablenames in PDF (with Acrobat) Date: Thu, 15 Jan 2015 09:16:29 + Hi, sorry, but the second files was demaged. For a better understanding what I want to do I did a screen capture: https://www.youtube.com/watch?v=3kjofqFxx7o Maybe that will help. Best regards Markus -Ursprüngliche Nachricht- Von: Pascal Sancho [mailto:psancho@gmail.com] Gesendet: Donnerstag, 15. Januar 2015 09:21 An: fop-users@xmlgraphics.apache.org Betreff: Re: Searching hyphenated variablenames in PDF (with Acrobat) Hi, tried on same version but win, with same result as Luis. Same result with Firefox buitin reader: I get 1 occurrence for both search words 2015-01-14 23:11 GMT+01:00 Luis Bernardo lmpmberna...@gmail.com: There was only one file attached Also, I was not able to reproduce the issue (maybe because I don't understand what you describe) -- I used the Mac version of Adobe Reader 11.0.10. Can you clarify? What is the word you are searching for? On 1/14/15 6:26 PM, markus.sticker.e...@zf.com wrote: Hi, I wonder about the different behavior with these two files in the attachment. The part I’m dealing with looks nearly the same, but as I try to search or copy the text parts I get different results. At first I tried to seach the some words: Kraftfahrzeugsteuer à 1 hit Kraft_fahrzeugsteuer à 1 hit Jesuslatschenherstellerdachverbandsvorsitzender à 1 hit Jesus_latschenhersteller_dachverbandsvorsitzender à 0 hits So why does the last one do not work? Kind regards Markus Sticker -- pascal - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org B�CB��[��X��ܚX�KK[XZ[ ��� ]\�\��][��X��ܚX�P‑[ܘ\X�˘\X�K�ܙ�B��܈Y][ۘ[��[X[� �K[XZ[ ��� ]\�\��Z[ ‑[ܘ\X�˘\X�K�ܙ�B� -- pascal - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org