camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-3552) camel-pdf component
Date Fri, 17 Apr 2015 06:54:59 GMT

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

ASF GitHub Bot commented on CAMEL-3552:
---------------------------------------

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.

----


> camel-pdf component
> -------------------
>
>                 Key: CAMEL-3552
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3552
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: Future
>
>
> Apache PDFBox could be integrated to Camel to turn Camel into a printout system by composing
PDF documents.
> In the same way, Camel will be able to read PDF documents (consumer mode).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message