aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/properties
Commit message (Collapse)AuthorAgeFilesLines
* Reset visibility to publicAndreas L. Delmelle2006-08-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@433398 13f79535-47bb-0310-9956-ffa450edef68
* Minor fix: set negative values to zero for b-p-d/i-p-dAndreas L. Delmelle2006-08-211-6/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@433385 13f79535-47bb-0310-9956-ffa450edef68
* Rework of the marker/retrieve-marker implementation to cater for correct ↵Andreas L. Delmelle2006-08-062-229/+123
| | | | | | evaluation of percentages and relative font-sizes, as well as more correct white-space handling. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@429168 13f79535-47bb-0310-9956-ffa450edef68
* Merge from Temp_Floats branch:Jeremias Maerki2006-08-021-31/+30
| | | | | | Fixed a bug with indent handling when margins are used on a surrounding block and not start/end-indent. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@427939 13f79535-47bb-0310-9956-ffa450edef68
* Changed license headers and updated NOTICE file according to: ↵Jeremias Maerki2006-07-2858-291/+349
| | | | | | 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 #39608:Jeremias Maerki2006-07-113-4/+16
| | | | | | Let numeric property values without a unit be treated as pixels like in HTML. This fixes certain NullPointerExceptions when no units are specified. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@420824 13f79535-47bb-0310-9956-ffa450edef68
* Fixes Bugzilla 39560: make sure the interaction between FOs and properties ↵Andreas L. Delmelle2006-06-061-47/+24
| | | | | | is only performed once git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@412224 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38946:Jeremias Maerki2006-05-036-832/+186
| | | | | | | First step for improved color handling. FOP's own ColorType was replaced with java.awt.Color throughout the codebase. Submitted by: Max Berger <max.at.berger.name> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@399185 13f79535-47bb-0310-9956-ffa450edef68
* Merged Temp_API_Finalization branch back into FOP Trunk:Jeremias Maerki2006-03-271-2/+4
| | | | | | | | | | | Finalized API according to the plan in the Wiki: http://wiki.apache.org/xmlgraphics-fop/ApiDesign In addition to that: Deprecated the rest of the Fop constructors. Refactored the FopServlet a bit to make it more versatile and still easy to understand. The FopPrintServlet is now a subclass of FopServlet. Some further cleanup on the way. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@389086 13f79535-47bb-0310-9956-ffa450edef68
* Tweak: modified warning to occur only for non-inherited props where the ↵Andreas L. Delmelle2006-02-181-5/+12
| | | | | | parent fo doesn't have an explicit value git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378709 13f79535-47bb-0310-9956-ffa450edef68
* Added default empty String to the border-* shorthands. Added warning for the ↵Andreas L. Delmelle2006-02-151-4/+10
| | | | | | case where inherit is used, but no value is available from the parent. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378017 13f79535-47bb-0310-9956-ffa450edef68
* Added support for the background-position shorthand.Andreas L. Delmelle2006-02-141-0/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377762 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
* Added implementation for the font shorthand property (+ some checkstyle cleanup)Andreas L. Delmelle2006-02-1212-29/+323
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377222 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38618:Jeremias Maerki2006-02-113-36/+51
| | | | | | | 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-101-5/+4
| | | | | | 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
* 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
* Implementation for from-table-column(). See: bugzilla 38282Andreas L. Delmelle2006-01-311-6/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373922 13f79535-47bb-0310-9956-ffa450edef68
* Added support for the white-space shorthandAndreas L. Delmelle2005-12-301-0/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359945 13f79535-47bb-0310-9956-ffa450edef68
* Tweak page-break-* shorthands; keeps now working properlyAndreas L. Delmelle2005-12-301-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359939 13f79535-47bb-0310-9956-ffa450edef68
* 1) Added support for the page-break-* shorthandsAndreas L. Delmelle2005-12-292-0/+127
| | | | | | | 2) Minor tweak: added validity check for reference-orientation git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359890 13f79535-47bb-0310-9956-ffa450edef68
* As announced, I brought FontTriplet to more life by making it Serializable ↵Jeremias Maerki2005-12-221-2/+5
| | | | | | and using it to transport the information about the font in use through the area tree. This has small effects on the test cases as the values in the generated XML are slightly different. While refactoring I saw that there's some room for optimization. Too many objects are still created. It should be quite easy now with the FontTriplet to create a small cache. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358613 13f79535-47bb-0310-9956-ffa450edef68
* Made the locator variable on FONode protected.Jeremias Maerki2005-12-091-1/+1
| | | | | | | Locator information is duplicated using SAX's LocatorImpl. Otherwise, the info returned by the Locator information is only valid during FO tree building and validation. If desired code could be added to disable storing locator information even if it is available to use less memory (one LocatorImpl instance per FO tree node) in FOTreeBuilder. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@355428 13f79535-47bb-0310-9956-ffa450edef68
* Alternative set of rules for text indent calculation (start-indent and ↵Jeremias Maerki2005-12-071-0/+88
| | | | | | | | | end-indent) which tries to mimic many commercial FO implementation that have chosen to break the specification in this aspect. I think I have found the behaviour for most cases. But I'm operating in reverse-engineering mode here and not all FO implementations behave in the same way! This is an optional feature that has to be explicitely enabled through the user agent. Otherwise, FOP will behave like before. In the FO tree tests a processing instruction is used to enable the feature/bug ;-) in the user agent so I can test both cases. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@354763 13f79535-47bb-0310-9956-ffa450edef68
* font-family list still not fully supported but a comma-separated list is now ↵Jeremias Maerki2005-12-022-4/+119
| | | | | | properly tokenized. FOP will now go through all fonts in the list to find one that is available, but it doesn't do so per character, yet. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@351734 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37521: Jeremias Maerki2005-11-241-3/+3
| | | | | | | Fixed typo. Submitted by: Matthew Daniel <bugzilla.at.mdaniel.scdi.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348751 13f79535-47bb-0310-9956-ffa450edef68
* Updated from Jakarta Commons IO 1.0 to 1.1. CopyUtils.copy() becomes ↵Jeremias Maerki2005-11-142-33/+46
| | | | | | | | | IOUtils.copy() again. CopyUtils in 1.0 was not ideal design decision. Fixed most of the unappropriate System.err/System.out/Exception.printStackTrace(). Those that aren't fixed and are not legitimate calls (in main() methods etc.) are marked with a TODO item. Some Javadocs and style updates. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344111 13f79535-47bb-0310-9956-ffa450edef68
* Package documentation.Jeremias Maerki2005-10-271-0/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328824 13f79535-47bb-0310-9956-ffa450edef68
* Fixed various javadoc problems, fixed a deprecation warning, removed ↵Manuel Mall2005-10-262-2/+2
| | | | | | functions not needed any more git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328666 13f79535-47bb-0310-9956-ffa450edef68
* toString() a little more compact.Jeremias Maerki2005-10-131-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@320819 13f79535-47bb-0310-9956-ffa450edef68
* An accessor I need for space resolution.Jeremias Maerki2005-10-131-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@320818 13f79535-47bb-0310-9956-ffa450edef68
* Update to support border and padding and alignments on inline fosManuel Mall2005-10-071-0/+142
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@307055 13f79535-47bb-0310-9956-ffa450edef68
* Cosmetic changes to identifiers, comments and other stylistic corrections.Joerg Pietschmann2005-10-062-56/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@306609 13f79535-47bb-0310-9956-ffa450edef68
* Removed warning for padding (r291267); padding never seems to be null, so ↵Andreas L. Delmelle2005-09-251-6/+0
| | | | | | warning was given for all tables... git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291457 13f79535-47bb-0310-9956-ffa450edef68
* Minor tweak: avoid test for auto if value is indefiniteAndreas L. Delmelle2005-09-251-5/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291399 13f79535-47bb-0310-9956-ffa450edef68
* Added check for both page-height and page-width set to indefinite; use ↵Andreas L. Delmelle2005-09-241-9/+37
| | | | | | fallback (auto) for the appropriate one git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291351 13f79535-47bb-0310-9956-ffa450edef68
* Added custom Maker for page-height and page-width; use fallback values in ↵Andreas L. Delmelle2005-09-241-0/+70
| | | | | | case value is auto git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291338 13f79535-47bb-0310-9956-ffa450edef68
* Moved check for explicit column-number to ColumnNumberPropertyMakerAndreas L. Delmelle2005-09-241-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291270 13f79535-47bb-0310-9956-ffa450edef68
* Added warning for padding on table with collapsing border-modelAndreas L. Delmelle2005-09-241-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291267 13f79535-47bb-0310-9956-ffa450edef68
* Added warning for non-applicable borders in case of separate border-modelAndreas L. Delmelle2005-09-231-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291194 13f79535-47bb-0310-9956-ffa450edef68
* Added fallback for specified negative or zero for column-numberAndreas L. Delmelle2005-09-211-0/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290736 13f79535-47bb-0310-9956-ffa450edef68
* Correction of style violationsAndreas L. Delmelle2005-09-191-13/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290268 13f79535-47bb-0310-9956-ffa450edef68
* Implementation for initial values of the column-number propertyAndreas L. Delmelle2005-09-171-0/+67
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289865 13f79535-47bb-0310-9956-ffa450edef68
* Provide the TABLE_UNITS base value through the PrecentageBaseContext.Jeremias Maerki2005-09-161-6/+9
| | | | | | | Remove the LayoutDimension mechanism entirely. This fixes a problem with proportional-column-width() in nested tables. The LayoutDimension mechanism would look in the parent table for the base value when the base value for the actual table was only just calculated. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289439 13f79535-47bb-0310-9956-ffa450edef68
* Removal of ColumnNumberPropertyMaker.java (until all further conflicts have ↵Andreas L. Delmelle2005-09-154-57/+9
| | | | | | been resolved) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289198 13f79535-47bb-0310-9956-ffa450edef68
* Added new Maker subclass for the column-number propertyAndreas L. Delmelle2005-09-151-0/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289197 13f79535-47bb-0310-9956-ffa450edef68
* Style fixes. Jeremias Maerki2005-09-141-6/+6
| | | | | | Assimilate toString() with SpaceProperty's toString(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280857 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36068:Finn Bock2005-09-121-17/+30
| | | | | | | | | 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
* Fixed javadoc errors.Joerg Pietschmann2005-09-0818-62/+42
| | | | | | | Added a few TODOs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279656 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup of unused imports.Finn Bock2005-09-013-9/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265738 13f79535-47bb-0310-9956-ffa450edef68