Manfred Pock created PDFBOX-2692:
------------------------------------
Summary: Possibilty to use an own PageDrawer and/or overwrite the
PageDrawer
Key: PDFBOX-2692
URL: https://issues.apache.org/jira/browse/PDFBOX-2692
Project: PDFBox
Issue Type: Wish
Components: Rendering
Affects Versions: 2.0.0
Environment: JDK 1.8, Windows 7, PDF-Box - current trunk
Reporter: Manfred Pock
We use the PDFBox to render PDF's. As addition we has also has the posibility
to add different kinds of annotation (stamp, marks, free text, notes..) like in
an wysiwyg-editor To do this it is necessary that we paint this annotations at
our own.
Another reason is not to paint all parts, as example we have an pdf with an
embedded picture. Behind the picture we have the ocr-text to this picture. This
text is only necessary for searching und should not be painted.
And so it will be fine that we can use an own derivated PageDrawer. As i see
there are some things to change.
a.) remove the final from PagerDrawer-class.
b.) make some global-variables (graphics, xform, pageSize...) protected,
c.) also some methods like setRenderingHints should be protected
d.) maybe the possibility to say to the PDFRender which PageDrawer should be
used.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]