Jeremias Maerki
7392679545
Bugfix: Make sure floats and doubles are not formatted using exponential format because PDF doesn't support it.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_PDF_in_PDF@581550 13f79535-47bb-0310-9956-ffa450edef68
16 anos atrás
Jeremias Maerki
1c2be8875b
Fix a bug introduced while converting to the generic structures (images could produce invalid PDFs).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_PDF_in_PDF@581527 13f79535-47bb-0310-9956-ffa450edef68
16 anos atrás
Jeremias Maerki
fca2799f68
Preparations for supporting "PDF in PDF" (PDF file as "src" attribute for fo:external-graphic).
Changes in the PDF library:
- Support all basic PDF objects as generic classes.
- Reworked some of the PDF classes to use the new generic classes instead of writing to StringBuffers everywhere (less code, less error-prone in the long run).
- Finished Form XObject support.
- Manage Image XObjects together with Form XObjects in PDFDocument
- Tweaked the filters so externally applied filters can more easily be handled.
Changes to image package:
- Added a very simple and temporary dynamic registration for image implementations (in order to plug in external image implementations)
("temporary" since the image package redesign is still on the task list for this year)
Changes to the PDF Renderer:
- Added a PDFImageHandler interface which can be used to create arbitrary XObjects (in the case of PDF-in-PDF: Form XObjects).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_PDF_in_PDF@563142 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Vincent Hennebert
72797e71cd
Clean up:
- organize imports
- javadoc for getBreakBefore/After
- loop no longer necessary when calling TableCellLM.getNextKnuthElements
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@562383 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Vincent Hennebert
89829841e4
Move the handling of breaks back in TableContentLM
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@562172 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Vincent Hennebert
beb66bc635
First step at introducing a layout manager for a row-group
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@562140 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Vincent Hennebert
9a101c3b38
Clean up the handling of startIndent
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@562053 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Vincent Hennebert
1c4c14e3da
Set visibility of fields to private
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@561861 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Chris Bowditch
65a4c0beb3
Bugzilla #42956
Second attempt at AFP NOP Extension
Submitted by Adrian Cumiskey <dev.at.cumiskey.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@561757 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Jeremias Maerki
f088e7bbf9
AFP Renderer: Bugfix for 1 bit images where the width is not a multiple of 8.
Essentially, I rewrote convertToGrayScaleImage() to properly padding at the end of each scanline if necessary.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@561280 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Chris Bowditch
c835ffc917
Bugzilla #42956:
AFP Renderer - No Operation Extension.
yet another missing file! The documentation!
Submitted by: Adrian Cumiskey <dev.at.cumiskey.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@561256 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Jeremias Maerki
f3ce4041c0
Bugzilla #42956:
AFP Renderer - No Operation Extension.
Added missing file (including the bugfix for the right encoding).
Submitted by: Adrian Cumiskey <dev.at.cumiskey.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@561251 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Chris Bowditch
1e7bbc0e02
Bugzilla #42971 and #42956
AFP Renderer Improvements
Submitted by Adrian Cumiskey <dev.at.cumiskey.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@560936 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Jeremias Maerki
21b0ced38d
rubico.com doesn't exist anymore.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@559818 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Manuel Mall
e298d0b184
Changed my mind on handling of width calculation for zero width spaces and moved it into the Font class where other similar cases are already dealt with
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@558456 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Manuel Mall
22887795cf
Corrected issue with zero width spaces being given a non zero width
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@558455 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Vincent Hennebert
42fb548468
Fix javadoc error
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@558279 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Andreas L. Delmelle
b4f3b9d29f
Tweak: use generic boolean Maker.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@558047 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Andreas L. Delmelle
04db874afa
Slight correction:
- make NumberProperty, EnumProperty, EnumNumber and StringProperty final, so instanceof suffices in the check for equality
- instead of subclassing NumberProperty, make EnumNumber implement the Numeric interface
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@558045 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Andreas L. Delmelle
99262c3d0a
Remove method added only for quick debug.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@558042 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Andreas L. Delmelle
afa000d0c1
Fix possible memory leak in PropertyCache
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@558041 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Jeremias Maerki
ebf1e9be66
Fix bug in equals() that made caching effect-less.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557934 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Andreas L. Delmelle
4f6fbb2785
Cache CharacterProperty
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557814 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Vincent Hennebert
6c3da8eca7
Style only: correct indentation
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557650 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Vincent Hennebert
0da37cf697
Code cleanup and javadocs
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557649 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Vincent Hennebert
18f76f607f
Rename endRow into the more meaningful endRowIndex
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557630 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Andreas L. Delmelle
57edd2c7df
Fix: add implementation of hashCode() and equals() to NumberProperty, to make the caching work as expected.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557612 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Vincent Hennebert
9bab0f8449
Use an iterator instead of get(index) to iterate over the list of Knuth elements
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557541 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Manuel Mall
490cf6da6d
Added support for keep-togther.within-line="always"
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557347 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Andreas L. Delmelle
4e921e05c7
* Javadoc update: use {@inheritDoc} instead of @see where applicable, removal of some @author tags
* Additional code cleanup: removal of unused imports (mainly in the fo.flow package)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557337 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Andreas L. Delmelle
8fcc676984
Correction of premature javadoc commit in r557035
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557272 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Manuel Mall
d0ffc489d5
Fixed incomplete support for Unicode word joiners
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557219 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Andreas L. Delmelle
1b5c727a2d
Undo changes of r556112
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557035 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Vincent Hennebert
725096997b
Store the index of the last spanned row, instead of the starting row. That latter information isn't really needed.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@556997 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Vincent Hennebert
8c9f964e3c
- Compute the height of already handled rows progressively in TableStepper
- Give this information to the ActiveCell constructor. This allows to:
- avoid passing the row-group to the constructor
- avoid re-computing it for each cell starting on the current row
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@556991 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Andreas L. Delmelle
e5d7df253f
Compliance update: starting-state supported on fo:bookmark; already added at other places in the docs
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@556257 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Andreas L. Delmelle
3ff7cea4a8
Use a slightly more convenient name to keep the code somewhat readable
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@556248 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Andreas L. Delmelle
1ccc95e8f0
Removal of unused method
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@556245 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Andreas L. Delmelle
d673a10b74
Some cleanup and removal of unused methods
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@556244 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Andreas L. Delmelle
f8092efc4a
Bugzilla 42843: Warn on glyph substitution (offered by Max Berger)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@556239 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Andreas L. Delmelle
4e53cd8c59
Addition of a general-purpose int-to-int map to replace Integer-to-Integer HashMaps + first usage in TTFFile
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@556112 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Vincent Hennebert
383b7b9b7f
Extract the ActiveCell class into a top-level class
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@555686 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Andreas L. Delmelle
f38b96f676
Completion of the previous two small patches: modified and corrected javadoc comments
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@555684 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Andreas L. Delmelle
39aecb631c
TODO-comment also removed...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@555681 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Andreas L. Delmelle
d4f6b05fba
TODO removed: use LayoutContext's stackLimit instead of the availIPD parameter
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@555680 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Vincent Hennebert
b535780e8c
Move the creation of GridUnitParts into ActiveCell
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@555677 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Vincent Hennebert
945d1cfaf3
Fixes in the steps computation:
- directly include the penalties of the cell contents in the step computation; no longer use a nestedPenaltyLength
- compute the real remaining length, i.e., discarding all the glues and penalties after the candidate break
- if step + maxRemainingLength < totalLength, a glue must be added to hold the additional length when the row group is not broken
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@555651 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Vincent Hennebert
21e4d157d5
Temporary hack to handle cells with content of zero length
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@555628 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Vincent Hennebert
bf7425006f
Move the content of the now small setupElementList method into initializeElementLists
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554711 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás
Vincent Hennebert
9318fb5d17
Use a prevIsBox boolean instead of duplicating the list of Knuth elements for active cells into an ArrayList
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554709 13f79535-47bb-0310-9956-ffa450edef68
17 anos atrás