aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/inline
Commit message (Collapse)AuthorAgeFilesLines
* 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-268-31/+22
| | | | | | functions not needed any more git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328666 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug 36238 (at least in the PDFRenderer)Luca Furini2005-10-254-5/+7
| | | | | | | | The text is split into WordAreas and SpaceAreas: the latters (when the font is multibyte) are not affected by the Tw operator, so they are shifted in the inline progression dimension instead. The behaviour of the other renderers should be the same as before this change. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328381 13f79535-47bb-0310-9956-ffa450edef68
* Removed property values as discussed: ↵Manuel Mall2005-10-241-58/+0
| | | | | | http://marc.theaimsgroup.com/?t=112985465700004&r=1&w=2 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328060 13f79535-47bb-0310-9956-ffa450edef68
* Merged work on Temp_SpaceResolution branch into trunk (-r 320826:327988).Jeremias Maerki2005-10-241-11/+17
| | | | | | Source: http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_SpaceResolution/ git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328010 13f79535-47bb-0310-9956-ffa450edef68
* Inline block parents were not correctly positioned when border/padding got ↵Manuel Mall2005-10-141-0/+7
| | | | | | involved - matched their positioning logic with the usual inlines git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@321108 13f79535-47bb-0310-9956-ffa450edef68
* Fixing a ClassCastException due to the incorrect "pattern" of elements ↵Luca Furini2005-10-141-2/+8
| | | | | | | | representing a space checked when there are inline borders and padding. Maybe not very elegant ... but at least it works; as Manuel suggested, the removal of trailing spaces should maybe happen somewhere else. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@321084 13f79535-47bb-0310-9956-ffa450edef68
* Fixed incorrect IPD for blocks nested in inlines and added IPD adjustment ↵Manuel Mall2005-10-121-5/+8
| | | | | | for inlineblockparents with borders when rendering git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@314953 13f79535-47bb-0310-9956-ffa450edef68
* Color trait wasn't set on the text area for the "dots" leader pattern. This ↵Jeremias Maerki2005-10-121-0/+1
| | | | | | could lead to hidden dots if a background was specified. As seen in leader_leader-pattern_dots.xml. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@314808 13f79535-47bb-0310-9956-ffa450edef68
* Take the case into account when another LM starts a block sequence.Simon Pepping2005-10-111-13/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@312954 13f79535-47bb-0310-9956-ffa450edef68
* Removed unsuitable language from commentManuel Mall2005-10-101-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@312615 13f79535-47bb-0310-9956-ffa450edef68
* Added support for leader with pattern "use-content" and recovered a ↵Manuel Mall2005-10-105-15/+35
| | | | | | previously lost 1mpt due to rounding git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@312604 13f79535-47bb-0310-9956-ffa450edef68
* Update to support border and padding and alignments on inline fosManuel Mall2005-10-0717-810/+1984
| | | | 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-061-59/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@306609 13f79535-47bb-0310-9956-ffa450edef68
* Changed some identifiers. Removed obsolete field.Joerg Pietschmann2005-10-031-39/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@293461 13f79535-47bb-0310-9956-ffa450edef68
* Correct handling of letter spaces, in combination with different text ↵Luca Furini2005-09-272-72/+92
| | | | | | alignments and optional breaks ("-" and "/" characters in the text) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291913 13f79535-47bb-0310-9956-ffa450edef68
* Remove the AreaInfo objects representing trailing spaces, in order to ↵Luca Furini2005-09-207-14/+109
| | | | | | prevent them reappearing again when getChangedKnuthElements() is called. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290422 13f79535-47bb-0310-9956-ffa450edef68
* Implemented the wrap-option property.Luca Furini2005-09-161-13/+19
| | | | | | The overflow property is not yet implemented, so at the moment if wrap-option = "no-wrap" and the text overflows it invades the margins. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289531 13f79535-47bb-0310-9956-ffa450edef68
* Correct handling of the combination of hyphenation and text-align = center, ↵Luca Furini2005-09-141-11/+72
| | | | | | left or right. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280854 13f79535-47bb-0310-9956-ffa450edef68
* Factorized the creation of the elements in TextLM: now both getNextKE() and ↵Luca Furini2005-09-131-249/+184
| | | | | | | | getChangedKE() call the same methods createElementsForASpace() and crateElementsForAWordFragment(). This should definitively solve bug 36533. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280520 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile error. Removed the user agent setting because it's not used and ↵Jeremias Maerki2005-09-092-17/+1
| | | | | | the FOUserAgent can be accessed through the parent LM's FObj if this ever becomes necessary again. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279719 13f79535-47bb-0310-9956-ffa450edef68
* Fixed javadoc errors.Joerg Pietschmann2005-09-084-18/+26
| | | | | | | Added a few TODOs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279656 13f79535-47bb-0310-9956-ffa450edef68
* Removing trailing spaces at the end of text areas: this is done by storing ↵Luca Furini2005-09-081-4/+4
| | | | | | | | the Position, whose value points to the AreaInfo created for a space, inside the glue element that is ignored if there is a line break. This fixes item 2) in bug 36533. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279551 13f79535-47bb-0310-9956-ffa450edef68
* Using the fo property last-line-end-indent instead of a hard coded value.Luca Furini2005-09-071-13/+20
| | | | | | | | This fixes item 1) in bug 36533. Note that the old behaviour (before the changes) was not completely equivalent to the one requested by the specs, as the empty space was not necessarily placed at the end of the line; for example, the last line in a right-aligned paragraph was aligned as the previous lines, although shorter. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279338 13f79535-47bb-0310-9956-ffa450edef68
* Re-adjusting lines after a page-number or a page-number-citation is resolved.Luca Furini2005-09-054-18/+52
| | | | | | At the moment, only TextAreas are adjusted, the other will be fixed soon! git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278765 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36487: Jeremias Maerki2005-09-053-323/+331
| | | | | | | | | | | | | | | | Background images were incorrectly positioned in some absolute positioned blocks. Some additional attributes output by the XMLRenderer. Refactored the layout for e-g and i-f-o. Introduced common base classes for the corresponding flow objects as well as the e-g and i-f-o LMs. Fixed incorrectly applied margins on region-body when writing mode is not lr. Fixed application of correct percent base for margins and extents on regions when the reference orientation is 90 degrees. Fixed incorrectly positioned regions when writing mode is different between the simple-page-master setting and the setting on the region. Several updates to the layout engine test cases. Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278690 13f79535-47bb-0310-9956-ffa450edef68
* Initial work on enhancing the extension facilities to register special ↵Jeremias Maerki2005-09-021-1/+1
| | | | | | | | | | | | | | extensions which create so-called ExtensionAttachment objects which are attached to the formatting object they are attached to. These objects can be evaluated by standard or custom layout managers or simply passed through to the area tree (the latter is NYI). The AreaTreeHandler currently takes ExtensionAttachment objects from fo:root and fo:declarations and wraps them in OffDocumentItems that Renderers can react on to provide additional functionality on document-level (like PDF metadata or PostScript media dictionaries). Since the simple-page-master is available directly from the PageViewport the renderer can take ExtensionAttachment objects directly from there (see PSRenderer.renderPage()). Extension Elements that provide ExtensionAttachments are not added as such to the child element list of a formatting object since they work a little differently and should free memory as soon as possible. The PostScript extension described in http://wiki.apache.org/xmlgraphics-fop/ExtensionsForPostScript are now fully implemented but under the namespace URI "http://xmlgraphics.apache.org/fop/postscript", not "http://xml.apache.org/fop/extensions". I'll need to look at namespaces again separately, later. The new PSExtensionElementMapping is currently hard-coded into FOTreeBuilder as are the other ElementMapping classes. OffDocumentItem is now an interface, AbstractOffDocumentItem now providing the base functionality of the former OffDocumentItem class. Lots of clean-up and javadocs while working through this, for example: FObj.childNodes is not public anymore. Instead a special method on fo.flow.InstreamForeignObject provides the child in the one case childNodes was directly accessed. PropertyMaker access in FObj is also done through a method now, propertyListTable is now private. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@267209 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup of unused imports.Finn Bock2005-09-014-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265738 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36379:Finn Bock2005-08-3113-149/+344
| | | | | | | | | | | | 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
* Fix for text-align2.xml (for real now). The alignment used to set up the ↵Jeremias Maerki2005-08-301-5/+11
| | | | | | element list was not properly determined. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264797 13f79535-47bb-0310-9956-ffa450edef68
* Fix for ClassCastException as shown in text-align2 (Reported by Lawrence ↵Jeremias Maerki2005-08-301-3/+2
| | | | | | | | Michel). Wrong alignment was taken to remove trailing spaces. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264773 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug 35940Luca Furini2005-08-251-5/+41
| | | | | | Some more checks in order to remove all the elements representing trailing spaces at the end of a paragraph git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240050 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for Bugzilla #36248 (and inline2.xml): Jeremias Maerki2005-08-204-14/+25
| | | | | | Nest KnuthElements in inline KnuthSequences. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234042 13f79535-47bb-0310-9956-ffa450edef68
* Merged branch ↵Jeremias Maerki2005-08-126-415/+715
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock back into Trunk. Revisions: 227462 to HEAD (231261) This adds support for block-level content inside fo:inline. The full set of changes on the branch can be extracted by: svn log http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock -r 227462:231261 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232250 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
* Proper handling of the color property on page-number and page-number-citatition.Jeremias Maerki2005-08-032-9/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227245 13f79535-47bb-0310-9956-ffa450edef68
* Removing unused import.Finn Bock2005-07-282-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225743 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
* Various fixes for ID management. Jeremias Maerki2005-07-269-4/+104
| | | | | | 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
* Moved inline-level LMs and support classes to "inline" subpackage.Jeremias Maerki2005-07-1821-0/+5942
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@219509 13f79535-47bb-0310-9956-ffa450edef68