camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nkukhar <...@git.apache.org>
Subject [GitHub] camel pull request: [CAMEL-3552] Added PDF component to camel.
Date Fri, 17 Apr 2015 06:54:26 GMT
GitHub user nkukhar opened a pull request:

    https://github.com/apache/camel/pull/495

    [CAMEL-3552] Added PDF component to camel.

    OK so this component ended up being quite bigger than I expected initially. This is my
first component so feel free to review and suggest any modifications.
    
    Basically this component supports following operations:
    - create (creates new pdf document)
    - append (appends provided text to provided pdf document)
    - extractText (extracts text from provided document)
    
    Also it has two writing strategies: 
    - lineTermination (default) - takes provided text, splits it by line termination(\n) and
writes these line to pdf document regardless lime fits in the document or not. With this strategy
its users responsibility to provide text that will fit in the pdf document.
     - autoFormatting - this strategy is a little more complicated. It takes provided text
and splits it by words.  Then it builds lines with a maximum amount of words that fit in the
line. 
    
    This component supports only default PDFBox fonts (which are ASCII).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nkukhar/camel CAMEL-3552

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/495.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #495
    
----
commit 7bd0b557e57fba66d23e31248f581125bedaefdb
Author: nkukhar <kukhar.n@gmail.com>
Date:   2015-04-17T06:29:14Z

    PDF component created.

commit c46e7f5792d3891d16d25578cb59672cc6bcb447
Author: nkukhar <kukhar.n@gmail.com>
Date:   2015-04-17T06:30:40Z

    Merge branch 'master' into CAMEL-3552

commit 382656c3874b48bf5fcef2ffcf5a178d3f08bacb
Author: nkukhar <kukhar.n@gmail.com>
Date:   2015-04-17T06:38:56Z

    Logging level reduced to INFO for tests.

commit 40f313bf44e9df9eb6007d44034ab86e8885e3df
Author: nkukhar <kukhar.n@gmail.com>
Date:   2015-04-17T06:39:29Z

    Mandatory title added to component endpoint description.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message