aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Removing unreachable catch block.Temp_API_FinalizationJeremias Maerki2006-03-211-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@387524 13f79535-47bb-0310-9956-ffa450edef68
* Use non-deprecated ways to get a default user agent.Jeremias Maerki2006-03-211-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@387522 13f79535-47bb-0310-9956-ffa450edef68
* Change call to deprecated FOUserAgent constructor to FopFactory methodSimon Pepping2006-03-093-7/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@384602 13f79535-47bb-0310-9956-ffa450edef68
* Ensure a consistent Fop object in the constructorSimon Pepping2006-03-072-4/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@384002 13f79535-47bb-0310-9956-ffa450edef68
* Ensure the consistency of the created Fop objectSimon Pepping2006-03-074-16/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@383973 13f79535-47bb-0310-9956-ffa450edef68
* Height is not WidthSimon Pepping2006-03-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@383685 13f79535-47bb-0310-9956-ffa450edef68
* Add Fop constructor and corresponding FopFactory methods with anSimon Pepping2006-03-052-2/+55
| | | | | | | output stream. Adapt MultipleFO2PDF example. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@383398 13f79535-47bb-0310-9956-ffa450edef68
* Ported the latest bugfix in FOUserAgent to branch: Jeremias Maerki2006-03-011-4/+1
| | | | | | Fix bug in the construction of a base URL when it's specified as a file system path. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@381982 13f79535-47bb-0310-9956-ffa450edef68
* Deprecated PDFEncryptionParams on FOUserAgent in factor of the more generic ↵Jeremias Maerki2006-02-153-8/+94
| | | | | | solution using FOUserAgent.getRendererOptions(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@378001 13f79535-47bb-0310-9956-ffa450edef68
* CleanupJeremias Maerki2006-02-141-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@377685 13f79535-47bb-0310-9956-ffa450edef68
* Attaching the ImageFactory to the FopFactory. To have a cache effect between ↵Jeremias Maerki2006-02-1411-23/+29
| | | | | | multiple rendering runs the FopFactory would have to be reused after this change. Multiple FopFactories = Multiple image caches. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@377680 13f79535-47bb-0310-9956-ffa450edef68
* Hooking the ContentHandlerFactoryRegistry into the FopFactor.Jeremias Maerki2006-02-143-14/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@377672 13f79535-47bb-0310-9956-ffa450edef68
* Most of the API finalization proposal is implemented now. No deprecations, ↵Jeremias Maerki2006-02-138-320/+576
| | | | | | yet, and the image cache and a couple of nits are not addressed, yet. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@377403 13f79535-47bb-0310-9956-ffa450edef68
* RTF: length of leveltext has to be specified as two-digit hex-valuePeter Herweg2006-02-121-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377256 13f79535-47bb-0310-9956-ffa450edef68
* trivial updateAndreas L. Delmelle2006-02-121-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377246 13f79535-47bb-0310-9956-ffa450edef68
* Slight correction: single quoted font-family names not properly handledAndreas L. Delmelle2006-02-121-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377242 13f79535-47bb-0310-9956-ffa450edef68
* Extra constants needed for the font shorthandAndreas L. Delmelle2006-02-121-1/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377223 13f79535-47bb-0310-9956-ffa450edef68
* Added implementation for the font shorthand property (+ some checkstyle cleanup)Andreas L. Delmelle2006-02-1215-61/+393
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377222 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for Bug 38041: correct handling of different list-item-label'sPeter Herweg2006-02-126-21/+92
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377220 13f79535-47bb-0310-9956-ffa450edef68
* RTF: fix a few checkstyle warningsPeter Herweg2006-02-124-21/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377219 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38618:Jeremias Maerki2006-02-118-59/+104
| | | | | | | cleanup of rgb() and implementation of system-color() Submitted by: Max Berger <max.at.berger.name> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377045 13f79535-47bb-0310-9956-ffa450edef68
* Creation of Font instances centralized in FontInfo and added a cache for ↵Jeremias Maerki2006-02-1010-65/+53
| | | | | | them. This removes duplicate code in a number of places, improves speed a little and saves memory. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@376706 13f79535-47bb-0310-9956-ffa450edef68
* Reworked area building in AreaTreeParser to match the scheme that the ↵Jeremias Maerki2006-02-091-329/+558
| | | | | | FOTreeBuilder uses. Cuts away another 10-15% processing time. Too many String.equals() calls and a minor optimization in setTraits(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@376293 13f79535-47bb-0310-9956-ffa450edef68
* Decorate warning with location info.Jeremias Maerki2006-02-091-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@376250 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixed two causes for ClassCastExceptions in BlockContainerLayoutManager.Jeremias Maerki2006-02-091-7/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@376235 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: padding-top and padding-bottom on list-items could lead to wrong ↵Jeremias Maerki2006-02-092-15/+30
| | | | | | | | | page break decisions and thus to overlapping text. Bugfix: break-before and break-after were ignored on list-items. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@376226 13f79535-47bb-0310-9956-ffa450edef68
* Added missing values in area tree XML for PageViewport ↵Jeremias Maerki2006-02-085-163/+210
| | | | | | | | | | | (simple-page-master-name and blank). Performance improvement of about 10% for a simple document inside the AreaTreeParser (Hotspot: setTraits()) Changed the way that trait info lookup is done in Trait.java. Should be just a little faster now. Unused traits disabled. Commented unused methods. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375983 13f79535-47bb-0310-9956-ffa450edef68
* Style fixesJeremias Maerki2006-02-071-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375605 13f79535-47bb-0310-9956-ffa450edef68
* Non-SVG XML got loaded into a non-namespace-aware node which caused problems ↵Jeremias Maerki2006-02-071-1/+8
| | | | | | later when serializing the foreign XML to the intermediate format. Fixes a problem with serializing barcodes (Barcode4J) to the intermediate format. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375604 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug 38507: the elements representing a non-breaking space were not ↵Luca Furini2006-02-071-190/+127
| | | | | | | | | | always correct, sometimes allowing a break. This also solves another bug concerning the incorrect suppression of a nbsp at the beginning of a line. A bit of clean-up in TextLayoutManager git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375585 13f79535-47bb-0310-9956-ffa450edef68
* web form as requested by David Reid.Jeremias Maerki2006-02-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375280 13f79535-47bb-0310-9956-ffa450edef68
* RTF: fix a few checkstyle warningsPeter Herweg2006-02-0523-48/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375067 13f79535-47bb-0310-9956-ffa450edef68
* RTF: remove usage of TableLayoutManager; use SimplePercentBaseContext insteadPeter Herweg2006-02-051-9/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375060 13f79535-47bb-0310-9956-ffa450edef68
* Correction of the issue raised on the WhiteSpace Wiki (see accompanying change)Andreas L. Delmelle2006-02-031-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374712 13f79535-47bb-0310-9956-ffa450edef68
* File missing from http://svn.apache.org/viewcvs?rev=374174&view=rev... ↵Andreas L. Delmelle2006-02-021-3/+5
| | | | | | Thanks, Manuel! :-) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374541 13f79535-47bb-0310-9956-ffa450edef68
* We forgot to update the header and footer of the download mirror page.Jeremias Maerki2006-02-021-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374512 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38453:Jeremias Maerki2006-02-021-51/+54
| | | | | | | Bugfix: Text-decoration was not promoted if no text-decoration attribute was specified on a nested element. Nice side-effect: more efficient evaluation of text-decoration. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374425 13f79535-47bb-0310-9956-ffa450edef68
* Don't swallow characters if the handler does not implement LexicalHandler.Jeremias Maerki2006-02-021-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374312 13f79535-47bb-0310-9956-ffa450edef68
* Better naming of the relases.Jeremias Maerki2006-02-021-2/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374300 13f79535-47bb-0310-9956-ffa450edef68
* fo:wrapper has restrictions.Jeremias Maerki2006-02-021-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374298 13f79535-47bb-0310-9956-ffa450edef68
* Further fine-tuning of white-space-handling during refinementAndreas L. Delmelle2006-02-012-68/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374174 13f79535-47bb-0310-9956-ffa450edef68
* Implementation for from-table-column(). See: bugzilla 38282Andreas L. Delmelle2006-01-3110-74/+186
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373922 13f79535-47bb-0310-9956-ffa450edef68
* Here's why forcing to border-collapse="separate" on fo:table didn't work. D'oh!Jeremias Maerki2006-01-312-22/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373761 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38434: Jeremias Maerki2006-01-301-1/+1
| | | | | | | Restore JDK 1.3.1 compatibility. Submitted by: Jelka Kosir <jelka.kosir.at.atol.si> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373469 13f79535-47bb-0310-9956-ffa450edef68
* An addition to FOP that can be used to render a hyphenation tree inSimon Pepping2006-01-281-4/+4
| | | | | | | | various ways, among which a complete tree representation. And correction of a few typos in HyphenationTree. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373170 13f79535-47bb-0310-9956-ffa450edef68
* Change TransformerHandler to ContentHandler. Use comment method whenSimon Pepping2006-01-271-1/+19
| | | | | | | available. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372971 13f79535-47bb-0310-9956-ffa450edef68
* RTF: testcase 'tableunits.fo' failed because there was no PercentBaseContext ↵Peter Herweg2006-01-271-1/+12
| | | | | | passed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372916 13f79535-47bb-0310-9956-ffa450edef68
* TransformerHandler changed to ContentHandler to allow easier integration of ↵Chris Bowditch2006-01-272-73/+65
| | | | | | XML Renderer to a SAX Events chain git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372914 13f79535-47bb-0310-9956-ffa450edef68
* Added safe-guard against reuse to avoid problems with the renderers. Jeremias Maerki2006-01-271-9/+9
| | | | | | Removed reset() method. Compared to the many hundred object instances that get created by the FO tree and layout engine, the Fop and FOTreeBuilder instance are negligible. Better keep the API as simple as possible and create an environmental class in the long run. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372880 13f79535-47bb-0310-9956-ffa450edef68
* Don't swallow the stack trace. Jeremias Maerki2006-01-261-10/+10
| | | | | | Handle the case when the image cannot be found and don't throw an NPE in that case. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372518 13f79535-47bb-0310-9956-ffa450edef68