aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
Commit message (Collapse)AuthorAgeFilesLines
* Restored breakability of block-level content in inlines: Jeremias Maerki2005-08-102-5/+34
| | | | | | Treat block sequences diffently from inline sequences. A block sequence's elements should not be combined to a single box as this removes breakability. The elements are now simply wrapped and handled separately in the previously disabled code part in addAreas(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231255 13f79535-47bb-0310-9956-ffa450edef68
* State and parameter checking. Jeremias Maerki2005-08-101-3/+9
| | | | | | Update the BPD from the child, too. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231253 13f79535-47bb-0310-9956-ffa450edef68
* Fix line element list reporting. Jeremias Maerki2005-08-101-2/+4
| | | | | | TODO item for the single LineBreakPosition created for nested block-level FOs. This seems wrong to me. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231185 13f79535-47bb-0310-9956-ffa450edef68
* Background painting for inlineblockparent.Jeremias Maerki2005-08-101-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231179 13f79535-47bb-0310-9956-ffa450edef68
* area size traits for text and inlineparent areas.Jeremias Maerki2005-08-101-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231178 13f79535-47bb-0310-9956-ffa450edef68
* Missing IPD values.Jeremias Maerki2005-08-091-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231062 13f79535-47bb-0310-9956-ffa450edef68
* Auto-adjust IPD as in InlineArea. Info may not be available in LM during ↵Jeremias Maerki2005-08-091-0/+1
| | | | | | addAreas(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231060 13f79535-47bb-0310-9956-ffa450edef68
* Output area size traits for inlineblockparent.Jeremias Maerki2005-08-091-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231057 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Introduced a new member variable in LayoutContext holding the ↵Jeremias Maerki2005-08-093-2/+26
| | | | | | alignment in BP direction. Now that we have mixed inline/block capabilities the alignment must always be properly set depending on the direction we fetch the element lists for. Holding the BP alignment in the LayoutContext makes sure this information doesn't get lost when directions are mixed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231042 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Block.handleWhitespace() causes whitespace to be scanned multiple ↵Jeremias Maerki2005-08-092-0/+61
| | | | | | times without the new NullCharIterator that is now returned by Block. This simply makes sure that the recursive character iterator cannot iterate into text from other blocks. The effect was that some text was swallowed when blocks were nested in inlines. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231041 13f79535-47bb-0310-9956-ffa450edef68
* Extended comment to document the open argument.Jeremias Maerki2005-08-091-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231013 13f79535-47bb-0310-9956-ffa450edef68
* Commented unnecessary (and unsafe) line.Jeremias Maerki2005-08-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@230809 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Remove empty sequence at the end. Jeremias Maerki2005-08-081-2/+7
| | | | | | Bugfix: Don't check the "sequence" variable but the "returnList" variable for size() > 0. This ate up text. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@230807 13f79535-47bb-0310-9956-ffa450edef68
* Earlier fix was not quite right. TODO can be removed now. Jeremias Maerki2005-08-081-2/+5
| | | | | | Early null check to make debugging easier. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@230806 13f79535-47bb-0310-9956-ffa450edef68
* Typo and imports.Jeremias Maerki2005-08-081-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@230805 13f79535-47bb-0310-9956-ffa450edef68
* Deal with a mix of KnuthSequences of KnuthSequences and KnuthSequences of ↵Jeremias Maerki2005-08-082-15/+52
| | | | | | | | | KnuthElements to allow for fewer container classes. InlineLM instead of InlineStackingLM for inline part of footnote. Supposedly fixed a bug in addALetterSpace. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@230779 13f79535-47bb-0310-9956-ffa450edef68
* My work on block content in inline content sofar. Block content inSimon Pepping2005-08-0410-434/+762
| | | | | | | | | fo:inline is implemented. Basic rendering of this content is in place. BasicLinkLM uses the new structure for returning new Knuth elements git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@227471 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug 36007.Luca Furini2005-08-041-0/+1
| | | | | | | The list of elements created by the LineLM was incomplete. Thanks to Manuel Mall for signaling the bug and providing testcases. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227342 13f79535-47bb-0310-9956-ffa450edef68
* Removing dependencies of RTF library on the rest of FOP so it can be used ↵Jeremias Maerki2005-08-039-258/+244
| | | | | | | | stand-alone. Submitted by: Guillaume Déflache <guillaume.at.anyware-tech.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227252 13f79535-47bb-0310-9956-ffa450edef68
* Proper handling of the color property on page-number and page-number-citatition.Jeremias Maerki2005-08-034-39/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227245 13f79535-47bb-0310-9956-ffa450edef68
* Fix for table-body4.xml. Higher penalty values for breaks that would results ↵Jeremias Maerki2005-08-021-0/+10
| | | | | | in unwelcome table breaks. At the moment this is hard-coded to an arbitrary value and needs to be refined. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227030 13f79535-47bb-0310-9956-ffa450edef68
* Make it possible to keep block-container element lists apart from normal ↵Jeremias Maerki2005-08-022-1/+17
| | | | | | page-level element lists. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227026 13f79535-47bb-0310-9956-ffa450edef68
* Padding was ignored by the table stepper. This fixes the newly modified ↵Jeremias Maerki2005-08-021-0/+11
| | | | | | table-cell7.xml. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227015 13f79535-47bb-0310-9956-ffa450edef68
* Remove "veryveryalpha" warning.Jeremias Maerki2005-08-021-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@226975 13f79535-47bb-0310-9956-ffa450edef68
* Adjusting verticals spaces (coming from space-before and space-after ↵Luca Furini2005-08-028-61/+107
| | | | | | properties) in order to fill the region, whenever possible git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@226973 13f79535-47bb-0310-9956-ffa450edef68
* Use a more direct notify mechanism for the formatting resultsSimon Pepping2005-07-312-8/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@226627 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #35937: Jeremias Maerki2005-07-305-7/+219
| | | | | | | | | FormattingResults mechanism ported from maintenance branch to trunk. Submitted by: Manuel Mall <mm.at.arcus.com.au> Patch tweaked slightly to avoid the reference of Fop.java into the area package. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@226511 13f79535-47bb-0310-9956-ffa450edef68
* Add support for "mpt" (millipoints, non-standard!!!) Jeremias Maerki2005-07-301-4/+10
| | | | | | Reenabled warning message for unrecognized units. Otherwise, you simply get a zero value and don't know why. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@226500 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixes table-cell7 where padding wasn't handled correctly while ↵Jeremias Maerki2005-07-281-2/+28
| | | | | | adding table areas. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225893 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixes table-cell7 where display-align was off when border and/or ↵Jeremias Maerki2005-07-281-4/+4
| | | | | | padding was used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225890 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused methodJeremias Maerki2005-07-281-18/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225887 13f79535-47bb-0310-9956-ffa450edef68
* Removing unused import.Finn Bock2005-07-281-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225744 13f79535-47bb-0310-9956-ffa450edef68
* Removing unused import.Finn Bock2005-07-2813-27/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225743 13f79535-47bb-0310-9956-ffa450edef68
* Ported an important page setup instruction from the branch. GhostScript, for ↵Jeremias Maerki2005-07-281-1/+7
| | | | | | example, doesn't recognize the page size correctly, otherwise. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225739 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused import.Finn Bock2005-07-271-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225591 13f79535-47bb-0310-9956-ffa450edef68
* Buffer InputStream only when not already buffered.Jeremias Maerki2005-07-271-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225510 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: scaling factor was calculated using an integer division, not a ↵Jeremias Maerki2005-07-271-2/+2
| | | | | | double division. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225509 13f79535-47bb-0310-9956-ffa450edef68
* Improved PrintRenderer to be more easily configurable and so you can pass in ↵Jeremias Maerki2005-07-271-4/+48
| | | | | | | | your own PrinterJob instance. Bugfix for paper format construction. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225497 13f79535-47bb-0310-9956-ffa450edef68
* Changes for restoring JDK 1.3 compatibility. Jeremias Maerki2005-07-2714-70/+76
| | | | | | | | Submitted by: Robert Bielik <Robert.Bielik.at.gyros.com> (Patch committed with modifications and additional changes for test code) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225486 13f79535-47bb-0310-9956-ffa450edef68
* Various fixes for ID management. Jeremias Maerki2005-07-2610-4/+105
| | | | | | Border/Padding/Background for instream-foreign-object and external-graphic. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225304 13f79535-47bb-0310-9956-ffa450edef68
* Accessor for the id property.Jeremias Maerki2005-07-261-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225303 13f79535-47bb-0310-9956-ffa450edef68
* Small improvements. Fix for missing image areas.Jeremias Maerki2005-07-261-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225302 13f79535-47bb-0310-9956-ffa450edef68
* Send the ID of the producing FO to the area tree as trait where possible. Jeremias Maerki2005-07-269-14/+26
| | | | | | This is useful for testing and may later be interesting for FO editor implementors and for other things where you want to identify the generating FO from a particular object in the output. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225268 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for NPE when space-before and space-after are used.Jeremias Maerki2005-07-261-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225249 13f79535-47bb-0310-9956-ffa450edef68
* Made Service a stand-alone class so it can be reused. Jeremias Maerki2005-07-2515-221/+436
| | | | | | | | | | Made XMLHandler discoverable through the Service class. Moved XMLHandler collection into new XMLHandlerRegistry class. Adjusted the Renderers and XMLHandler to the above changes. This should make it easier to write certain FOP extensions. The changes were triggered by my work on the FOP extension for Barcode4J for the FOP Trunk. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225143 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #35534 Jeremias Maerki2005-07-251-0/+12
| | | | | | space-* production for list-item and list-block. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225135 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #35534 Jeremias Maerki2005-07-251-5/+12
| | | | | | space-* production for list-item. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225133 13f79535-47bb-0310-9956-ffa450edef68
* Buzilla #35787 Jeremias Maerki2005-07-191-5/+10
| | | | | | | When checking for content overflow, don't include border and padding. Clearer warning message in case of height constraint violation on table-rows. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@219685 13f79535-47bb-0310-9956-ffa450edef68
* Dynamic classpath setup in case not all required dependencies are available ↵Jeremias Maerki2005-07-181-3/+120
| | | | | | | | in the given classpath. Useful when starting FOP using "java -jar fop.jar". This is actually a replacement for the manifest "Class-Path" entry and even picks up additional JARs it finds. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@219531 13f79535-47bb-0310-9956-ffa450edef68
* Renamed Item to Cell to TableCellLayoutManager.Jeremias Maerki2005-07-185-9/+9
| | | | | | | Renamed Caption to TableCaptionLayoutManager. Adjusted SVN properties. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@219519 13f79535-47bb-0310-9956-ffa450edef68