[ 
https://issues.apache.org/jira/browse/PDFBOX-1177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164342#comment-13164342
 ] 

Thomas Chojecki commented on PDFBOX-1177:
-----------------------------------------

@Guillaume Bailleul
Sorry for the late response

Maybe it won't help you much but we use the sources from follow packages

./org/
./org/apache
./org/apache/pdfbox
./org/apache/pdfbox/cos
./org/apache/pdfbox/pdfviewer
./org/apache/pdfbox/examples
./org/apache/pdfbox/examples/fdf
./org/apache/pdfbox/examples/pdmodel
./org/apache/pdfbox/examples/persistence
./org/apache/pdfbox/examples/signature
./org/apache/pdfbox/examples/util
./org/apache/pdfbox/exceptions
./org/apache/pdfbox/filter
./org/apache/pdfbox/pdmodel
./org/apache/pdfbox/pdmodel/fdf
./org/apache/pdfbox/pdmodel/font
./org/apache/pdfbox/pdmodel/text
./org/apache/pdfbox/pdmodel/documentinterchange
./org/apache/pdfbox/pdmodel/documentinterchange/logicalstructure
./org/apache/pdfbox/pdmodel/documentinterchange/taggedpdf
./org/apache/pdfbox/pdmodel/documentinterchange/prepress
./org/apache/pdfbox/pdmodel/documentinterchange/markedcontent
./org/apache/pdfbox/pdmodel/common
./org/apache/pdfbox/pdmodel/common/filespecification
./org/apache/pdfbox/pdmodel/common/function
./org/apache/pdfbox/pdmodel/interactive
./org/apache/pdfbox/pdmodel/interactive/annotation
./org/apache/pdfbox/pdmodel/interactive/viewerpreferences
./org/apache/pdfbox/pdmodel/interactive/form
./org/apache/pdfbox/pdmodel/interactive/pagenavigation
./org/apache/pdfbox/pdmodel/interactive/measurement
./org/apache/pdfbox/pdmodel/interactive/digitalsignature
./org/apache/pdfbox/pdmodel/interactive/documentnavigation
./org/apache/pdfbox/pdmodel/interactive/documentnavigation/outline
./org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination
./org/apache/pdfbox/pdmodel/interactive/action
./org/apache/pdfbox/pdmodel/interactive/action/type
./org/apache/pdfbox/pdmodel/edit
./org/apache/pdfbox/pdmodel/markedcontent
./org/apache/pdfbox/pdmodel/graphics
./org/apache/pdfbox/pdmodel/graphics/xobject
./org/apache/pdfbox/pdmodel/graphics/optionalcontent
./org/apache/pdfbox/pdmodel/graphics/predictor
./org/apache/pdfbox/pdmodel/graphics/color
./org/apache/pdfbox/pdmodel/encryption
./org/apache/pdfbox/pdfparser
./org/apache/pdfbox/encoding
./org/apache/pdfbox/encoding/conversion
./org/apache/pdfbox/io
./org/apache/pdfbox/encryption
./org/apache/pdfbox/pdfwriter
./org/apache/pdfbox/persistence
./org/apache/pdfbox/persistence/util
./org/apache/pdfbox/util
./org/apache/pdfbox/util/operator
./org/apache/pdfbox/util/operator/pagedrawer

Compile with the needed jars (like bc, fontbox, jempbox, etc.)
and build the final jar without resources and dependencies.

Parsing work well. We use it for sign and verify purpose only. It's just a 
lightweight lib with basic functions
                
> Create a module with examples instead having them in pdfbox.jar
> ---------------------------------------------------------------
>
>                 Key: PDFBOX-1177
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1177
>             Project: PDFBox
>          Issue Type: Wish
>          Components: Utilities
>    Affects Versions: 1.6.0
>            Reporter: Guillaume Bailleul
>            Assignee: Guillaume Bailleul
>            Priority: Minor
>              Labels: modularization
>             Fix For: 1.7.0
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> The package org.apache.pdfbox.examples (and its subpackage) contains examples 
> on how to use pdfbox. 
> The size of these classes in the generated jar not so big (100 kb, 3% of the 
> size), but it is a first step in reduction of pdfbox jar size. 
> Moreover, it would be easier to add examples depending on preflight in a 
> separate jar.
> If there is enough vote, I can do it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to