Jeremias Maerki
db4f3b282c
Bugfix: Some string objects were not encrypted (for example in named destinations)
I had to refactor the PDF library a little bit but since it only affects the inner API it shouldn't be a problem that I removed some methods which caused trouble because a didn't think about encryption when I worked on the PDF library last year.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@611114 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
25d54cbe27
Renamed lastRow into currentRow and yoffset into currentRowOffset
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610905 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
6d0258a999
The return value of addAreasAndFlushRow is never used, changed it to void
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610893 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
f8dea60c18
Removed accumulatedBPD which is redundant with yoffset
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610891 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
2282c3ce2e
Removed endPart() method and moved its content into addAreasAndFlushRow()
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610886 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
8c267304cb
Simplified addAreasAndFlushRow
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610853 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
29e6465b7c
No need to check if the end of the cell is reached when creating the areas for a row
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610848 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
8fb6ba565d
- renamed variables for clarity
- moved the computation of a cell's content length in PrimaryGridUnit
- better javadoc for getHeight method in EffRow
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610821 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jeremias Maerki
e8fd5b3999
PostScript output now generates the bounding box DSC comments for the whole document.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610739 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jeremias Maerki
e9693885fd
Added basic support for PDF page labels.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610704 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Adrian Cumiskey
1ab3e8a6a9
cleanup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610420 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
b59f42a320
keep-together is an inherited property
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610355 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
5044438b50
Fixed checkstyle issues: tabs and trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610337 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Adrian Cumiskey
fa80d556ca
fixed javadoc
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610023 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Adrian Cumiskey
298d3dc816
cleaned up
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610022 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Adrian Cumiskey
d424cf5ce4
Appears to be unused/referenced and superceeded by PageGroup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610021 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Adrian Cumiskey
292aace6a1
cleaned up
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610020 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jeremias Maerki
eb93b9ef53
Bugzilla #44176:
Support for custom fonts in Java2DRenderer and derived renderers.
Submitted by: Patrick Jaromin <patrick.at.jgsullivan.dot.com>
Patch modified slightly by jeremias.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@609627 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jeremias Maerki
6415c9acd2
Reenabled documentation for fox:destination.
Enabled intermediate format functionality for fox:destination.
Added a test case to check fox:destination.
Deprecated FOP's XMLizable in favor of the XML Graphics Commons variant (and extend that variant).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@609567 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Adrian Cumiskey
47571de516
The fonts variable would have always had an empty Configuration node (non-null value) even if a <fonts/> wasn't present
in the fop configuration.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@608812 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jeremias Maerki
2ddc94a5b9
Don't just exit with no error message if the document contains no content. Pretty irritating if it does so.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@607036 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jeremias Maerki
0c87214d3a
Added new extension element: fox:external-document. It allows to add whole documents such as multi-page TIFF images to be inserted as peers to a page-sequence. Each image will make up an entire page. See the documentation for details. ATM, only single pages are possible. Multi-page images will be supported with the new image package.
Some preparations for page-position="only" but the implementation is incomplete and "only" has no effect, yet. (Just uploaded some stuff I once started)
Some javadoc cleanups.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@607032 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jeremias Maerki
ed61f771c4
Added support for scale-down-to-fit and scale-up-to-fit.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@606004 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jeremias Maerki
3311cbaf60
Remove commented code.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@605978 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
23e00caa1c
I said currentGU can no longer be null
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@605517 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
f15db7d7e2
Streamlined the recording of row offsets, by replacing Map with a List. Fixed bug #43633 in the same time.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@605295 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
ef06a58b68
Renamed firstRow into firstRowIndex and moved its initialization into handeTableContentPosition
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@605253 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
fd26360942
Simplification in RowPainter: avoid the use of an array to store rowOffsets and firstRow index for each part of the table (header, footer, body). One at a time is enough.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@605246 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
5323aed1fc
Reset previousRowsLength before a new row-group is handled
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@605195 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
feca36df86
Simplified addAreasAndFlushRow: there can no longer be null GridUnits, every hole in the grid is now filled with an EmptyGridUnit
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@604970 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
040987c532
Renaming GridUnitPart into the more accurate CellPart. Moreover I was always making the confusion between gup and pgu
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@604965 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
916e1325a2
Organized imports
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@604814 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Andreas L. Delmelle
4f9fc957bd
Streamlining/Correction of the changes made in r603926
- delegate validation of the fo:wrapper's children to the parent: added static FONode.validateChildNode()
- narrow the condition for processing text-childnodes:
this is not only constrained to fo:flow and fo:static-content, but the same goes
for a fo:wrapper that is a direct descendant of a fo:block-container or fo:inline-container,
which only allow block-level content (interpretation)
- minor javadoc fixups/improvements
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@604678 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jeremias Maerki
96f18dd5f9
Don't hack when you're tired! Reverting r604293 and instead fixing the right value. It's DecodeParams -> DecodeParms!
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@604299 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jeremias Maerki
aaa21e8304
Bugfix: DecodeParms -> DecodeParams (introduced when I changed to generic PDF structures)
(fixes CCITT encoded images)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@604293 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Adrian Cumiskey
00ba9d896e
Fixed copy constructor
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@604185 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
79d9dab416
Reduced visibility of methods from public to package-private
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@604180 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
c6363fe8a3
Clean up: removed all reset and resetPosition methods, which pre-date the Knuth era and are no longer needed
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@604171 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
61a2bba18f
Throw a ValidationException if table-footer is put after table-body and the table uses the collapsing border model. The footer must be known to properly resolve borders.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@603990 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
4090cb5924
Removed parameter from the endTablePart method, as the part is already passed as as a parameter of the previously called startTablePart method
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@603979 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
757fdc23d3
Removed parameter from the endPart method, since the part is already passed as a parameter of the previously called startPart method
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@603975 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
7ed67aba5b
Fixed the handling of columns in the border resolution, especially in case of column-spanning cells
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@603968 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
ecf8547e04
Style only: removed trailing white spaces
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@603962 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
f585893200
Ok, now /really/ revert the previous commit :-\
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@603961 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
9957e3b9ae
Reverted change accidentally introduced in the previous commit. A proper fix needs to be found for this one.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@603959 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
709bda3d6c
Implemented the resolution of collapsing borders in the FO tree, for every situation (normal, cell at the top of a page, cell broken), taking conditionality, headers and footers into account.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@603945 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
5ea761b17a
Removed calls to removeLegalBreaks since they aren't necessary (the whole content is put in a single box anyway) and the method is buggy.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@603943 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Andreas L. Delmelle
26b5548ee2
Minor tweaks:
* only add text to a fo:wrapper if it is not a direct flow-descendant
* error if an fo:wrapper that is a direct flow-descendant contains inline-level children
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@603926 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
e986da9655
Fixed @throws statements in javadoc
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@603890 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Adrian Cumiskey
e30bf175fe
* Added an SVG handler and Graphics2D implementation for AFP which injects AFP GOCA structured fields into the AFPDataStream.
* Fixed many checkstyle problems.
* Updated xmlgraphics-commons-1.3svn.jar to include changes to TextHandler
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@603590 13f79535-47bb-0310-9956-ffa450edef68
16 years ago