aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PR:Glen Mazza2004-09-0613-16/+14
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Moved hyphenation package to org.apache.fop.hyphenation git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197909 13f79535-47bb-0310-9956-ffa450edef68
* These new classes are part of the implementation of the new lineSimon Pepping2004-09-055-0/+177
| | | | | | | breaking algorithm, patch 29124, submitted by Luca Furini. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197908 13f79535-47bb-0310-9956-ffa450edef68
* New line breaking algorithm, patch 29124, submitted by LucaSimon Pepping2004-09-0515-349/+2459
| | | | | | | | | | | | | Furini. This patch implements the algorithm for most but not yet all inline layout managers. For the algorithm, see D.E. Knuth and M.F. Plass, "Breaking paragraphs into lines", Software, Practice and Experience 11 (1981) 1119-1184; reprinted in: D. E. Knuth, "Digital typography", CSLI Lecture Notes Number 78 (CLSI Publications, Stanford, CA, USA) pp. 67-155. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197907 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-09-051-34/+0
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Removed unneeded datatype. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197906 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-09-051-75/+0
| | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Removed unused TextState class, Area.Trait currently is used for this purpose. See: http://marc.theaimsgroup.com/?l=fop-dev&m=104204030026900&w=2 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197905 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-09-051-50/+0
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Removed unused AreaClass.java, its enums already exist in area.Area. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197904 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-09-0518-236/+174
| | | | | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: 1.) AddChildNode(), characters() modified to throw SAXParseException to allow AddChildNode() to do validation of its own. 2.) Better child validation added to PageSequence.java. 3.) Various other code cleanups. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197903 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Validation for fo:multi-toggle added.Glen Mazza2004-09-044-29/+30
| | | | | | | 2.) Switch to faster int's for findAncestor(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197902 13f79535-47bb-0310-9956-ffa450edef68
* 1.) validateChildNode() implemented for fo:table-cell.Glen Mazza2004-09-0411-195/+141
| | | | | | | 2.) various code cleanups throughout the FO's. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197901 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary scale factor. This made all images added via SVG three ↵Jeremias Maerki2004-09-031-7/+4
| | | | | | | | | | | times bigger than they need to be. The scale factor doesn't exist in PSGraphics2D. Here's where this scale factor was introduced: http://cvs.apache.org/viewcvs.cgi/xml-fop/src/org/apache/fop/svg/Attic/PDFGraphics2D.java?r1=1.18&r2=1.19&diff_format=h Also reported by Jay Chiu for Fop 0.20.5 (Feb 2004) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197900 13f79535-47bb-0310-9956-ffa450edef68
* Fixed filename of stylesheet for case-sensitive file systems.Jeremias Maerki2004-08-303-3/+3
| | | | | | | Submitted by: Heikki Linnakangas <hlinnaka.at.iki.fi> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197899 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Some flattening of the Region classes done, with the goal of movingGlen Mazza2004-08-3025-138/+167
| | | | | | | | | some of its layout logic to PageLayoutManager. 2.) New helper function getPropEnum() added. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197898 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-08-299-14/+12
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Simplified the region constructors. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197897 13f79535-47bb-0310-9956-ffa450edef68
* Removed the redundant Region Class Codes in favor of the FO constantGlen Mazza2004-08-2918-102/+66
| | | | | | | identifiers. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197896 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-08-2914-51/+43
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Convenience method fobj.getPropLength() added to simplify some of the code. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197895 13f79535-47bb-0310-9956-ffa450edef68
* Minor edits to adjustIPD() methods.Glen Mazza2004-08-292-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197894 13f79535-47bb-0310-9956-ffa450edef68
* Three more validateChildNodes() added.Glen Mazza2004-08-293-3/+118
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197893 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-08-273-75/+3
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Some code cleanup in Title and PageNumberGenerator, removal of apparently unused logger instance from latter. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197892 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-08-274-106/+56
| | | | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: 1.) Removed PageMasterReference.java, no longer needed. 2.) Added validateChildNode() to XMLOBJ.java to check that the parent of an XSL FO is itself an XSL FO. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197891 13f79535-47bb-0310-9956-ffa450edef68
* Moved some functionality from LMiter to the LayoutManagers. The LMsSimon Pepping2004-08-2611-100/+238
| | | | | | | | | | now hold the list of child LMs and the method preLoadNext. This makes it possible to create a new LMiter object for a LM, or even a list iterator over the list of child LMs if the latter is known to be complete. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197890 13f79535-47bb-0310-9956-ffa450edef68
* 1. Implemented validateChildNode() for fo:simple-page-master. This may ↵Glen Mazza2004-08-2566-166/+236
| | | | | | | | | | | | | | | cause some stress with the user community--as any declared fo:region-xxxx children must follow a specific ordering. 2. Modified several of our sample and test FO files to be compliant with the XSL spec with respect to the change above. 3. @todo's added to FO's still missing validateChildNode() 4. New FONode missingPropertyError() method created, for the major cases where missing properties should halt processing. 5. Various cleanup in our layout-master-set and region classes, including the removal of error checks that are no longer needed due to validateChildNode() being implemented. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197889 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-08-238-58/+67
| | | | | | | | | | | Obtained from: Submitted by: Reviewed by: ToBeImplementedElement removed in favor of one-time static warning messages in the "unimplemented" FO's. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197888 13f79535-47bb-0310-9956-ffa450edef68
* Rewrite formatDateTime() to be compatible with JDK 1.3 again.Jeremias Maerki2004-08-231-4/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197887 13f79535-47bb-0310-9956-ffa450edef68
* Minor edits.Glen Mazza2004-08-222-13/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197886 13f79535-47bb-0310-9956-ffa450edef68
* 1.) validateChildNode() implemented for fo:multi-properties.Glen Mazza2004-08-2111-20/+69
| | | | | | | | | 2.) fo:multi-properties disconnected from ToBeImplementedElement. 3.) increased usage of FObj.getPropString() throughout application. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197885 13f79535-47bb-0310-9956-ffa450edef68
* 1.) validateChildNode() added for fo:marker.Glen Mazza2004-08-206-44/+57
| | | | | | | | | | | 2.) new getPropString() convenience method added to FObj, will reduce need for many individual methods on each FO. 3.) fo:float disconnected from ToBeImplementedElement in favor of a class-specific warning. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197883 13f79535-47bb-0310-9956-ffa450edef68
* 1. Moved getNameId() from FObj to FONode.Glen Mazza2004-08-1818-158/+122
| | | | | | | | | | | 2. Centralized determination of generatesInlineAreas() from multiple FObj subclasses into fo.PropertySets BitSet object. 3. validateChildNode() implemented for fo:list-item. 4. fo:initial-property-set now extending FObj instead of ToBeImplementedElement; burden of implementation on individual FOInputHandler subclasses. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197882 13f79535-47bb-0310-9956-ffa450edef68
* Fix JPEG with many long APPS markers.Jeremias Maerki2004-08-162-17/+92
| | | | | | | | Also defers the creation of the original node until it absolutely has to thus avoiding decoding the JPEG file and creating the raster unless needed. Submitted by: Thomas DeWeese <Thomas.DeWeese.at.Kodak.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197881 13f79535-47bb-0310-9956-ffa450edef68
* Fix getPixelUnitToMillimeterJeremias Maerki2004-08-162-2/+5
| | | | | | | Submitted by: Thomas DeWeese <Thomas.DeWeese.at.Kodak.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197880 13f79535-47bb-0310-9956-ffa450edef68
* Fix implementations after logging changes to correspond to the interface again.Jeremias Maerki2004-08-163-18/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197879 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused importJeremias Maerki2004-08-162-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197878 13f79535-47bb-0310-9956-ffa450edef68
* 1.) fo:wrapper layout initialization logic moved from AddLMVisitor toGlen Mazza2004-08-168-143/+50
| | | | | | | | | | | | fo.flow.Wrapper. 2.) Temporary class LMVisited dropped. 3.) AddLMVisitor dropped, its LM list moved to its parent AreaTreeHandler object. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197877 13f79535-47bb-0310-9956-ffa450edef68
* 1. fo:leader layout initialization logic moved from AddLMVisitor toGlen Mazza2004-08-1613-147/+206
| | | | | | | | | | | | fo.flow.Leader. 2. fo:leader layout logic moved from AddLMVisitor to new layoutmgr.LayoutLeaderManager class. 3. validateChildNode() for fo:list-block implemented. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197876 13f79535-47bb-0310-9956-ffa450edef68
* JDK 1.5 compile-time compatibility (still doesn't compile under 1.5, yet)Jeremias Maerki2004-08-155-25/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197875 13f79535-47bb-0310-9956-ffa450edef68
* Style-up for example classes.Jeremias Maerki2004-08-152-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197874 13f79535-47bb-0310-9956-ffa450edef68
* Updated Common IO to first release.Jeremias Maerki2004-08-143-8/+13
| | | | | | | | Build updated so the transcoder packages are built correctly (reflecting the changes in the source code) JUnit failures now let the build fail (note: JUnit is currently not activated in Gump runs) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197872 13f79535-47bb-0310-9956-ffa450edef68
* 1.) fo:Instream-Foreign-Object initialization logic moved from AddLMVisitorGlen Mazza2004-08-145-210/+256
| | | | | | | | | | | | to flow.InstreamForiegnObject.java, and the layout logic itself moved to a new layoutmgr.InstreamForeignObjectLM.java. (Broke with usual nomenclature of adding ~LayoutManager to end, given that newer 1.1 and post-1.1 FO names are getting even larger.) 2.) validateChildNode() added for fo:inline. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197871 13f79535-47bb-0310-9956-ffa450edef68
* Adjusting to changes in XmlObj, making the sample extensions compile again.Jeremias Maerki2004-08-142-5/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197870 13f79535-47bb-0310-9956-ffa450edef68
* 1. Character LM initialization moved from AllLMVisitor to fo.Character.Glen Mazza2004-08-135-52/+96
| | | | | | | | | 2. Character layout logic moved from AllLMVisitor to new CharacterLayoutManager. 3. validateChildNode() implemented for fo:footnote-body. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197869 13f79535-47bb-0310-9956-ffa450edef68
* Support for [letter|word]-spacing properties with a value of 'normal'.Finn Bock2004-08-134-8/+79
| | | | | | | | | | | | The value returned will be an Constants.NORMAL enum. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197868 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Layout initialization logic for fo:table, fo:table-header, and ↵Glen Mazza2004-08-137-267/+272
| | | | | | | | | | | | | | | | | | fo:table-footer moved from AddLMVisitor to fo.Table. 2.) Layout logic for fo:external-graphic moved from fo.ExternalGraphic to layoutmgr.ExternalGraphicLayoutManager. 3.) Partial implementation of validateChildNode() for fo:footnote. 4.) fox:destination commented out from images.fo sample until purpose, content model better defined. Also needs a Maker class. (Does not appear to work in either maintenance or HEAD.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197867 13f79535-47bb-0310-9956-ffa450edef68
* 1.) LM initialization logic for fo:table-body, fo:table-footer, and ↵Glen Mazza2004-08-1110-97/+142
| | | | | | | | | | | | | fo:table-header moved out of AddLMVisitor. 2.) New LayoutManager subclass created for fo:external-graphic formatting object. 3.) ValidateChildNode(), endOfNode() implemented for fo:float. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197866 13f79535-47bb-0310-9956-ffa450edef68
* 1. For maintenance and accuracy, centralized the setupID() functionalityGlen Mazza2004-08-1132-572/+119
| | | | | | | | | | | | from the various FO's to the FObj base class. 2. Created a lookup bitset in PropertySets to help accomplish the above. 3. Generally moved initialization code from the setup() methods to the addProperties() methods in the various FO subclasses. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197865 13f79535-47bb-0310-9956-ffa450edef68
* This change allows users to set the level of the javadocs task toSimon Pepping2004-08-101-3/+31
| | | | | | | | | | | | | private, package or public. It also allows users to set a user hyphenation directory from which hyphenation files are compiled and added to the hyph directory in the build. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197864 13f79535-47bb-0310-9956-ffa450edef68
* 1.) fo:retrieve marker layout initialization moved from AddLMVisitor to ↵Glen Mazza2004-08-106-150/+201
| | | | | | | | | | | RetrieveMarker class. 2.) New PageNumberCitationLayoutManager class created, layout logic imported from fo.flow.PageNumberCitation to this new class. 3.) validateChildNode() implemented for fo:block. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197863 13f79535-47bb-0310-9956-ffa450edef68
* Created a BitSet indicating FO's that can contain fo:marker child elements,Glen Mazza2004-08-0818-127/+33
| | | | | | | removed all containsMarkers() methods from FObj subclasses. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197862 13f79535-47bb-0310-9956-ffa450edef68
* Implemented getNameId() which returns the Constants enumeration IDGlen Mazza2004-08-0859-5/+413
| | | | | | | for the FO. For future array work or to reduce the amount of string comparisons being done. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197861 13f79535-47bb-0310-9956-ffa450edef68
* Moved fo:page-number layout code from AddLMVisitor to new ↵Glen Mazza2004-08-083-92/+81
| | | | | | PageNumberLayoutManager class. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197860 13f79535-47bb-0310-9956-ffa450edef68
* 1. new FONode.invalidChildError method added that will takes a ↵Glen Mazza2004-08-0718-192/+208
| | | | | | | | | | | | | | | "ruleViolated" string for more detailed error messages. 2. FO_URI added to FONode to decrease the number of imports of FOElementMapping within the FONode subclasses. 3. Layout logic moved from fo.flow.BasicLink to a new BasicLinkLayoutManager class. 4. BidiLayoutManager constructor modified, now needs the flow.BidiOverride object. 5. ListItemLayoutManager setup moved from AddLMManager to flow.Listitem and layoutmgr.list.ListItemLayoutManager. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197859 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-08-0615-235/+207
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Moved three FO's from AddLMVisitor->FObj.AddLayoutManager(); will eventually need to create additional LM's for at least two of them to remove the Area-specific code these FO's now have. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197858 13f79535-47bb-0310-9956-ffa450edef68