Re: Status of remaining PDFBox 3.0.0 tickets
Hi, Am Donnerstag, dem 14.01.2021 um 08:10 +0100 schrieb Andreas Lehmkuehler: > Hi, > > there are just a handful of open tickets left aiming our upcoming > 3.0.0 release > [1]. It looks like all of them had some progress but I'm unable to > decide if > they are done or not. > > Is there any chance to update their status? Possible TODOs could be > postpone by > creating new tickets. > > @Maruan, @Tilman > Can you have a look at the acroform/signing tickets, please? The AcroForm related I've done - for the signing ones I can't comment. > > I tend to resolve [2] and create a new ticket for the remaining TODOs > (mostly > refactoring) > > I guess the migration guide won't be complete until we release the > final version. this is an ongoing effort. I expect work to continue after releasing the final version in order to incorporate users feedback. BR Maruan > > Andreas > > [1] https://s.apache.org/bhq1e > [2] https://issues.apache.org/jira/browse/PDFBOX-4952 > > - > To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org > For additional commands, e-mail: dev-h...@pdfbox.apache.org > -- -- Maruan Sahyoun - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Resolved] (PDFBOX-5060) AcroForm PDTextField formatting lost when setting value
[ https://issues.apache.org/jira/browse/PDFBOX-5060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maruan Sahyoun resolved PDFBOX-5060. Resolution: Fixed fixed; [~l.berteau] thank you for spotting that > AcroForm PDTextField formatting lost when setting value > --- > > Key: PDFBOX-5060 > URL: https://issues.apache.org/jira/browse/PDFBOX-5060 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.22 >Reporter: Laurent BERTEAU >Assignee: Maruan Sahyoun >Priority: Major > Labels: AcroForm, Appearance > Fix For: 2.0.23, 3.0.0 PDFBox > > > Formatted value of a form text field with assigned format action is lost in > org.apache.pdfbox.pdmodel.interactive.form.AppearanceGeneratorHelper.setAppearanceValue(String > apValue) method. > Formatted value is processed with first method line : > {{value = getFormattedValue(apValue);}} > > But then if the field is of PDTextFieldType, formatted value stored in > this.value is replaced with : > {{value = apValue.replaceAll}} > Shoud instead be : > {{value = value.replaceAll}} > to preserve previously processed formatted value. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-5060) AcroForm PDTextField formatting lost when setting value
[ https://issues.apache.org/jira/browse/PDFBOX-5060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264670#comment-17264670 ] ASF subversion and git services commented on PDFBOX-5060: - Commit 1885473 from Maruan Sahyoun in branch 'pdfbox/trunk' [ https://svn.apache.org/r1885473 ] PDFBOX-5060: use formatted value for line replacement as suggested by Laurent Berteau > AcroForm PDTextField formatting lost when setting value > --- > > Key: PDFBOX-5060 > URL: https://issues.apache.org/jira/browse/PDFBOX-5060 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.22 >Reporter: Laurent BERTEAU >Assignee: Maruan Sahyoun >Priority: Major > Labels: AcroForm, Appearance > Fix For: 2.0.23, 3.0.0 PDFBox > > > Formatted value of a form text field with assigned format action is lost in > org.apache.pdfbox.pdmodel.interactive.form.AppearanceGeneratorHelper.setAppearanceValue(String > apValue) method. > Formatted value is processed with first method line : > {{value = getFormattedValue(apValue);}} > > But then if the field is of PDTextFieldType, formatted value stored in > this.value is replaced with : > {{value = apValue.replaceAll}} > Shoud instead be : > {{value = value.replaceAll}} > to preserve previously processed formatted value. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-5060) AcroForm PDTextField formatting lost when setting value
[ https://issues.apache.org/jira/browse/PDFBOX-5060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264669#comment-17264669 ] ASF subversion and git services commented on PDFBOX-5060: - Commit 1885472 from Maruan Sahyoun in branch 'pdfbox/branches/2.0' [ https://svn.apache.org/r1885472 ] PDFBOX-5060: use formatted value for line replacement as suggested by Laurent Berteau > AcroForm PDTextField formatting lost when setting value > --- > > Key: PDFBOX-5060 > URL: https://issues.apache.org/jira/browse/PDFBOX-5060 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.22 >Reporter: Laurent BERTEAU >Assignee: Maruan Sahyoun >Priority: Major > Labels: AcroForm, Appearance > Fix For: 2.0.23, 3.0.0 PDFBox > > > Formatted value of a form text field with assigned format action is lost in > org.apache.pdfbox.pdmodel.interactive.form.AppearanceGeneratorHelper.setAppearanceValue(String > apValue) method. > Formatted value is processed with first method line : > {{value = getFormattedValue(apValue);}} > > But then if the field is of PDTextFieldType, formatted value stored in > this.value is replaced with : > {{value = apValue.replaceAll}} > Shoud instead be : > {{value = value.replaceAll}} > to preserve previously processed formatted value. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Assigned] (PDFBOX-5060) AcroForm PDTextField formatting lost when setting value
[ https://issues.apache.org/jira/browse/PDFBOX-5060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maruan Sahyoun reassigned PDFBOX-5060: -- Assignee: Maruan Sahyoun > AcroForm PDTextField formatting lost when setting value > --- > > Key: PDFBOX-5060 > URL: https://issues.apache.org/jira/browse/PDFBOX-5060 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.22 >Reporter: Laurent BERTEAU >Assignee: Maruan Sahyoun >Priority: Major > Labels: AcroForm, Appearance > Fix For: 2.0.23, 3.0.0 PDFBox > > > Formatted value of a form text field with assigned format action is lost in > org.apache.pdfbox.pdmodel.interactive.form.AppearanceGeneratorHelper.setAppearanceValue(String > apValue) method. > Formatted value is processed with first method line : > {{value = getFormattedValue(apValue);}} > > But then if the field is of PDTextFieldType, formatted value stored in > this.value is replaced with : > {{value = apValue.replaceAll}} > Shoud instead be : > {{value = value.replaceAll}} > to preserve previously processed formatted value. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Comment Edited] (PDFBOX-5078) How to Split A PDF Page vertically into 2 Pieces via PDFBOX
[ https://issues.apache.org/jira/browse/PDFBOX-5078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264659#comment-17264659 ] Tilman Hausherr edited comment on PDFBOX-5078 at 1/14/21, 7:26 AM: --- Please attach the PDF input file, and the modified code that you used. was (Author: tilman): Please attach the PDF input file > How to Split A PDF Page vertically into 2 Pieces via PDFBOX > --- > > Key: PDFBOX-5078 > URL: https://issues.apache.org/jira/browse/PDFBOX-5078 > Project: PDFBox > Issue Type: Bug >Reporter: Joseph >Priority: Major > > We can able to convert A4 PDF to Booklet PDF via PrintDF open source > ([https://github.com/Raudius/PrintDF/blob/master/src/us/raudi/printdf/PrintDF.java)] > However not able to convert Booklet to A4 i.e that is cutting vertically of a > Booklet PDF page and resequence all the pages. > 1st problem is not sure how to cut veritically each and every PDF page and > save as 2 separate PDF page or file > 2nd re-sequence of the booklet to proper sequence as 1, 2, 3, 4, 5 by first > identifying the actual book sequence > (http://www.boooks.org/index.php?page=21&lng=1) -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-5078) How to Split A PDF Page vertically into 2 Pieces via PDFBOX
[ https://issues.apache.org/jira/browse/PDFBOX-5078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264659#comment-17264659 ] Tilman Hausherr commented on PDFBOX-5078: - Please attach the file > How to Split A PDF Page vertically into 2 Pieces via PDFBOX > --- > > Key: PDFBOX-5078 > URL: https://issues.apache.org/jira/browse/PDFBOX-5078 > Project: PDFBox > Issue Type: Bug >Reporter: Joseph >Priority: Major > > We can able to convert A4 PDF to Booklet PDF via PrintDF open source > ([https://github.com/Raudius/PrintDF/blob/master/src/us/raudi/printdf/PrintDF.java)] > However not able to convert Booklet to A4 i.e that is cutting vertically of a > Booklet PDF page and resequence all the pages. > 1st problem is not sure how to cut veritically each and every PDF page and > save as 2 separate PDF page or file > 2nd re-sequence of the booklet to proper sequence as 1, 2, 3, 4, 5 by first > identifying the actual book sequence > (http://www.boooks.org/index.php?page=21&lng=1) -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Comment Edited] (PDFBOX-5078) How to Split A PDF Page vertically into 2 Pieces via PDFBOX
[ https://issues.apache.org/jira/browse/PDFBOX-5078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264659#comment-17264659 ] Tilman Hausherr edited comment on PDFBOX-5078 at 1/14/21, 7:25 AM: --- Please attach the PDF input file was (Author: tilman): Please attach the file > How to Split A PDF Page vertically into 2 Pieces via PDFBOX > --- > > Key: PDFBOX-5078 > URL: https://issues.apache.org/jira/browse/PDFBOX-5078 > Project: PDFBox > Issue Type: Bug >Reporter: Joseph >Priority: Major > > We can able to convert A4 PDF to Booklet PDF via PrintDF open source > ([https://github.com/Raudius/PrintDF/blob/master/src/us/raudi/printdf/PrintDF.java)] > However not able to convert Booklet to A4 i.e that is cutting vertically of a > Booklet PDF page and resequence all the pages. > 1st problem is not sure how to cut veritically each and every PDF page and > save as 2 separate PDF page or file > 2nd re-sequence of the booklet to proper sequence as 1, 2, 3, 4, 5 by first > identifying the actual book sequence > (http://www.boooks.org/index.php?page=21&lng=1) -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
Status of remaining PDFBox 3.0.0 tickets
Hi, there are just a handful of open tickets left aiming our upcoming 3.0.0 release [1]. It looks like all of them had some progress but I'm unable to decide if they are done or not. Is there any chance to update their status? Possible TODOs could be postpone by creating new tickets. @Maruan, @Tilman Can you have a look at the acroform/signing tickets, please? I tend to resolve [2] and create a new ticket for the remaining TODOs (mostly refactoring) I guess the migration guide won't be complete until we release the final version. Andreas [1] https://s.apache.org/bhq1e [2] https://issues.apache.org/jira/browse/PDFBOX-4952 - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-5078) How to Split A PDF Page vertically into 2 Pieces via PDFBOX
[ https://issues.apache.org/jira/browse/PDFBOX-5078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264653#comment-17264653 ] Joseph commented on PDFBOX-5078: Not getting the expected output when used the above #1 - Need to cut in the center of each page #2 - Save the Left hand side as one pdf #3 - Save the right hand side as one pdf #4 - Re-arrange with proper sequence and combine them all. Can you help me with more code snippet? > How to Split A PDF Page vertically into 2 Pieces via PDFBOX > --- > > Key: PDFBOX-5078 > URL: https://issues.apache.org/jira/browse/PDFBOX-5078 > Project: PDFBox > Issue Type: Bug >Reporter: Joseph >Priority: Major > > We can able to convert A4 PDF to Booklet PDF via PrintDF open source > ([https://github.com/Raudius/PrintDF/blob/master/src/us/raudi/printdf/PrintDF.java)] > However not able to convert Booklet to A4 i.e that is cutting vertically of a > Booklet PDF page and resequence all the pages. > 1st problem is not sure how to cut veritically each and every PDF page and > save as 2 separate PDF page or file > 2nd re-sequence of the booklet to proper sequence as 1, 2, 3, 4, 5 by first > identifying the actual book sequence > (http://www.boooks.org/index.php?page=21&lng=1) -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Updated] (PDFBOX-2246) PDFTextStripper should handle colors
[ https://issues.apache.org/jira/browse/PDFBOX-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Lehmkühler updated PDFBOX-2246: --- Fix Version/s: (was: 3.0.0 PDFBox) > PDFTextStripper should handle colors > > > Key: PDFBOX-2246 > URL: https://issues.apache.org/jira/browse/PDFBOX-2246 > Project: PDFBox > Issue Type: Improvement > Components: Text extraction >Affects Versions: 1.8.6, 1.8.7, 2.0.0 >Reporter: Tilman Hausherr >Priority: Minor > > A recent thread in the dev mailing lst (with Aaron H.) dealt with the > inability to extract color with PDFTextStripper. The solution was to create a > PDFTextStripper with these entries to the properties file > {code} > CS=org.apache.pdfbox.util.operator.SetStrokingColorSpace > cs=org.apache.pdfbox.util.operator.SetNonStrokingColorSpace > G=org.apache.pdfbox.util.operator.SetStrokingGrayColor > g=org.apache.pdfbox.util.operator.SetNonStrokingGrayColor > K=org.apache.pdfbox.util.operator.SetStrokingCMYKColor > k=org.apache.pdfbox.util.operator.SetNonStrokingCMYKColor > RG=org.apache.pdfbox.util.operator.SetStrokingRGBColor > rg=org.apache.pdfbox.util.operator.SetNonStrokingRGBColor > SC=org.apache.pdfbox.util.operator.SetStrokingColor > sc=org.apache.pdfbox.util.operator.SetNonStrokingColor > SCN=org.apache.pdfbox.util.operator.SetStrokingColor > scn=org.apache.pdfbox.util.operator.SetNonStrokingColor > {code} > I therefore propose (and I'd like to get at least one "+1" before starting > because I've never worked on that segment before): > - replacing the empty entries in the PDFTextStripper property file with the > ones above > - improve the printtextlocations example > The problem has come up before: PDFBOX-1736, > http://stackoverflow.com/q/10844271/535646 , > http://stackoverflow.com/a/9157714/535646 and the solutions presented are > rather cumbersome (using a PageDrawer object). -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-5078) How to Split A PDF Page vertically into 2 Pieces via PDFBOX
[ https://issues.apache.org/jira/browse/PDFBOX-5078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264366#comment-17264366 ] Tilman Hausherr commented on PDFBOX-5078: - Instead of {code} page.setCropBox(cropBox); {code} try {code} page.setCropBox(new PDRectangle(cropBox.getCOSArray()); {code} > How to Split A PDF Page vertically into 2 Pieces via PDFBOX > --- > > Key: PDFBOX-5078 > URL: https://issues.apache.org/jira/browse/PDFBOX-5078 > Project: PDFBox > Issue Type: Bug >Reporter: Joseph >Priority: Major > > We can able to convert A4 PDF to Booklet PDF via PrintDF open source > ([https://github.com/Raudius/PrintDF/blob/master/src/us/raudi/printdf/PrintDF.java)] > However not able to convert Booklet to A4 i.e that is cutting vertically of a > Booklet PDF page and resequence all the pages. > 1st problem is not sure how to cut veritically each and every PDF page and > save as 2 separate PDF page or file > 2nd re-sequence of the booklet to proper sequence as 1, 2, 3, 4, 5 by first > identifying the actual book sequence > (http://www.boooks.org/index.php?page=21&lng=1) -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-5078) How to Split A PDF Page vertically into 2 Pieces via PDFBOX
[ https://issues.apache.org/jira/browse/PDFBOX-5078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264352#comment-17264352 ] Joseph commented on PDFBOX-5078: [~tilman] Is it possible to help me with the code snippet with that portion alone ? > How to Split A PDF Page vertically into 2 Pieces via PDFBOX > --- > > Key: PDFBOX-5078 > URL: https://issues.apache.org/jira/browse/PDFBOX-5078 > Project: PDFBox > Issue Type: Bug >Reporter: Joseph >Priority: Major > > We can able to convert A4 PDF to Booklet PDF via PrintDF open source > ([https://github.com/Raudius/PrintDF/blob/master/src/us/raudi/printdf/PrintDF.java)] > However not able to convert Booklet to A4 i.e that is cutting vertically of a > Booklet PDF page and resequence all the pages. > 1st problem is not sure how to cut veritically each and every PDF page and > save as 2 separate PDF page or file > 2nd re-sequence of the booklet to proper sequence as 1, 2, 3, 4, 5 by first > identifying the actual book sequence > (http://www.boooks.org/index.php?page=21&lng=1) -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-5079) Red rendered as yellow
[ https://issues.apache.org/jira/browse/PDFBOX-5079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264350#comment-17264350 ] Tilman Hausherr commented on PDFBOX-5079: - This is unfinished work, see the comment in {{PDCalRGB.toRGB()}}. Your file renders nicely with the upper code part there, but then other files are wrong. Chrome also fails. PDF.js can do it but fails for other CalRGB files. > Red rendered as yellow > -- > > Key: PDFBOX-5079 > URL: https://issues.apache.org/jira/browse/PDFBOX-5079 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Reporter: Simon Steiner >Priority: Major > Labels: CalRGB > Attachments: PDF2.0imagewithBPC.pdf > > > java -jar ~/pdf-box-svn/app/target/pdfbox-app-3.0.0-SNAPSHOT.jar render > --input=PDF2.0imagewithBPC.pdf > Expected to see red in output > For some reason the command line has changed which will make it harder to > switch between pdfbox versions, bring back the 2.0 cmd line: > java -jar ~/pdf-box-svn/app/target/pdfbox-app-3.0.0-SNAPSHOT.jar PDFToImage > PDF2.0imagewithBPC.pdf -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Updated] (PDFBOX-5079) Red rendered as yellow
[ https://issues.apache.org/jira/browse/PDFBOX-5079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tilman Hausherr updated PDFBOX-5079: Labels: CalRGB (was: ) > Red rendered as yellow > -- > > Key: PDFBOX-5079 > URL: https://issues.apache.org/jira/browse/PDFBOX-5079 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Reporter: Simon Steiner >Priority: Major > Labels: CalRGB > Attachments: PDF2.0imagewithBPC.pdf > > > java -jar ~/pdf-box-svn/app/target/pdfbox-app-3.0.0-SNAPSHOT.jar render > --input=PDF2.0imagewithBPC.pdf > Expected to see red in output > For some reason the command line has changed which will make it harder to > switch between pdfbox versions, bring back the 2.0 cmd line: > java -jar ~/pdf-box-svn/app/target/pdfbox-app-3.0.0-SNAPSHOT.jar PDFToImage > PDF2.0imagewithBPC.pdf -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-2602) Enhance command line tools
[ https://issues.apache.org/jira/browse/PDFBOX-2602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264333#comment-17264333 ] Simon Steiner commented on PDFBOX-2602: --- I see the old cmd line used in many projects: https://github.com/search?p=2&q=pdfbox+pdftoimage&type=Code > Enhance command line tools > -- > > Key: PDFBOX-2602 > URL: https://issues.apache.org/jira/browse/PDFBOX-2602 > Project: PDFBox > Issue Type: Bug > Components: Utilities >Affects Versions: 1.8.8, 2.0.0 >Reporter: Maruan Sahyoun >Assignee: Maruan Sahyoun >Priority: Minor > Fix For: 3.0.0 PDFBox > > > The command line tools shall be enhanced to have the same behavior across all > tools. > From the discussion on the dev mailing list > - add an -h option to print the usage > - print the usage to System.err and use an exit code of 1 if there was an > invalid command line parameter > - print messages on exceptions to System.err > - rethrow the exception so java can handle it if it will terminate afterwards > anyway > - use an exit code of 1if rethrowing doesn't make sense > Additional input: > https://clig.dev/ -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-2602) Enhance command line tools
[ https://issues.apache.org/jira/browse/PDFBOX-2602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264312#comment-17264312 ] Maruan Sahyoun commented on PDFBOX-2602: I understand that this is a change for ones familiar with 2.0. But for most it will be a one time change as switching between versions IMHO is not a typical use case. The main reasons for changing are - make pdfbox-app a real CLI and not a wrapper around individual tools which it has been before - establish a set of commands instead of using class names as command names - follow common CLI guide lines which means lower case names - use options instead of parameters to reduce amibguity and also have a common pattern for repeatable options ... Again it's understood that switching back and forth between 2.0 and 3.0 for testing is now more difficult. That affects people like yourself but also Tilman, myself and others doing PDFBox development. But the target audience for the app is our users for whom the change (and others to come) shall make it easier. Now, the names etc. are not carved in stone. So if there is a lot of push back during 3.0 alpha and beta releases we will take that into account. > Enhance command line tools > -- > > Key: PDFBOX-2602 > URL: https://issues.apache.org/jira/browse/PDFBOX-2602 > Project: PDFBox > Issue Type: Bug > Components: Utilities >Affects Versions: 1.8.8, 2.0.0 >Reporter: Maruan Sahyoun >Assignee: Maruan Sahyoun >Priority: Minor > Fix For: 3.0.0 PDFBox > > > The command line tools shall be enhanced to have the same behavior across all > tools. > From the discussion on the dev mailing list > - add an -h option to print the usage > - print the usage to System.err and use an exit code of 1 if there was an > invalid command line parameter > - print messages on exceptions to System.err > - rethrow the exception so java can handle it if it will terminate afterwards > anyway > - use an exit code of 1if rethrowing doesn't make sense > Additional input: > https://clig.dev/ -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-2602) Enhance command line tools
[ https://issues.apache.org/jira/browse/PDFBOX-2602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264116#comment-17264116 ] Simon Steiner commented on PDFBOX-2602: --- I dont see the benefit of changing the command line as this causes everyone to relearn something that was working fine, switching between 2.0 and 3.0 is now a major hassle of converting cmdline syntax > Enhance command line tools > -- > > Key: PDFBOX-2602 > URL: https://issues.apache.org/jira/browse/PDFBOX-2602 > Project: PDFBox > Issue Type: Bug > Components: Utilities >Affects Versions: 1.8.8, 2.0.0 >Reporter: Maruan Sahyoun >Assignee: Maruan Sahyoun >Priority: Minor > Fix For: 3.0.0 PDFBox > > > The command line tools shall be enhanced to have the same behavior across all > tools. > From the discussion on the dev mailing list > - add an -h option to print the usage > - print the usage to System.err and use an exit code of 1 if there was an > invalid command line parameter > - print messages on exceptions to System.err > - rethrow the exception so java can handle it if it will terminate afterwards > anyway > - use an exit code of 1if rethrowing doesn't make sense > Additional input: > https://clig.dev/ -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Updated] (PDFBOX-5079) Red rendered as yellow
[ https://issues.apache.org/jira/browse/PDFBOX-5079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Steiner updated PDFBOX-5079: -- Description: java -jar ~/pdf-box-svn/app/target/pdfbox-app-3.0.0-SNAPSHOT.jar render --input=PDF2.0imagewithBPC.pdf Expected to see red in output For some reason the command line has changed which will make it harder to switch between pdfbox versions, bring back the 2.0 cmd line: java -jar ~/pdf-box-svn/app/target/pdfbox-app-3.0.0-SNAPSHOT.jar PDFToImage PDF2.0imagewithBPC.pdf was: java -jar ~/pdf-box-svn/app/target/pdfbox-app-3.0.0-SNAPSHOT.jar render --input=PDF2.0imagewithBPC.pdf Expected to see red in output For some reason the command line has changed which will make it harder to switch between pdfbox versions, bring back: java -jar ~/pdf-box-svn/app/target/pdfbox-app-3.0.0-SNAPSHOT.jar PDFToImage PDF2.0imagewithBPC.pdf > Red rendered as yellow > -- > > Key: PDFBOX-5079 > URL: https://issues.apache.org/jira/browse/PDFBOX-5079 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Reporter: Simon Steiner >Priority: Major > Attachments: PDF2.0imagewithBPC.pdf > > > java -jar ~/pdf-box-svn/app/target/pdfbox-app-3.0.0-SNAPSHOT.jar render > --input=PDF2.0imagewithBPC.pdf > Expected to see red in output > For some reason the command line has changed which will make it harder to > switch between pdfbox versions, bring back the 2.0 cmd line: > java -jar ~/pdf-box-svn/app/target/pdfbox-app-3.0.0-SNAPSHOT.jar PDFToImage > PDF2.0imagewithBPC.pdf -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Updated] (PDFBOX-5079) Red rendered as yellow
[ https://issues.apache.org/jira/browse/PDFBOX-5079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Steiner updated PDFBOX-5079: -- Attachment: PDF2.0imagewithBPC.pdf > Red rendered as yellow > -- > > Key: PDFBOX-5079 > URL: https://issues.apache.org/jira/browse/PDFBOX-5079 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Reporter: Simon Steiner >Priority: Major > Attachments: PDF2.0imagewithBPC.pdf > > > java -jar ~/pdf-box-svn/app/target/pdfbox-app-3.0.0-SNAPSHOT.jar render > --input=PDF2.0imagewithBPC.pdf > Expected to see red in output > For some reason the command line has changed which will make it harder to > switch between pdfbox versions, bring back: > java -jar ~/pdf-box-svn/app/target/pdfbox-app-3.0.0-SNAPSHOT.jar PDFToImage > PDF2.0imagewithBPC.pdf -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Created] (PDFBOX-5079) Red rendered as yellow
Simon Steiner created PDFBOX-5079: - Summary: Red rendered as yellow Key: PDFBOX-5079 URL: https://issues.apache.org/jira/browse/PDFBOX-5079 Project: PDFBox Issue Type: Bug Components: Rendering Reporter: Simon Steiner java -jar ~/pdf-box-svn/app/target/pdfbox-app-3.0.0-SNAPSHOT.jar render --input=PDF2.0imagewithBPC.pdf Expected to see red in output For some reason the command line has changed which will make it harder to switch between pdfbox versions, bring back: java -jar ~/pdf-box-svn/app/target/pdfbox-app-3.0.0-SNAPSHOT.jar PDFToImage PDF2.0imagewithBPC.pdf -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org