aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
Commit message (Collapse)AuthorAgeFilesLines
...
* Minor patch for fixing NPE error when Locator not available--submitted byGlen Mazza2003-12-281-3/+5
| | | | | | | Finn Bock. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197071 13f79535-47bb-0310-9956-ffa450edef68
* *Partial* conversion of PropertyList.get(String propName) to new ↵Glen Mazza2003-12-279-88/+107
| | | | | | | | | | | PropertyList.get(int propId) method. This method will remain overloaded until all calls converted to int constants. Work based on Finn Bock's patch. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197059 13f79535-47bb-0310-9956-ffa450edef68
* Bug 25756 (Patch by Simon Pepping): Remove line BPs where line consistsGlen Mazza2003-12-271-1/+36
| | | | | | | only of suppressible content (whitespace). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197058 13f79535-47bb-0310-9956-ffa450edef68
* Bug 25758 (patch by Finn Bock) -- Fix of content-height/content-widthGlen Mazza2003-12-271-5/+6
| | | | | | | for images, to satisfy NIST test adp-height1.fo git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197057 13f79535-47bb-0310-9956-ffa450edef68
* Property.getPropertyName() switched from returning strings toGlen Mazza2003-12-266-18/+23
| | | | | | | | integer constants (perh. should be renamed to getPropertyId()?); change propagated to classes calling this function. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197056 13f79535-47bb-0310-9956-ffa450edef68
* Bug 25708 (Patch submitted by Simon Pepping) -- implementation of fo:wrapper ↵Glen Mazza2003-12-261-2/+8
| | | | | | in 1.0 version. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197055 13f79535-47bb-0310-9956-ffa450edef68
* ----------------------------------------------------------------------Glen Mazza2003-12-267-7/+62
| | | | | | | | Bug #25646 (Patch by Finn Bock): setting SAX Locator (line and column index of input fo stream) for debugging and better error feedback. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197054 13f79535-47bb-0310-9956-ffa450edef68
* Removed the elementStringTable HashMap references (never used; wasGlen Mazza2003-12-242-69/+23
| | | | | | | | | meant to define element-specific makers for a particular property, instead of the default make for the property) from fo.FObj and fo.PropertyList. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197053 13f79535-47bb-0310-9956-ffa450edef68
* Bug 25692 (patch by Finn Bock)--toString() implementation of ↵Glen Mazza2003-12-231-1/+17
| | | | | | Trait.Background class. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197052 13f79535-47bb-0310-9956-ffa450edef68
* Bug #25031 -- patch in calculation of line breakpoints, by Simon Pepping ↵Glen Mazza2003-12-231-1/+12
| | | | | | (spepping at leverkruid dot nl) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197051 13f79535-47bb-0310-9956-ffa450edef68
* Initial Check-in of PropertySets.java and .xsl. (Similar to Alt-Design'sGlen Mazza2003-12-225-4/+1295
| | | | | | | | PropertySets, however uses integer arrays to identify those properties relevant for an FO.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197050 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2003-12-2215-14/+15
| | | | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: 1.) renamed enumgen.xsl to longer but hopefully clearer prop-val-enum-interfaces.xsl 2.) Moved Constants.java from fo.properties to fo package, to reduce the need for layout and renderers to import directly from the properties package. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197048 13f79535-47bb-0310-9956-ffa450edef68
* ----------------------------------------------------------------------Glen Mazza2003-12-2214-35/+37
| | | | | | | | | More of conversion of strings to integers: Makers now being created via int constants in fo.properties.Constants class. Temporary string-int conversions currently in Property.java and PropertyList.java, which converts strings from callers into ints for subsequent use. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197047 13f79535-47bb-0310-9956-ffa450edef68
* Removal of some of the temporary code elements (FO Element lists still pending.)Glen Mazza2003-12-222-52/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197046 13f79535-47bb-0310-9956-ffa450edef68
* Property Makers now being activated via int constants. (Maker classes ↵Glen Mazza2003-12-202-17/+35
| | | | | | themselves, as well as code referencing the properties, still need conversion to int's. Also, HashMaps for String and Integer in FOPropertyMapping and FObj temporarily being retained for troubleshooting purposes.) Contribution mainly from Finn Bock (Bug #25480). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197043 13f79535-47bb-0310-9956-ffa450edef68
* 1. Moved static element and property structures from PropertyList ↵Glen Mazza2003-12-2060-628/+602
| | | | | | | | | | | | (previously in former PropertyListBuilder) to FObj 2. Renamed FObj "properties" instance variable to "propertyList" (reduces confusion on the type of object holding FO property information in the code) 3. Unneeded imports removed (Finn Bock's patch, Bug #25582). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197042 13f79535-47bb-0310-9956-ffa450edef68
* Place Constants.java file in wrong location.Glen Mazza2003-12-181-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197040 13f79535-47bb-0310-9956-ffa450edef68
* Hyphenation/Quotation problem fixed ("quoted strings" not breaking properly.)Glen Mazza2003-12-151-1/+15
| | | | | | | Patch #25512 by Simon Pepping (spepping at leverkruid dot nl). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197039 13f79535-47bb-0310-9956-ffa450edef68
* 1. Removed the properties.Constants class from automatic generation, andGlen Mazza2003-12-151-0/+489
| | | | | | | | | | | | | | | | | | | added Finn Bock's work on Property and Element Constants (currently unused within application.) The CVS version is now the official one. (The new constants are not currently being used within the application; more work is needed.) 2. Build.xml has a new helper XSLTtoJAVA task separate from any of the build processes to generate the Constants class above (although its output is expected to fall behind what will be maintained in the CVS version.) 3. Some xml and xsl file renaming to make clearer the purposes of those files. 4. Removed a debug statement from PropertyList.java (forgot to remove from yesterday's work). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197038 13f79535-47bb-0310-9956-ffa450edef68
* Bug 25474--incorrect element name (table-column instead of fo:table-column) ↵Glen Mazza2003-12-141-1/+1
| | | | | | given in code. Patch by Finn Bock (bckfnn at worldonline dot dk) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197037 13f79535-47bb-0310-9956-ffa450edef68
* Consolidated PropertyListBuilder and PropertyList.Glen Mazza2003-12-143-527/+379
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197036 13f79535-47bb-0310-9956-ffa450edef68
* Moved FontSetup and two helper classes from render.pdf to fonts package.Glen Mazza2003-12-1214-62/+62
| | | | | | | | | | FontSetup has the PDF fonts as the default, but this class can be extended if/when another renderer needs its own font setups. (Cannot do this, however, for AWT's FontSetup at the moment, because its setup() has a different signature.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197031 13f79535-47bb-0310-9956-ffa450edef68
* Hyphenation improvements from Simon Pepping (Bugs #25031 and #25059) added.Glen Mazza2003-12-011-10/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197028 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Chris Bowditch's patch on padding-start implemented. (Changes wereGlen Mazza2003-11-247-142/+165
| | | | | | | | | | | | | | extended to implement part of padding-end as well.) 2.) Switched from TOP/BOTTOM/LEFT/RIGHT to BEFORE/AFTER/START/END in CommonBorderAndPadding--this is more appropriate for BlockLayout, also the various places calling it already were either (1) commenting on the need to switch to the above, or (2) placing the results of the above functions using the former constants into variables emphasizing the latter. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197023 13f79535-47bb-0310-9956-ffa450edef68
* New feature for the Ant task: relativebase="true" uses the directory of each ↵Jeremias Maerki2003-11-221-2/+28
| | | | | | | | | FO-file in a fileset as basedir. This is in contrast to the general basedir parameter. Submitted by: Joe DeVivo <fop.at.joedevivo.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197021 13f79535-47bb-0310-9956-ffa450edef68
* Style fixes onlyJeremias Maerki2003-11-2217-192/+169
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197020 13f79535-47bb-0310-9956-ffa450edef68
* RTF output: Support for fo:list-block Jeremias Maerki2003-11-2215-215/+989
| | | | | | | Submitted by: Peter Herweg <pherweg.at.web.de> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197019 13f79535-47bb-0310-9956-ffa450edef68
* 1. add method to LayoutStrategy indicating whether an FO Tree should be ↵William Victor Mote2003-11-192-0/+27
| | | | | | | | | built for this strategy 2. add logic in Driver.render() to handle the case of a LayoutStrategy that does not want to build an FO Tree git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197018 13f79535-47bb-0310-9956-ffa450edef68
* fix Unicode encoding problem in commentsWilliam Victor Mote2003-11-191-27/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197017 13f79535-47bb-0310-9956-ffa450edef68
* minor elaborationGlen Mazza2003-11-161-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197016 13f79535-47bb-0310-9956-ffa450edef68
* Peter Herweg's patch applied:Glen Mazza2003-11-151-3/+5
| | | | | | | http://nagoya.apache.org/bugzilla/showattachment.cgi?attach_id=9128 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197013 13f79535-47bb-0310-9956-ffa450edef68
* Partial implementation of space-after functionality--mostly working, butGlen Mazza2003-11-111-3/+12
| | | | | | | | | | | | | | some remaining problems: 1.) relying on a static variable to carry space-after value from previous block to current. (BlockLayoutManager is be instantiated for each block instead of being in memory for all blocks--bad design?) 2.) The space-after of a block ending at the bottom of the page is not currently being added to the beginning of the subsequent page. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197004 13f79535-47bb-0310-9956-ffa450edef68
* fo:block space-before property now activated only on the first Area.Block ↵Glen Mazza2003-11-112-4/+24
| | | | | | | | | | | | | object used in rendering the fo:block. (Previous implementation repeated space-before at the top of every page.) Suggestion from Chris Bowditch. (Space-after property still needs work: renders at the correct places but results in subsequent text overrunning region borders.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197003 13f79535-47bb-0310-9956-ffa450edef68
* Peter Herweg's latest patch applied:Glen Mazza2003-11-096-23/+30
| | | | | | | http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24533 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197002 13f79535-47bb-0310-9956-ffa450edef68
* A few more toString() implementations helpful for debugging spacingGlen Mazza2003-11-092-5/+30
| | | | | | | issues in BLM. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197001 13f79535-47bb-0310-9956-ffa450edef68
* Style fixes onlyJeremias Maerki2003-11-0815-246/+227
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197000 13f79535-47bb-0310-9956-ffa450edef68
* RTF: Add support for number-rows-spanned, height (at table-row) and ↵Jeremias Maerki2003-11-087-20/+71
| | | | | | | | | | margin-left (at table and block). Submitted By: Peter Herweg <pherweg@web.de> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196999 13f79535-47bb-0310-9956-ffa450edef68
* Now all setup code is moved from render() to getContentHandler() except for ↵Jeremias Maerki2003-11-081-16/+17
| | | | | | the FOTreeListener. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196998 13f79535-47bb-0310-9956-ffa450edef68
* Another fix, making Area Tree Renderers work again. Damn, when am I going to ↵Jeremias Maerki2003-11-081-7/+7
| | | | | | get it right? git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196996 13f79535-47bb-0310-9956-ffa450edef68
* Changed image loading to use Commons IO. Jeremias Maerki2003-11-081-15/+8
| | | | | | | Properly close InputStream. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196995 13f79535-47bb-0310-9956-ffa450edef68
* RTF: added support for fo:external-graphic Jeremias Maerki2003-11-085-6/+91
| | | | | | | Submitted By: Peter Herweg <pherweg@web.de> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196994 13f79535-47bb-0310-9956-ffa450edef68
* Fix Document construction in getContentHandler() (it was done too late)Jeremias Maerki2003-11-081-14/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196993 13f79535-47bb-0310-9956-ffa450edef68
* Not needed anymore. Everything we need is in Commons IO.Jeremias Maerki2003-11-071-243/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196992 13f79535-47bb-0310-9956-ffa450edef68
* Substantial refactoring of the PS transcoder (especially the text painting, ↵Jeremias Maerki2003-11-0714-814/+1518
| | | | | | | | | less painting using the StrokingTextPainter, therefore more speed and smaller output files) Addition of an EPS transcoder git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196990 13f79535-47bb-0310-9956-ffa450edef68
* Use different base class for user agentJeremias Maerki2003-11-071-18/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196989 13f79535-47bb-0310-9956-ffa450edef68
* Use different base class for user agent.Jeremias Maerki2003-11-071-63/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196988 13f79535-47bb-0310-9956-ffa450edef68
* Helper class for debugging in TextPaintersJeremias Maerki2003-11-071-0/+94
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196987 13f79535-47bb-0310-9956-ffa450edef68
* Tried to fix basic driver tests but didn't manage, yet. Jeremias Maerki2003-11-071-17/+15
| | | | | | | Some initialisation code moved from render() to getContentHandler(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196986 13f79535-47bb-0310-9956-ffa450edef68
* Hyphenation problem in Bug 23985 ↵Glen Mazza2003-11-071-16/+18
| | | | | | | | | (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23985) fixed in HEAD. (maintenance still to be done.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196983 13f79535-47bb-0310-9956-ffa450edef68
* toString() methods implemented for these objects for help inGlen Mazza2003-11-054-3/+30
| | | | | | | testing/debugging. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196982 13f79535-47bb-0310-9956-ffa450edef68