aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
Commit message (Collapse)AuthorAgeFilesLines
* Bugzilla: #33760Jeremias Maerki2005-06-0923-1187/+2109
| | | | | | | | | | | 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
* Improvement for FOText instance creation. The text is consolidated into ↵Jeremias Maerki2005-06-095-29/+67
| | | | | | | | | single FOText nodes instead of multiple ones due to multiple SAX characters() calls. This fixes some of the layout engine tests that failed in certain environments. Submitted by: "Hock Szabolcs" <Hock.Szabolcs.at.t-online.co.hu> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198724 13f79535-47bb-0310-9956-ffa450edef68
* More cleanup/simplifications.Glen Mazza2005-06-093-9/+5
| | | | 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-087-91/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198721 13f79535-47bb-0310-9956-ffa450edef68
* Removed comment; relaxed validation done on an fo-by-fo basis.Glen Mazza2005-06-081-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198720 13f79535-47bb-0310-9956-ffa450edef68
* Removed LM.initialize() -- switched to internal initialization of all LM's.Glen Mazza2005-06-0712-66/+22
| | | | | | | | | | | | 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
* Minor PSLM simplifications.Glen Mazza2005-06-062-25/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198718 13f79535-47bb-0310-9956-ffa450edef68
* Remainder of pslm.gKNE() consolidated into pb.gKNE().Glen Mazza2005-06-051-18/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198717 13f79535-47bb-0310-9956-ffa450edef68
* Two stray isBogus()es removed, AFAICT unnecessary childLC initializationGlen Mazza2005-06-042-22/+2
| | | | | | | removed from PSLM. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198716 13f79535-47bb-0310-9956-ffa450edef68
* Constructor for FLM now takes parent as parameter,Glen Mazza2005-06-015-21/+30
| | | | | | | | also setting of Reference Area dimensions moved to FLM. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198713 13f79535-47bb-0310-9956-ffa450edef68
* Simplifications to PSLM.gKNE().Glen Mazza2005-06-013-31/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198711 13f79535-47bb-0310-9956-ffa450edef68
* Handling page dependent footnote separatorLuca Furini2005-05-313-32/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198710 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: getMaxRemainingHeight() was not very accurate and resulted in wrong ↵Jeremias Maerki2005-05-312-27/+56
| | | | | | | | | | element lists. Mostly problems with calculations when row spans are involved. Bugfix: rows that are dynamically created by a row span are now correctly handled. Bugfix: Proper reset of variables for empty grid units during the stepping process. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198706 13f79535-47bb-0310-9956-ffa450edef68
* Handling of very long footnotesLuca Furini2005-05-306-40/+250
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198702 13f79535-47bb-0310-9956-ffa450edef68
* New member variable "index" on Position (used for first/last checks).Jeremias Maerki2005-05-3021-208/+514
| | | | | | | | | | | | | 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
* Bugfix: LAST_IN_BODY wasn't set on the GridUnits of a row that wasn't the ↵Jeremias Maerki2005-05-301-0/+4
| | | | | | last in a table, i.e. when there are multiple bodies. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198699 13f79535-47bb-0310-9956-ffa450edef68
* Obsolete code removed and text-transform behaviour changed based on input ↵Jeremias Maerki2005-05-271-112/+2
| | | | | | from Victor Mote: http://marc.theaimsgroup.com/?t=111718934800001&r=1&w=2 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198698 13f79535-47bb-0310-9956-ffa450edef68
* Missing FOs that can receive markers.Jeremias Maerki2005-05-271-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198695 13f79535-47bb-0310-9956-ffa450edef68
* CleanupJeremias Maerki2005-05-271-15/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198694 13f79535-47bb-0310-9956-ffa450edef68
* Skip markers (they are validated properly earlier).Jeremias Maerki2005-05-261-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198693 13f79535-47bb-0310-9956-ffa450edef68
* Support for multiple pages in PDFDocumentGraphics2D. Same approach as for ↵Jeremias Maerki2005-05-252-26/+129
| | | | | | | | | AbstractPSDocumentGraphics2D. Call to nextPage() closes current page, the first subsequent painting operation prepares a new page. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198690 13f79535-47bb-0310-9956-ffa450edef68
* A glue at the beginning of the element list can't be a legal break point. ↵Jeremias Maerki2005-05-252-8/+12
| | | | | | Fixes an ArrayIndexOutOfBounds when there's a space-before at the beginning of the list. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198689 13f79535-47bb-0310-9956-ffa450edef68
* keep-with-next|previous on lists.Jeremias Maerki2005-05-242-4/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198686 13f79535-47bb-0310-9956-ffa450edef68
* Update for toString()Jeremias Maerki2005-05-241-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198685 13f79535-47bb-0310-9956-ffa450edef68
* Modify keep-with-next and keep-with-previous handling to support ↵Jeremias Maerki2005-05-2410-63/+251
| | | | | | | | | | "level-hopping" (see keep-with-next1a and keep-with-previous1a) Full keep handling for tables (there's a remaning problem with keep-with-previous) keep-together support for lists. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198683 13f79535-47bb-0310-9956-ffa450edef68
* More keep accessors where needed.Jeremias Maerki2005-05-246-112/+162
| | | | | | | Common abstract base class for ListItemLabel and ListItemBody to make code in the LM more readable. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198682 13f79535-47bb-0310-9956-ffa450edef68
* Need the ability to modify P after creation of the instance.Jeremias Maerki2005-05-241-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198681 13f79535-47bb-0310-9956-ffa450edef68
* Two new flags for handling keeps.Jeremias Maerki2005-05-241-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198680 13f79535-47bb-0310-9956-ffa450edef68
* Initial keep-together support on table.Jeremias Maerki2005-05-233-3/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198672 13f79535-47bb-0310-9956-ffa450edef68
* First step towards keep-together on tables (should work on table-rows now).Jeremias Maerki2005-05-237-71/+134
| | | | | | | | Logging of element lists removed from AbstractBreaker. Instead creates ElementListObserver which receives notifications on newly created element lists so they can be logged, checked or whatever. Please see the next commit under the "test" directory. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198669 13f79535-47bb-0310-9956-ffa450edef68
* Code cleanup and some javadocs.Jeremias Maerki2005-05-232-10/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198668 13f79535-47bb-0310-9956-ffa450edef68
* Additional ppm indicator especially interesting for those of us doing ↵Jeremias Maerki2005-05-231-1/+3
| | | | | | high-volume printing. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198667 13f79535-47bb-0310-9956-ffa450edef68
* Fixes for a few minor problems in certain special cases.Jeremias Maerki2005-05-233-56/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198666 13f79535-47bb-0310-9956-ffa450edef68
* Output vertical position of text area in area tree XML.Jeremias Maerki2005-05-201-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198664 13f79535-47bb-0310-9956-ffa450edef68
* Correction to footnotes handling: break a footnote body only if its citation ↵Luca Furini2005-05-192-38/+49
| | | | | | is in the last content line. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198662 13f79535-47bb-0310-9956-ffa450edef68
* I love my testcases. table-row1 just showed me another bug. :-)Jeremias Maerki2005-05-181-1/+1
| | | | | | | Bugfix: row background did not get painted in certain situations. rowFO was reset too soon. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198661 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for a ClassCastException on autoheight block-containers where ↵Jeremias Maerki2005-05-181-11/+16
| | | | | | | | | Position instances come through for normal penalties between blocks. Additional fix so a distinction is made between space-related positions and the penalties that caused the problem above. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198655 13f79535-47bb-0310-9956-ffa450edef68
* Code cleanup.Jeremias Maerki2005-05-182-153/+35
| | | | | | | Some style fixes. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198653 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for space-after on fixed-height block-containers.Jeremias Maerki2005-05-181-121/+88
| | | | | | | Code cleanup. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198652 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for space-after situation in block-containers.Jeremias Maerki2005-05-181-5/+7
| | | | | | | | Javadocs for protected variables. Make two private variables protected as they are used by descendants, too. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198651 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Footnote appears now even if inline part is empty. (see ↵Jeremias Maerki2005-05-181-0/+5
| | | | | | footnotes2.xml in testcases) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198648 13f79535-47bb-0310-9956-ffa450edef68
* Handle empty inlines/blocks better.Jeremias Maerki2005-05-182-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198647 13f79535-47bb-0310-9956-ffa450edef68
* Removed obsolete code.Jeremias Maerki2005-05-181-79/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198644 13f79535-47bb-0310-9956-ffa450edef68
* Removed a lot of obsolete code from the old page breaking approach.Jeremias Maerki2005-05-1718-2130/+264
| | | | | | | Some style improvements here and there. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198643 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Area generated by page-number is now cloned for each addAreas() call.Jeremias Maerki2005-05-178-63/+114
| | | | | | | Bugfix: page-number-citations are now properly resolved. The new method in AreaTreeHandler may not be optimal, but I haven't found a better way, yet. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198642 13f79535-47bb-0310-9956-ffa450edef68
* log translation only.Jeremias Maerki2005-05-172-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198641 13f79535-47bb-0310-9956-ffa450edef68
* Imports.Jeremias Maerki2005-05-171-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198640 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for flow IPD not being set correctly.Jeremias Maerki2005-05-171-8/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198639 13f79535-47bb-0310-9956-ffa450edef68
* Footnote implementation: new filesLuca Furini2005-05-172-0/+212
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198638 13f79535-47bb-0310-9956-ffa450edef68