aboutsummaryrefslogtreecommitdiffstats
path: root/test/layoutengine/standard-testcases
Commit message (Collapse)AuthorAgeFilesLines
* Merge from Temp_Floats branch:Jeremias Maerki2006-08-021-18/+90
| | | | | | Fixed a bug with indent handling when margins are used on a surrounding block and not start/end-indent. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@427939 13f79535-47bb-0310-9956-ffa450edef68
* Changed license headers and updated NOTICE file according to: ↵Jeremias Maerki2006-07-28372-10740/+11112
| | | | | | 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
* Showing a problem with SVG used inside a basic-link. The size of the link ↵Jeremias Maerki2006-07-111-0/+55
| | | | | | rect is wrong and only spans the area of the nominal line rect. (As reported on fop-users) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@420759 13f79535-47bb-0310-9956-ffa450edef68
* Test case for change/revision 411180 ("Extends white-space removal to occur ↵Jeremias Maerki2006-06-121-0/+100
| | | | | | also before nested block-*level* FOs instead of only blocks.") git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@413614 13f79535-47bb-0310-9956-ffa450edef68
* Added region-body_display-align to demonstrate the default behaviour for ↵Jeremias Maerki2006-06-082-0/+192
| | | | | | | | adjustable spaces when display-align is set to "auto". Reactivated proprietary display-align="distribute" so a block-container can cause its content to be "justified" in the reference area if it's large enough and the adjustable elements (min/opt/max) allow for it. I may be misusing the original intended behaviour of "distribute" but for block-container this seemed suitable since it's destined to produce only one viewport/reference pair if possible. Test added that demonstrates the proprietary value on block-container. Note: on normal region-body elements, display-align="distribute" has currently no effect since the code did not evolve with the changes in the layout engine. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@412735 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Table headers were omitted when a table is a child of a block-container.Jeremias Maerki2006-06-071-0/+87
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@412407 13f79535-47bb-0310-9956-ffa450edef68
* Correct some formal errors in this file.Simon Pepping2006-05-191-1/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@407821 13f79535-47bb-0310-9956-ffa450edef68
* An emergency patch to avoid that a non-breaking space at the end of anSimon Pepping2006-05-191-0/+60
| | | | | | | | | | | fo:inline with padding, followed by another fo:inline, while text-align is justify, does not cause a NullPointerException due to InlineStackingLayoutManager.addALetterSpaceTo(). Patch submitted by Max Berger <max@berger.name>, applied with some modifications. This patch solves bug 39571. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@407819 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: NullPointerException in AreaAdditionUtil in a table-cell spanning ↵Jeremias Maerki2006-05-181-0/+83
| | | | | | | | multiple pages and with a marker. Note: This is a hack to avoid the NPE. A problem remains. The markers will not be added if the first/last conditions cannot be determined. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@407614 13f79535-47bb-0310-9956-ffa450edef68
* Testcase for Bugzilla #39560Jeremias Maerki2006-05-181-0/+98
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@407588 13f79535-47bb-0310-9956-ffa450edef68
* Extended PageViewport to carry foreign attributes.Jeremias Maerki2006-05-181-0/+48
| | | | | | | | | | | | | Foreign attributes from simple-page-master are transferred to the PageViewport. Added foreign attributes handling in AreaTreeParser. Fixed proper generation of foreign attributes in XMLRenderer. EvalCheck extended so it can use namespace prefix mappings in its context. Test case for foreign attributes. Paper source/tray support for PCL (pcl:paper-source="<tray-code>" on s-p-m) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@407541 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: tables nested in inline elements caused a NullPointerException.Jeremias Maerki2006-05-151-0/+55
| | | | | | | Furthermore, keep-together handling was not appropriate when a table is nested in an inline (fixes a ClassCastException). Finally, TableContentPosition did not indicate that it generates area which made them be ignored by the InlineLM. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@406596 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39443:Jeremias Maerki2006-05-071-0/+68
| | | | | | | Bugfix: Sections with span="all" lead to overlapping text if spanning multiple pages. Tables and list produced an illegal value for break class on normal breaks. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@404751 13f79535-47bb-0310-9956-ffa450edef68
* Fixed incorrect handling of percentages in vertical-align property values ↵Manuel Mall2006-05-061-7/+47
| | | | | | and added testcase git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@400279 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38243:Jeremias Maerki2006-05-031-0/+58
| | | | | | | Bugfix for NPE when there are gaps in the table-column setup. Submitted by: Gerhard Oettl <gerhard.oettl.at.oesoft.at> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@399200 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38946:Jeremias Maerki2006-05-031-3/+3
| | | | | | | First step for improved color handling. FOP's own ColorType was replaced with java.awt.Color throughout the codebase. Submitted by: Max Berger <max.at.berger.name> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@399185 13f79535-47bb-0310-9956-ffa450edef68
* Important wording correctionManuel Mall2006-05-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@398911 13f79535-47bb-0310-9956-ffa450edef68
* Added testcase which demonstrates that (or how?) linebreaking of consecutive ↵Manuel Mall2006-05-021-0/+68
| | | | | | images works. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@398909 13f79535-47bb-0310-9956-ffa450edef68
* Test case for Bug 39414Manuel Mall2006-04-271-0/+1872
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@397511 13f79535-47bb-0310-9956-ffa450edef68
* Content in block-containers makes better use of shrink to fit content ↵Jeremias Maerki2006-04-251-0/+51
| | | | | | | | | | vertically into the available area. This can be used indirectly to justify content vertically in a block-container. PageBreakingAlgorithm now writes to a different logger than its base class. Makes debugging easier. Some minor logging improvements to improve clarity. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@396915 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixed ClassCastException when retrieve-marker is used as a direct ↵Jeremias Maerki2006-04-231-0/+53
| | | | | | | | child if static-content in which case leading and trailing white space is not properly removed. Note: This is probably more a hack than anything else, but it fixes the problem for now. If anyone has a better solution, please feel free to improve. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@396256 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39118:Jeremias Maerki2006-04-234-2/+347
| | | | | | | | | | | | | Initial support for page-number-citation-last (XSL 1.1). Works without problems only for page-sequence so far. Submitted by: Pierre-Henri Kraus <phkraus.at.skynet.be> Modifications to the patch by jeremias during review: - Tab character removed - Some style fixes and javadoc enhancements - Renamed some methods in AreaTreeHandler to some more speaking names - Changed the ..._basic.xml testcase so it shows a remaining problem: Forward references are not properly resolved, yet. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@396243 13f79535-47bb-0310-9956-ffa450edef68
* Adding a test case that demonstrates a problem with forward references and ↵Jeremias Maerki2006-04-121-0/+46
| | | | | | page-number-citation. The reference's width is adjusted, but not the whole line. Some code in the area tree tries to adjust word- and letter-spacing but it does not seem to be working properly. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@393420 13f79535-47bb-0310-9956-ffa450edef68
* Add disabled test case to demonstrate problems with white space handling ↵Manuel Mall2006-04-101-0/+97
| | | | | | when it comes to inlines. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@392965 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Allow URLs in basic-link's external-destination to be wrapped in ↵Jeremias Maerki2006-04-101-0/+43
| | | | | | "url()". git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@392902 13f79535-47bb-0310-9956-ffa450edef68
* List NBSP under adjustable spaces in CharUtilities.Jeremias Maerki2006-04-104-22/+130
| | | | | | | | | | Generate space elements in the area tree from spaces in fo:character. Clearly mark test cases which test for NBSP. Document failure to generate adjustable spaces from fo:character in a disabled test case. Adjust checks to the fact the fo:character can now also generate spaces. Enable block_white-space-collapse_2.xml again git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@392901 13f79535-47bb-0310-9956-ffa450edef68
* Fixed various white space (non)removal issues during line building. ↵Manuel Mall2006-04-085-49/+307
| | | | | | white-space-treatment is now supported properly especially for the "preserve" case. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@392488 13f79535-47bb-0310-9956-ffa450edef68
* ID reference in some checks were wrong.Jeremias Maerki2006-03-251-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388765 13f79535-47bb-0310-9956-ffa450edef68
* Demonstrating negative last-line-end-indent.Jeremias Maerki2006-03-241-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388577 13f79535-47bb-0310-9956-ffa450edef68
* Corrected expectation and behaviour for the text-indent property to only ↵Jeremias Maerki2006-03-241-4/+4
| | | | | | apply to the first line area generated by a block. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388565 13f79535-47bb-0310-9956-ffa450edef68
* Confirming that last-line-end-indent works as specified in XSL 1.0.Jeremias Maerki2006-03-241-0/+94
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388536 13f79535-47bb-0310-9956-ffa450edef68
* Initial support for page-position="last". Feedback requested!Jeremias Maerki2006-03-231-0/+168
| | | | | | See also: http://wiki.apache.org/xmlgraphics-fop/PagePositionLast git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388182 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: display-align did not work if the first object in a page was a table.Luca Furini2006-03-231-0/+255
| | | | | | Testcase added, now all seems ok. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388157 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: CCITT Group 4 encoded TIFF images were not properly embedded in PDF ↵Jeremias Maerki2006-03-181-1/+9
| | | | | | files. FopPDFImage always used the bits/pixel and color space of the original image although our image adapter mostly convert all images to 24bit RGB. One day, we will need to improve the image handling. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@386879 13f79535-47bb-0310-9956-ffa450edef68
* Looks like we already had a test for the bug I fixed in revision 386025. ↵Jeremias Maerki2006-03-161-1/+1
| | | | | | D'oh. Adjusted the space-before to force the second page again. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@386341 13f79535-47bb-0310-9956-ffa450edef68
* Added support for fixed-width spaces and kerning.Jeremias Maerki2006-03-1611-67/+594
| | | | | | | | | | | | | | Note: letter-spacing is still implemented as before. Fixing this cannot be done without looking at space resolution as a whole on inline level. The Character area tree object is now deprecated. Normal Text objects should be used to keep renderers simpler. Introduced FontResolver interface to remove the dependency of FOUserAgent into the font package. Added kerning information to the base14 fonts, Helvetica and Times. By default it is not used to keep the status-quo. Enable base14 kerning through the FOUserAgent (FopFactory after the API finalization). Restored the production of EPS images in PDF output as PostScript XObjects. Restored functionality for a more compact format for the area tree renderer to save space. LayoutEngineTester slightly changed to allow for configuration values from the XML file. For now, only enabling base14 kerning is supported. Removed duplicate offset variable in SpaceArea. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@386327 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixed a copy/paste error in the table layout code that caused wrong ↵Jeremias Maerki2006-03-151-0/+77
| | | | | | page break decisions when table-headers and/or table-footers are used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@386025 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixed an NPE that was thrown when a table was used inside a ↵Jeremias Maerki2006-03-151-0/+64
| | | | | | footnote-body. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@386015 13f79535-47bb-0310-9956-ffa450edef68
* Added support for page sequence title in AreaTreeParser (IF). Fixes problems ↵Jeremias Maerki2006-02-261-11/+14
| | | | | | | | in intermediate format test suite. Introduced a PageSequence area tree object to achieve the proper sequence of Renderer.startPageSequence() calls and Renderer.renderPage() calls. Otherwise, the pageSequence elements are not properly placed in the intermediate format. Doesn't really affect the other renderers because they don't really care. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@381080 13f79535-47bb-0310-9956-ffa450edef68
* Linefeed treatment and white space collapse are not performed onSimon Pepping2006-02-251-0/+54
| | | | | | | fo:title. A test case to document this. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@380918 13f79535-47bb-0310-9956-ffa450edef68
* InlineLM properly creates an AligmentContext for Title.Simon Pepping2006-02-252-1/+49
| | | | | | | Add 2006 to the copyright lines of my previous commit. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@380917 13f79535-47bb-0310-9956-ffa450edef68
* Avoid a NullPointerException when fo:title is empty.Simon Pepping2006-02-241-0/+45
| | | | | | | Let PSLM and ContentLM create LMs via LayoutManagerMaker. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@380646 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixed two causes for ClassCastExceptions in BlockContainerLayoutManager.Jeremias Maerki2006-02-091-0/+48
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@376235 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: padding-top and padding-bottom on list-items could lead to wrong ↵Jeremias Maerki2006-02-092-0/+165
| | | | | | | | | page break decisions and thus to overlapping text. Bugfix: break-before and break-after were ignored on list-items. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@376226 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug 38507: the elements representing a non-breaking space were not ↵Luca Furini2006-02-073-66/+20
| | | | | | | | | | always correct, sometimes allowing a break. This also solves another bug concerning the incorrect suppression of a nbsp at the beginning of a line. A bit of clean-up in TextLayoutManager git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375585 13f79535-47bb-0310-9956-ffa450edef68
* Test case for Bugzilla #38507.Jeremias Maerki2006-02-041-0/+79
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374892 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38453:Jeremias Maerki2006-02-021-1/+6
| | | | | | | Bugfix: Text-decoration was not promoted if no text-decoration attribute was specified on a nested element. Nice side-effect: more efficient evaluation of text-decoration. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374425 13f79535-47bb-0310-9956-ffa450edef68
* Demonstrating the problem reported by Jan Kohnert.Jeremias Maerki2006-02-021-0/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374297 13f79535-47bb-0310-9956-ffa450edef68
* Renaming test case as it doesn't properly describe what it does.Jeremias Maerki2006-02-021-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374296 13f79535-47bb-0310-9956-ffa450edef68
* Further fine-tuning of white-space-handling during refinementAndreas L. Delmelle2006-02-011-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374174 13f79535-47bb-0310-9956-ffa450edef68