aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
Commit message (Collapse)AuthorAgeFilesLines
* My first laughable attempt at a page breaker for balancing columns. Doesn't ↵Jeremias Maerki2005-06-291-0/+70
| | | | | | | | work if the element list fits into the first available area and doesn't balance exactly like I would like it to when the balancing actually gets active. But it's better than nothing to start with. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202367 13f79535-47bb-0310-9956-ffa450edef68
* Span change detection and infastructure for signalling it.Jeremias Maerki2005-06-292-10/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202364 13f79535-47bb-0310-9956-ffa450edef68
* Enable starting the break process at an arbitrary position inside an element ↵Jeremias Maerki2005-06-291-6/+15
| | | | | | list. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202363 13f79535-47bb-0310-9956-ffa450edef68
* notifyFlowsFinished() indirectly used by multi-column layout to determine ↵Jeremias Maerki2005-06-292-2/+49
| | | | | | | | the restart point after span changes. getRemainingBPD() is used by the page breaking process in multi-column layout (multiple spans). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202361 13f79535-47bb-0310-9956-ffa450edef68
* Accumulate the BPD extent used by the normal flow's children.Jeremias Maerki2005-06-291-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202359 13f79535-47bb-0310-9956-ffa450edef68
* Revert revsision 201627.Jeremias Maerki2005-06-263-19/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@201873 13f79535-47bb-0310-9956-ffa450edef68
* Switch to .equals() instead of == for String compares of namespaces. Thanks ↵Glen Mazza2005-06-2633-48/+48
| | | | | | to Nils Meier for the suggestion. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@201864 13f79535-47bb-0310-9956-ffa450edef68
* Check the proper use of the span attribute.Jeremias Maerki2005-06-243-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@201627 13f79535-47bb-0310-9956-ffa450edef68
* First SVN commit. Trivial formatting change.Glen Mazza2005-06-241-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@201562 13f79535-47bb-0310-9956-ffa450edef68
* First parts on a page which don't fit are moved to the next page. A counter ↵Jeremias Maerki2005-06-238-25/+119
| | | | | | | | | avoids endless loops. Fixes normal-breaking5.xml. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198768 13f79535-47bb-0310-9956-ffa450edef68
* breaks supported on tables, table-row and table-cell content now. Cheap ↵Jeremias Maerki2005-06-227-27/+178
| | | | | | | | | approach for now. TableContentLM is not yet restartable, but the Breaker handles that pretty well. Improved page break handling to support the different break classes even if no new block sequence is started. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198765 13f79535-47bb-0310-9956-ffa450edef68
* trace getLineWidth().Jeremias Maerki2005-06-221-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198764 13f79535-47bb-0310-9956-ffa450edef68
* Support late setting of break class.Jeremias Maerki2005-06-221-4/+42
| | | | | | | | Slightly improved toString(). Javadocs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198763 13f79535-47bb-0310-9956-ffa450edef68
* statics to the top so they are easily found.Jeremias Maerki2005-06-221-4/+6
| | | | | | | Different logger name used now. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198762 13f79535-47bb-0310-9956-ffa450edef68
* Accessors for break-* on table-row.Jeremias Maerki2005-06-221-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198761 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for misplaced block-containers.Jeremias Maerki2005-06-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198760 13f79535-47bb-0310-9956-ffa450edef68
* Fixes NPEs when a table is using collapsing border model in conjunction with ↵Jeremias Maerki2005-06-202-2/+6
| | | | | | empty cells. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198755 13f79535-47bb-0310-9956-ffa450edef68
* Warning about collapsing border model.Jeremias Maerki2005-06-201-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198754 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla: #35358Jeremias Maerki2005-06-203-21/+91
| | | | | | | | | | | Fixed the following: Dialog appearing when panel embedded in custom apps. NullPointerExceptions when embedding PreviewPanel. PreviewPanel docs inaccurate. Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198753 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla: #35358Jeremias Maerki2005-06-201-5/+5
| | | | | | | | Fix for French translation. Submitted by: Renaud Richardet <renaud.richardet.at.gmail.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198752 13f79535-47bb-0310-9956-ffa450edef68
* Italian translation of the viewer labelsLuca Furini2005-06-161-10/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198750 13f79535-47bb-0310-9956-ffa450edef68
* Added getPageViewportProvider().Jeremias Maerki2005-06-161-20/+60
| | | | | | | Code styling and javadocs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198749 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla: #35358Jeremias Maerki2005-06-1511-324/+901
| | | | | | | | | | | | | Improvements on Viewer application: - Separated out the preview panels and control logic from the buttons and dialog to make it easier to use elsewhere. - Added a continuous scrolling mode similar to that used by acrobat reader. Also added continuous facing mode. - Added fit-width and fit-to-page zoom options. Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk> Updated german and french translations by myself. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198748 13f79535-47bb-0310-9956-ffa450edef68
* Page breaking process now respects changing available BPD (not IPD) over ↵Jeremias Maerki2005-06-1513-112/+323
| | | | | | | | | | multiple pages. PageSequenceMaster allows backtracking. PageViewports are delivered through a PageViewportProvider class which caches PVs and handles cases where the breaking algorithm allocates PVs that turn out to be unused later (because of hard breaks which may cause blank pages, for example). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198746 13f79535-47bb-0310-9956-ffa450edef68
* The bpd of lines with no real content must collapse to 0Luca Furini2005-06-141-12/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198744 13f79535-47bb-0310-9956-ffa450edef68
* Switched to null for PageBreaker.getTopLevelLM().Glen Mazza2005-06-141-1/+1
| | | | | | | Not being used by the page-breaking process. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198743 13f79535-47bb-0310-9956-ffa450edef68
* Unused import removed.Glen Mazza2005-06-101-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198742 13f79535-47bb-0310-9956-ffa450edef68
* generatesInlineAreas() methods removed.Glen Mazza2005-06-107-57/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198741 13f79535-47bb-0310-9956-ffa450edef68
* Added a clarifying commentSimon Pepping2005-06-101-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198740 13f79535-47bb-0310-9956-ffa450edef68
* Icon TweakingJeremias Maerki2005-06-106-130/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198739 13f79535-47bb-0310-9956-ffa450edef68
* Create LinkedList only if it's needed.Jeremias Maerki2005-06-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198738 13f79535-47bb-0310-9956-ffa450edef68
* Apparently unused getWordSpaceIPD() removed.Glen Mazza2005-06-102-11/+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-1011-91/+5
| | | | | | | | | 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
* Removed functionality for collecting words reverted. Instead made sure ↵Jeremias Maerki2005-06-091-3/+113
| | | | | | capitalize only converts to upper case and not the other way around. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198735 13f79535-47bb-0310-9956-ffa450edef68
* Command-line switch for setting the resolution.Jeremias Maerki2005-06-091-1/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198732 13f79535-47bb-0310-9956-ffa450edef68
* Safer creation of the new target File instance. outputDir can be null with ↵Jeremias Maerki2005-06-091-2/+2
| | | | | | relative paths. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198731 13f79535-47bb-0310-9956-ffa450edef68
* Avoid NPEs when no filename is set on the UserAgent. Only the first page is ↵Jeremias Maerki2005-06-091-19/+42
| | | | | | | | | rendered in this case. The resolution is written to the PNG file. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198730 13f79535-47bb-0310-9956-ffa450edef68
* Default compression set to packbits which is widely supported. Uncompressed ↵Jeremias Maerki2005-06-091-11/+52
| | | | | | | | | | | TIFFs are huge. Enable encoding of color bitmaps (ideas stolen from Batik's TIFFTranscoder) Commented the code that converts the color bitmap into a black and white image. The FAX compression types are not supported by the Batik TIFF codec so I disabled this. Later we will probably need a config switch to enable B/W images. Resolution is written to the TIFF file. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198729 13f79535-47bb-0310-9956-ffa450edef68
* General anti-aliasing hint added.Jeremias Maerki2005-06-091-3/+13
| | | | | | | Bitmaps generated by the Java2D renderer take the resolution on the user agent into account. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198728 13f79535-47bb-0310-9956-ffa450edef68
* Publish the default resolution to the outside.Jeremias Maerki2005-06-091-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198727 13f79535-47bb-0310-9956-ffa450edef68
* 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