aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java
Commit message (Collapse)AuthorAgeFilesLines
* Transition source to standard maven hierarchy (initial).Glenn Adams2016-03-031-544/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/maven@1733433 13f79535-47bb-0310-9956-ffa450edef68
* [Test commit rights] Move otherwise unreachable null checkAndreas L. Delmelle2015-05-081-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1678425 13f79535-47bb-0310-9956-ffa450edef68
* Merged branches/Temp_BasicSideFloat back to trunk.Luis Bernardo2014-12-021-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1642793 13f79535-47bb-0310-9956-ffa450edef68
* Added support for default alignment of inline-container areas with their ↵Vincent Hennebert2013-11-061-0/+28
| | | | | | parent areas git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_InlineContainer@1539441 13f79535-47bb-0310-9956-ffa450edef68
* Cosmetics only: enabled Checkstyle ParenPad rule and fixed corresponding ↵Vincent Hennebert2013-04-091-1/+1
| | | | | | violations git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1466146 13f79535-47bb-0310-9956-ffa450edef68
* fixes checkstyles issues from revisions 1391502 and 1400536Luis Bernardo2012-11-041-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1405526 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla#53924: Support for retrieve-table-markers, submitted by Luis Bernardo.Mehdi Houshmand2012-09-281-9/+52
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1391502 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #45715: Break before (break-before) not respected on blocks nested ↵Glenn Adams2012-05-041-2/+1
| | | | | | in inlines. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1334058 13f79535-47bb-0310-9956-ffa450edef68
* disable line breaks after DOT with NoWhiteSpaceAfter; fix violationsGlenn Adams2012-03-051-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297232 13f79535-47bb-0310-9956-ffa450edef68
* enable ImportOrder rule; fix violationsGlenn Adams2012-03-031-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296526 13f79535-47bb-0310-9956-ffa450edef68
* apply complex scripts patchGlenn Adams2012-02-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1293736 13f79535-47bb-0310-9956-ffa450edef68
* Got a bit ahead of myself, again...Andreas L. Delmelle2011-02-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067692 13f79535-47bb-0310-9956-ffa450edef68
* Fixups, type safety...Andreas L. Delmelle2011-02-061-41/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067691 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #49733:Jeremias Maerki2010-08-141-0/+4
| | | | | | | | | | | | | | Resolved compilation (safe one), Checkstyle and many Javadoc warnings. Submitted by: Glenn Adams <glenn.at.skynav.com> Changes to patch: - Restored the deprecated Graphics2DAdapter method (to be removed after Barcode4J 2.1 is released). - Restored Renderer.startPageSequence(LineArea) pending discussion about removal. - build.xml: set max VM to 1024MB instead of 2048MB to allow for 32-bit JVMs. - build.xml: restored longer taskdef names. - Restored Checkstyle 4 file for people running older IDEs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985537 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #48071: made the MinOptMax class immutable. Also, lots of clean ups ↵Vincent Hennebert2009-12-221-5/+5
| | | | | | | | | and minor refactorings. Patch submitted by Alexander Kiel. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@893238 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix in Changing IPD: reset only the children LMs that have been created ↵Vincent Hennebert2009-11-241-5/+3
| | | | | | so far. Layout managers following a forced break have not even been created yet. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@883709 13f79535-47bb-0310-9956-ffa450edef68
* Merged back ChangingIPDHack branch into TrunkVincent Hennebert2009-08-261-7/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@808157 13f79535-47bb-0310-9956-ffa450edef68
* Reverted changes made in revision 796809 (manual merge of clean-up changes ↵Vincent Hennebert2009-08-261-7/+7
| | | | | | made in the ChangingIPDHack branch). Those changes will be re-applied when merging the branch back to Trunk with svn merge --reintegrate (if everything goes well...) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@808135 13f79535-47bb-0310-9956-ffa450edef68
* Merged clean-up-only changes made in the ChangingIPDHack branch. Those ↵Vincent Hennebert2009-07-221-7/+7
| | | | | | | | | | | | | | correspond to the following revision numbers: 785291 785632 787733 787769 788371 793645 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@796809 13f79535-47bb-0310-9956-ffa450edef68
* Added support for adding extension elements and foreign attributes on ↵Jeremias Maerki2009-03-011-10/+36
| | | | | | | | | | fo:page-sequence. AFP: Added support for Invoke Medium Map (IMM). AFP: Fixed a bug adding TLEs in DataStream (TLEs were added to the page group instead of to the page). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@748981 13f79535-47bb-0310-9956-ffa450edef68
* Fed up with all those trailing whitespaces. Let's remove them all (once... ↵Vincent Hennebert2008-07-241-10/+10
| | | | | | and for all?) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@679326 13f79535-47bb-0310-9956-ffa450edef68
* Replaced LinkedList with generic List interfaceMaximilian Berger2008-06-091-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@665699 13f79535-47bb-0310-9956-ffa450edef68
* Make the LM clean up on end-of-layout, if possible.Andreas L. Delmelle2008-05-111-10/+29
| | | | | | | Added clearChildNodes() method to FObj to release the reference to the FO's children. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@655309 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 44794:Andreas L. Delmelle2008-05-091-3/+19
| | | | | | | | | | Added support for page-number-citation and page-number-citation-last of fo:inline. Corrected behavior for page-number-citation-last of fo:block - forward references properly resolved. (+ support for page-number-citation-last on list-related FOs) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@654946 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle and minor typo fixesVincent Hennebert2008-05-091-18/+18
| | | | | | | Set svn:keywords and svn:eol-style properties on new files git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@654783 13f79535-47bb-0310-9956-ffa450edef68
* * Added font substitution configuration reader, model, business logic, junit ↵Adrian Cumiskey2008-05-061-1/+3
| | | | | | | | | | | | test and docs. * Added java 1.5 generics comments to many methods. * Performed some preparatory cleanup and refactoring which includes (but is not limited to..) - Creating a FontManager delegating class that is called upon when renderers are setting up fonts - A new FontCollection interface and concrete implementing classes to supercede the static FontSetup mechanism. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@653826 13f79535-47bb-0310-9956-ffa450edef68
* Minor refactoring: consolidate getPSLM().notifyEndOfLayout(fobj.getId()) in ↵Andreas L. Delmelle2008-04-261-3/+13
| | | | | | AbstractLayoutManager.notifyEndOfLayout() git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651867 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup and minor refactoring:Andreas L. Delmelle2008-03-231-2/+14
| | | | | | | | | | | | | | | * consolidate addId() in AbstractLayoutManager * replace getPSLM().addIdToPage(getXXX().getId()) in various LMs Smaller changes/cleanup in the affected LMs include: * removal of some redundant casts * simplified conditionals * avoid duplicating the reference to the FObj as much as possible: the reference is already stored in AbstractLM, yet every subclass seems to add another reference... git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@640242 13f79535-47bb-0310-9956-ffa450edef68
* Added new extension element: fox:external-document. It allows to add whole ↵Jeremias Maerki2007-12-271-3/+1
| | | | | | | | | documents such as multi-page TIFF images to be inserted as peers to a page-sequence. Each image will make up an entire page. See the documentation for details. ATM, only single pages are possible. Multi-page images will be supported with the new image package. Some preparations for page-position="only" but the implementation is incomplete and "only" has no effect, yet. (Just uploaded some stuff I once started) Some javadoc cleanups. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@607032 13f79535-47bb-0310-9956-ffa450edef68
* Clean up: removed all reset and resetPosition methods, which pre-date the ↵Vincent Hennebert2007-12-141-39/+0
| | | | | | Knuth era and are no longer needed git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@604171 13f79535-47bb-0310-9956-ffa450edef68
* Avoid a NPE in toString().Jeremias Maerki2007-12-071-9/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@602045 13f79535-47bb-0310-9956-ffa450edef68
* Added support for fo:markers on fo:inline and fo:basic-link.Andreas L. Delmelle2007-11-041-5/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@591756 13f79535-47bb-0310-9956-ffa450edef68
* * Javadoc update: use {@inheritDoc} instead of @see where applicable, ↵Andreas L. Delmelle2007-07-181-15/+13
| | | | | | | | | | removal of some @author tags * Additional code cleanup: removal of unused imports (mainly in the fo.flow package) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557337 13f79535-47bb-0310-9956-ffa450edef68
* Create a class-specific logger for each LayoutManager which uses a logger.Simon Pepping2006-10-051-0/+7
| | | | | | This includes the patch of bug 40667. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@453310 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
* Introduced "ignored namespaces" list on FopFactory. Attributes from ignored ↵Jeremias Maerki2006-04-281-1/+9
| | | | | | | | | | | namespaces are not complained about. Not done for elements, yet. Added support for foreign attributes (attributes in a non-FO namespace) on formatting objects, for example to specify additional (proprietary) hints for rendering i-f-o and e-g. First usage example is PCLRendererContext which the PCLGraphics2DAdapter uses to decide whether to paint natively using HP GL/2 or using a bitmap. PCL Renderer revived: Basic framework constructed based on the old one. Still incomplete (no border painting, incomplete Graphics2D implementation, problems with reference orientation, no kerning etc.). The PCL Renderer implements PCL5 (monochrome) and HP GL/2. Work in progress! Added UnitConv helper class which could also be useful elsewhere (Could be a candidate for Commons). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@397806 13f79535-47bb-0310-9956-ffa450edef68
* Modified the KnuthSequence system. Transferred logic from the layoutSimon Pepping2005-12-221-1/+1
| | | | | | | managers to the KnuthSequences. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358534 13f79535-47bb-0310-9956-ffa450edef68
* Further decoupling the area tree from the FO tree.Jeremias Maerki2005-12-211-2/+7
| | | | | | | Created a new class org.apache.fop.layoutmgr.Page that holds a reference to the generating SimplePageMaster and the PageViewport. A deserialized area tree doesn't need a reference to the SimplePageMaster. Renamed PageViewportProvider to PageProvider as it now returns Page instances, not (directly) PageViewports. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358254 13f79535-47bb-0310-9956-ffa450edef68
* Update to support border and padding and alignments on inline fosManuel Mall2005-10-071-3/+85
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@307055 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup of unused imports.Finn Bock2005-09-011-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-311-7/+15
| | | | | | | | | | | | 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
* generatesInlineAreas() methods removed.Glen Mazza2005-06-101-11/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198741 13f79535-47bb-0310-9956-ffa450edef68
* Apparently unused getWordSpaceIPD() removed.Glen Mazza2005-06-101-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198737 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused functions. Team, I switched from generatesInlineAreas() callsGlen Mazza2005-06-101-19/+0
| | | | | | | | | to "instanceof InlineLevelLayoutManager", because AFAICT there is a 1-to-1 mapping between the two. If no one has problems with this, I will be removing the generatesInlineAreas() implementations next. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198736 13f79535-47bb-0310-9956-ffa450edef68
* More cleanup/simplifications.Glen Mazza2005-06-091-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198723 13f79535-47bb-0310-9956-ffa450edef68
* Multiple getWordChar() methods placed together.Glen Mazza2005-06-081-5/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198722 13f79535-47bb-0310-9956-ffa450edef68
* LayoutManager.canBreakBefore() removed.Glen Mazza2005-06-081-18/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198721 13f79535-47bb-0310-9956-ffa450edef68
* Removed LM.initialize() -- switched to internal initialization of all LM's.Glen Mazza2005-06-071-20/+0
| | | | | | | | | | | | Did initialization from constructor, as that appeared sufficient for all of them. Should for any LM, initialization not be available until the parentLM set, then we just need to do this process within a setParent() override. Also removed calls to superclass initialization, because as yet no initialization was occurring in those superclasses. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198719 13f79535-47bb-0310-9956-ffa450edef68
* Simplifications to PSLM.gKNE().Glen Mazza2005-06-011-11/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198711 13f79535-47bb-0310-9956-ffa450edef68
* New member variable "index" on Position (used for first/last checks).Jeremias Maerki2005-05-301-16/+0
| | | | | | | | | | | | | Position numbering implemented in BlockStackingLayoutManager (see member variables: lastGeneratedPosition and smallestPosNumberChecked) Use notifyPos to give a Position an index (Don't reuse Position instances that get an index!) Flags on TableContentPosition indicating first and last status (see TableStepper). New way of determining first/last area implemented on all currently implemented block-level FOs. Removed obsolete isBogus() method from LayoutManager. Removed duplicate wrapPositionElements() method in FlowLayoutManager. Some javadocs here and there. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198701 13f79535-47bb-0310-9956-ffa450edef68