aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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