aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* 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
* Bugzilla: #33760Jeremias Maerki2005-06-0917-1179/+2025
| | | | | | | | | | | 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
* 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
* Footnote implementation: changes to existing filesLuca Furini2005-05-171-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198637 13f79535-47bb-0310-9956-ffa450edef68
* Merge of branch Temp_KnuthStylePageBreaking back into HEAD.Jeremias Maerki2005-05-133-20/+26
| | | | | | | Temp_KnuthStylePageBreaking branch and HEAD have been tagged prior to the merge, so merging uncommitted work from the branch should be easier. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198627 13f79535-47bb-0310-9956-ffa450edef68
* 1.) More commenting, some simplifications in the Area classes and PSLM.Glen Mazza2005-03-112-6/+6
| | | | | | | 2.) Renamed Area.Flow to NormalFlow, uglier but more in conformance with the Recommendation (normal-flow-reference-area) and more specific/easier to understand. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198477 13f79535-47bb-0310-9956-ffa450edef68
* Resurrected AWT/Java2D rendererJeremias Maerki2005-03-084-217/+1442
| | | | | | | | | | | | | Submitted by: Renaud Richardet <renaud.richardet.at.gmail.com> Modifications to the patch: - correct copyright years - warning message when EPS files are used as images - removed/commented hard-coded path names, should be improved by loading the image from an InputStream obtained throug the user agent - Enabled loading images from the bitmap array coming from FopImage. There are hard-coded value which need to be fixed but they show the approach. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198472 13f79535-47bb-0310-9956-ffa450edef68
* First step towards collapsing table borders:Jeremias Maerki2005-02-161-24/+91
| | | | | | | | | | - Mode on BorderProps controls painting behaviour. - Extended toString() on BorderProps - Painting the borders already works for all three modes (separate, collapsing-inner and collapsing-outer) - ATM only inner borders are painted. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198432 13f79535-47bb-0310-9956-ffa450edef68
* Extend the user agent to pipe title, author and keywords through to the PDF. ↵Jeremias Maerki2005-02-121-2/+6
| | | | | | A title on the user agent will override any title info gathered from fo:title elements. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198426 13f79535-47bb-0310-9956-ffa450edef68
* Implemented the rest of the border styles. Now uses clipping while painting ↵Jeremias Maerki2005-02-111-40/+311
| | | | | | | | | the borders to paint nicer edges. Some of this code should later be extracted into utility classes so other renderers can use the same code. Dotted-style could use some tweaking (dots are clipped at the edges). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198424 13f79535-47bb-0310-9956-ffa450edef68
* Remove dependency of pdf package to the FOP user agent.Jeremias Maerki2005-02-101-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198410 13f79535-47bb-0310-9956-ffa450edef68
* Fix for adding absolutely positioned block without children.Jeremias Maerki2005-02-071-8/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198386 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-02-062-2/+2
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Rolled the PageNumberGenerator from PSLM back into PageSequence (slightly simpler, also this functionality is useful for non-layout render types), renamed PageViewport.getPageNumber() to .getPageNumberString() to emphasize what it is actually returning. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198381 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-02-051-2/+0
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Switch to Root's page number counter. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198379 13f79535-47bb-0310-9956-ffa450edef68
* Added the page number to the pageViewportJeremias Maerki2005-01-311-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198344 13f79535-47bb-0310-9956-ffa450edef68
* Get the mark colors for text-decorations right.Jeremias Maerki2005-01-251-3/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198317 13f79535-47bb-0310-9956-ffa450edef68
* First version of text-decoration support (no colors, yet, PDF rendering may ↵Jeremias Maerki2005-01-252-4/+44
| | | | | | | | | | not be optimal, yet, but the rest seems to work) This change may kill what text-decoration support already was in the RTF renderer. This will need to be fixed later. Some javadoc and style touch-ups. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198314 13f79535-47bb-0310-9956-ffa450edef68
* normal trait attributes for page-level reference and viewport areas.Jeremias Maerki2005-01-241-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198307 13f79535-47bb-0310-9956-ffa450edef68
* Early preloading of images (during FO tree building). This wasn't consistent ↵Jeremias Maerki2005-01-241-22/+22
| | | | | | | | | | before (bg-images were loaded by the renderer). background-position-* implemented where possible (area IPD and BPD must be set for percentages to work) Fixed placement bug for images (bad rounding or coordinates). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198302 13f79535-47bb-0310-9956-ffa450edef68
* More area dimension traits.Jeremias Maerki2005-01-241-9/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198300 13f79535-47bb-0310-9956-ffa450edef68
* Forgot this one when extending FopImageJeremias Maerki2005-01-201-1/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198297 13f79535-47bb-0310-9956-ffa450edef68
* Repetitions for background imagesJeremias Maerki2005-01-201-15/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198296 13f79535-47bb-0310-9956-ffa450edef68
* Background image is painted on the padding-rectangle, not on the ↵Jeremias Maerki2005-01-201-24/+45
| | | | | | border-rectangle. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198295 13f79535-47bb-0310-9956-ffa450edef68
* Clipping the background image.Jeremias Maerki2005-01-201-2/+7
| | | | | | | Added support for fetching bitmap resolution (only implemented for JFIF-compliant JPEG files for now, all other remain at 72dpi as before) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198294 13f79535-47bb-0310-9956-ffa450edef68
* Output clip trait for BlockViewportsJeremias Maerki2005-01-201-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198292 13f79535-47bb-0310-9956-ffa450edef68
* "fixed" block-containers implemented.Jeremias Maerki2005-01-191-2/+71
| | | | | | | | | PDFState was cleaned up, simplified and refactored to support a "break-out" mechanism that allows to temporarily break out of the current viewport context. Support for sending comments to the PDF stream for debugging purposes. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198290 13f79535-47bb-0310-9956-ffa450edef68
* Safety checkJeremias Maerki2005-01-191-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198289 13f79535-47bb-0310-9956-ffa450edef68
* Code cleanup and preparation for implementing absolute-position="fixed".Jeremias Maerki2005-01-181-22/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198286 13f79535-47bb-0310-9956-ffa450edef68
* I need the CTM for display-align checks.Jeremias Maerki2005-01-181-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198284 13f79535-47bb-0310-9956-ffa450edef68
* Fix space-before|after handling for block-containers (only a minimal fix, ↵Jeremias Maerki2005-01-181-0/+7
| | | | | | doesn't take space-resolution into account, yet) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198282 13f79535-47bb-0310-9956-ffa450edef68
* Show top|left-position traits only for abs positioned BCs.Jeremias Maerki2005-01-181-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198281 13f79535-47bb-0310-9956-ffa450edef68
* block-containers improved/fixed. The following features are implemented and ↵Jeremias Maerki2005-01-172-16/+38
| | | | | | | | | | | | testcases exist: left, right, top, bottom, width, height, block-progression-dimension (partial), inline-progression-dimension (partial), borders, padding, indents, reference-orientation. autoheight works only for in-flow BCs ATM. start-indent calculation fixed: uses inherited value if rules in 5.3.2 don't apply. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198272 13f79535-47bb-0310-9956-ffa450edef68
* More info on blocks and block-containersJeremias Maerki2005-01-171-1/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198270 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-01-131-2/+7
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: "starting-state" property implemented for fo:bookmark. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198265 13f79535-47bb-0310-9956-ffa450edef68
* Removed the "inheritedStartIndent" hack again.Jeremias Maerki2005-01-122-37/+68
| | | | | | | | | Switched to start|end-indent-oriented calculation. Improved line painting in the PDFRenderer. Some improvements in BlockContainerLayoutManager (but still WIP ATM). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198259 13f79535-47bb-0310-9956-ffa450edef68
* Some more info on the area-tree.Jeremias Maerki2005-01-121-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198256 13f79535-47bb-0310-9956-ffa450edef68
* Alloc IPD/BPD, too, not just content IPD/BPD.Jeremias Maerki2005-01-061-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198230 13f79535-47bb-0310-9956-ffa450edef68
* Improved area tree XML generation by filtering uninformative attributes ↵Jeremias Maerki2005-01-061-40/+35
| | | | | | while adding others. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198228 13f79535-47bb-0310-9956-ffa450edef68
* Refactored Area Tree XML Renderer to write XML to a TransformerHandler ↵Jeremias Maerki2005-01-052-205/+304
| | | | | | instead of to a Writer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198224 13f79535-47bb-0310-9956-ffa450edef68
* Only check for the outputStream to be non-null if no overriding renderer has ↵Jeremias Maerki2005-01-051-2/+2
| | | | | | been set. People may wish to supply something other than an OutputStream. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198223 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-01-041-2/+2
| | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Converted fox:outline to fo:bookmark. fox:label/fo:bookmark-title still to be done. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198221 13f79535-47bb-0310-9956-ffa450edef68
* Rename parameter to match the type.Jeremias Maerki2004-12-281-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198213 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-12-251-16/+17
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: More XSL 1.1-like terms for PDF bookmarks used, minor bug in TableLayoutManagerMaker fixed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198209 13f79535-47bb-0310-9956-ffa450edef68
* Very minor edits to Bookmark handling code.Glen Mazza2004-12-231-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198207 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused import statements.Finn Bock2004-12-101-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198197 13f79535-47bb-0310-9956-ffa450edef68