aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/Constants.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix for a tiny but very nasty bug...Andreas L. Delmelle2007-07-051-18/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@553612 13f79535-47bb-0310-9956-ffa450edef68
* Implemented limited support for extension properties through new methods on ↵Jeremias Maerki2006-09-111-2/+6
| | | | | | | | | | ElementMapping (backwards-compatible). Moved block-progression-unit into the fox: namespace. Implemented new extension properties: fox:orphan-content-limit and fox:widow-content-limit for fo:table and fo:list-block. See documentation for details. Bugfix in ElementListUtils.removeLegalBreaks (concerning box/glue combinations). Added a unit test to cover the problem. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@442282 13f79535-47bb-0310-9956-ffa450edef68
* Changed license headers and updated NOTICE file according to: ↵Jeremias Maerki2006-07-281-5/+6
| | | | | | http://www.apache.org/legal/src-headers.html git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@426576 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39118:Jeremias Maerki2006-04-231-2/+4
| | | | | | | | | | | | | Initial support for page-number-citation-last (XSL 1.1). Works without problems only for page-sequence so far. Submitted by: Pierre-Henri Kraus <phkraus.at.skynet.be> Modifications to the patch by jeremias during review: - Tab character removed - Some style fixes and javadoc enhancements - Renamed some methods in AreaTreeHandler to some more speaking names - Changed the ..._basic.xml testcase so it shows a remaining problem: Forward references are not properly resolved, yet. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@396243 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
* Command-line support for the intermediate format: Use "-atin" to specify an ↵Jeremias Maerki2006-01-241-16/+9
| | | | | | | | area tree XML file. Refactoring of the InputHandler to accomodate the IF as input format and to make responsibilities clearer in general. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@371922 13f79535-47bb-0310-9956-ffa450edef68
* Added a few missing constants...Andreas L. Delmelle2005-12-301-15/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359938 13f79535-47bb-0310-9956-ffa450edef68
* Merge from Branch fop-0_91:Jeremias Maerki2005-12-231-32/+3
| | | | | | Deprecated Fop constructors that use the integer constants for output format selection removed as discussed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358882 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36068:Finn Bock2005-09-121-1/+29
| | | | | | | | | Validation added for font-style and font-weight by making both properties enums. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280286 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36379:Finn Bock2005-08-311-12/+523
| | | | | | | | | | | | Revised percentage resolution system. Submitted by: Manuel Mall <mm.at.arcus.com.au> Slightly modified to avoid early evaluation of getValue(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265577 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla: #33760Jeremias Maerki2005-06-091-2/+6
| | | | | | | | | | | Resurrected Java2D/AWT Renderer (including bitmap output to PNG and TIFF using the Batik codecs and print capability). Submitted by: Renaud Richardet <renaud.richardet.at.gmail.com> Changes on the original patch: - PageViewport: isResolved() caused a NPE which I fixed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198725 13f79535-47bb-0310-9956-ffa450edef68
* Merge of branch Temp_KnuthStylePageBreaking back into HEAD.Jeremias Maerki2005-05-131-2/+5
| | | | | | | Temp_KnuthStylePageBreaking branch and HEAD have been tagged prior to the merge, so merging uncommitted work from the branch should be easier. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198627 13f79535-47bb-0310-9956-ffa450edef68
* Addition of new fo:page-sequence-wrapper FO from XSL 1.1. Currently not ↵Glen Mazza2005-01-311-5/+8
| | | | | | "plugged in" (it is commented out in FOElementMapping) nor functionally implemented. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198353 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-01-111-2/+1
| | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: 1.) EnumProperty starting-state implemented. 2.) Switch from "makeEnumProperty" to slightly more intuitive "getEnumProperty" in FOPropertyMapping. 3.) Removed no longer used canHaveIds array in PropertySets. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198250 13f79535-47bb-0310-9956-ffa450edef68
* 1.) fox:label converted to 1.1 fo:bookmark-title.Glen Mazza2005-01-061-1/+2
| | | | | | | 2.) FObj, FObjMixed, InlineLevel made abstract. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198227 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-01-041-1/+2
| | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Converted fox:outline to fo:bookmark. fox:label/fo:bookmark-title still to be done. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198221 13f79535-47bb-0310-9956-ffa450edef68
* Switched from fox:bookmarks to fo:bookmark-tree (of XSL 1.1 2WD). Two moreGlen Mazza2005-01-021-1/+2
| | | | | | | | bookmark-related FO's (fox:outline and fox:label) need conversion and will be done next. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198216 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-12-251-205/+204
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: "End of Year" constant cleanup. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198210 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-11-241-500/+162
| | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: 1.) Removed unneeded enumeration interfaces from fo.Constants. 2.) Appended EN_ to enumeration constants to make them better S&R'able throughout app. 3.) Added an EN_INHERIT enumeration constant (although not currently used in the system.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198175 13f79535-47bb-0310-9956-ffa450edef68
* More properties implemented.Finn Bock2004-10-291-1/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198112 13f79535-47bb-0310-9956-ffa450edef68
* The 'space-treatment' property has long ago been renamed toFinn Bock2004-10-291-1/+1
| | | | | | | 'white-space-treatment'. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198111 13f79535-47bb-0310-9956-ffa450edef68
* More properties implement in the property subsystem.Finn Bock2004-10-291-2/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198108 13f79535-47bb-0310-9956-ffa450edef68
* Changed initial-page-number from string to number property.Finn Bock2004-09-131-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197947 13f79535-47bb-0310-9956-ffa450edef68
* Added NO_LIMIT enum (value to maximum-repeats).Finn Bock2004-09-071-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197931 13f79535-47bb-0310-9956-ffa450edef68
* Added line-stacking-strategy enums.Finn Bock2004-09-071-1/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197929 13f79535-47bb-0310-9956-ffa450edef68
* Added ENUM_COUNT constant.Finn Bock2004-09-071-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197916 13f79535-47bb-0310-9956-ffa450edef68
* 1. Moved getNameId() from FObj to FONode.Glen Mazza2004-08-181-1/+1
| | | | | | | | | | | 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
* Implemented getNameId() which returns the Constants enumeration IDGlen Mazza2004-08-081-1/+2
| | | | | | | 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
* Combined the apps.Driver class into apps.Fop. (195 LOC total.) PrimaryGlen Mazza2004-07-241-1/+1
| | | | | | | | | | | | | | | | | | | benefit is to make Fop self-documenting in external code, also none of the API ideas called for retention of the Driver class (even if there were different ideas for its replacement). Let's try this for a few weeks, if it confuses people too much (or when the API starts to grow again) we can bring back Driver, possibly under a different name, apps.FopProcess, perhaps. See also: http://marc.theaimsgroup.com/?l=fop-dev&m=108947697611032&w=2 http://marc.theaimsgroup.com/?l=fop-dev&m=108966015504506&w=2 http://marc.theaimsgroup.com/?l=fop-dev&m=108942673103344&w=2 http://marc.theaimsgroup.com/?l=fop-dev&m=108958756030147&w=2 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197827 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Moved Renderer instantiation from Driver to FOTreeHandler, as it is the ↵Glen Mazza2004-06-271-0/+3
| | | | | | | | | | | | | | | | | | only FOInputHandler subclass concerned with Renderer creation. (MIFHandler and RTFHandler are hardcoded to a particular renderer-type). 2.) Added a RendererOverride member variable in FOUserAgent, for use by AWTRenderer as well as external (i.e. user-defined) renderers. FOTreeHandler coded to reference it. 3.) Flow validity checking which was added yesterday temporarily commented-out; I misread the content model from the spec (I will have to account for fo:markers as initial children.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197746 13f79535-47bb-0310-9956-ffa450edef68
* 1. Output constant types (RENDER_PDF, RENDER_PS, etc.) made common betweenGlen Mazza2004-06-261-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | CommandLineOptions and Driver, and factored into fo.Constants interface. 2. New Driver(AWTRenderer renderer) constructor added in apps.Driver for the AWTRenderer (which does reloading, unique among the output types.) Note reloading currently doesn't work--AWTRenderer not yet functional. 3. Driver.hasData() method removed from API--a search on when it was implemented dates it to 2001, when reset() was coded. Unsure of its need, and so removed until we have user requests for it. 4. Renderers abstracted away from API in favor of just calling .setRenderer(int Rendertype), and configuring user-configurable options in FOUserAgent. 5. Driver.setRenderer(String <renderer class name>) also dropped. If external user need for it, can be re-implemented fairly easily via a "renderer override" string in FOUserAgent, for which FOTreeHandler can read and use instead. 6. Validity checking added to fo:flow, and convenience functions defining the "%block;" parameter entity and neutral containers as defined in 6.2 of spec [1] added to FObj. [1] http://www.w3.org/TR/2001/REC-xsl-20011015/slice6.html#section-N9447-Formatting-Object-Content git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197745 13f79535-47bb-0310-9956-ffa450edef68
* Applied Apache License Version 2.0 by following the instructions at ↵Jeremias Maerki2004-02-271-48/+16
| | | | | | http://www.apache.org/dev/apply-license.html. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197384 13f79535-47bb-0310-9956-ffa450edef68
* Interfaces now in alphabetical order and detached from generic interfacesGlen Mazza2004-01-201-169/+225
| | | | | | | | in autogenerated fo.properties.*; patch from Finn Bock--unneeded method in PropertyInfo. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197220 13f79535-47bb-0310-9956-ffa450edef68
* Moved the interfaces into the Constants class on a trial basis (we may stillGlen Mazza2004-01-171-3/+285
| | | | | | | | | | | | choose to remove them in favor of strictly using Constants.) Two interfaces (span and position) were removed because of conflicts with other class names. The interface generation was moved into Constants.xsl, which is run manually via the XsltToJava ant task and its output is then checked in. As a result, no more autogeneration of these interfaces at build time will be done. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197213 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2003-12-221-0/+489
| | | | | | | | | | | | | | 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
* Place Constants.java file in wrong location.Glen Mazza2003-12-181-489/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197040 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