aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Restored ColorExt after removing it from XML Graphics Commons again.Jeremias Maerki2010-07-022-9/+8
| | | | | | Moved GrayScaleColorConverter as a package-local class from XGC to the AFP package (doesn't require deprecation when we can put the functionality in XGC later with the new color infrastructure). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@959945 13f79535-47bb-0310-9956-ffa450edef68
* Color-related classes were moved to the org.apache.xmlgraphics.java2d.color ↵Jeremias Maerki2010-06-142-4/+4
| | | | | | | | package. Updated XML Graphics Commons Snapshot. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@954512 13f79535-47bb-0310-9956-ffa450edef68
* FontEventAdapter has been replaced by FontEventProducerVincent Hennebert2010-04-091-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932523 13f79535-47bb-0310-9956-ffa450edef68
* Now that the creation of event-model.xml has been standardised, the ↵Vincent Hennebert2010-04-092-38/+0
| | | | | | | | | | EventModelFactory mechanism is no longer needed. Removed all the factory classes. Registration through META-INF/services also is no longer necessary. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932510 13f79535-47bb-0310-9956-ffa450edef68
* Moved ResourceEventProducer to org.apache.fopVincent Hennebert2010-04-092-1/+2
| | | | | | | | Renamed event model used by FOPTestEventModelFactory to "event-model.xml" git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932497 13f79535-47bb-0310-9956-ffa450edef68
* Split catch-all EventFormatter.xml message file into individual files for ↵Vincent Hennebert2010-04-092-0/+21
| | | | | | | | | | each EventProducer. There is no longer a default EventModelFactory Added test case for font event git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932481 13f79535-47bb-0310-9956-ffa450edef68
* Added test cases to ensure that the event notification system runs smoothlyVincent Hennebert2010-04-098-0/+284
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932461 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: NPE when there is a forced break before a table occurring at an IPD ↵Vincent Hennebert2010-03-151-0/+74
| | | | | | change git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@923380 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: definition of a special page-master for the last page was ↵Vincent Hennebert2010-02-231-0/+60
| | | | | | interfering with changing IPD code git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@915406 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #46486: having a special page-master for the last page caused loss ↵Vincent Hennebert2010-01-187-0/+904
| | | | | | of content when normal blocks were mixed with blocks spanning all columns. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@900364 13f79535-47bb-0310-9956-ffa450edef68
* Updated reference accessible PDF files. Old ones had "Apache FOP Version SVN ↵Vincent Hennebert2010-01-1330-0/+0
| | | | | | branches/Temp_Accessibility" as Creator and Producer values. New ones have "Apache FOP Version SVN trunk". This was causing spurious differences when testing PDF accessibility. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@898845 13f79535-47bb-0310-9956-ffa450edef68
* Added possibility to customize PDF tagging via the role propertyVincent Hennebert2010-01-1310-6/+258
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@898840 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #48237:Chris Bowditch2010-01-082-2/+6
| | | | | | | | AFP Renderer does not respect image color settings for svg Submitted by: Peter Hancock <peter.hancock.at.gmail.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@897221 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #48071: made the MinOptMax class immutable. Also, lots of clean ups ↵Vincent Hennebert2009-12-222-2/+202
| | | | | | | | | and minor refactorings. Patch submitted by Alexander Kiel. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@893238 13f79535-47bb-0310-9956-ffa450edef68
* Fixed test case: #CMYK pseudo-profile comes before the color profile URI.Jeremias Maerki2009-12-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@891726 13f79535-47bb-0310-9956-ffa450edef68
* Fixed test case: 102 / 255 is 0.4, not 0.48. It is not the same as the ↵Jeremias Maerki2009-12-171-1/+1
| | | | | | previous check where no RGB replacement values are given but are calculated from the CMYK value. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@891725 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Added equals() method to ColorExt because the base class only ↵Jeremias Maerki2009-11-251-4/+26
| | | | | | compares the RGB value but not any other value. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@884117 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix in Changing IPD: reset only the children LMs that have been created ↵Vincent Hennebert2009-11-241-0/+96
| | | | | | so far. Layout managers following a forced break have not even been created yet. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@883709 13f79535-47bb-0310-9956-ffa450edef68
* Moved declaration of xml:space attribute from <text> to <page-sequence> in ↵Vincent Hennebert2009-11-091-2/+1
| | | | | | | | | the XML Schema, to reflect changes from rev. 834020. Moved validation of intermediate XML to testParserToIntermediateFormat method, so that any validation error is returned by Junit instead of being swallowed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@834135 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #48082: value of conditional space not always taken into account in ↵Vincent Hennebert2009-10-291-0/+65
| | | | | | the calculation of a table's height git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@830996 13f79535-47bb-0310-9956-ffa450edef68
* XMLUtilTestCase somehow hasn't been included in the merge of the ↵Vincent Hennebert2009-10-281-0/+45
| | | | | | accessibility branch into the Trunk git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@830576 13f79535-47bb-0310-9956-ffa450edef68
* Merged back Temp_Accessibility branch into TrunkVincent Hennebert2009-10-2756-5/+869
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@830293 13f79535-47bb-0310-9956-ffa450edef68
| * Merged changes from Trunk up to revision 829121Vincent Hennebert2009-10-234-33/+517
| |\ | |/ |/| | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@829138 13f79535-47bb-0310-9956-ffa450edef68
| * Updated test case: there is now a specific handling of alt-text Vincent Hennebert2009-10-231-4/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@829135 13f79535-47bb-0310-9956-ffa450edef68
| * Added test framework for accessibility. See README file.Vincent Hennebert2009-10-2053-0/+861
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@827725 13f79535-47bb-0310-9956-ffa450edef68
| * Merged changes from Trunk up to revision 824832Vincent Hennebert2009-10-1330-0/+264
| |\ | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@824839 13f79535-47bb-0310-9956-ffa450edef68
| * \ Merged changes from Trunk up to revision 816269Vincent Hennebert2009-09-1833-112/+1680
| |\ \ | | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@816718 13f79535-47bb-0310-9956-ffa450edef68
| * | | Added support for adding natural language information on page-sequence and ↵Jeremias Maerki2009-04-172-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | document level to a tagged PDF. The document-level language is assumed to be the language of the first page-sequence. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765965 13f79535-47bb-0310-9956-ffa450edef68
| * | | Fixed copy/paste mistake.Jeremias Maerki2009-04-141-1/+2
| | | | | | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@764805 13f79535-47bb-0310-9956-ffa450edef68
| * | | Fix test case: fox:alt was renamed to fox:alt-text.Jeremias Maerki2009-04-141-2/+2
| | | | | | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@764798 13f79535-47bb-0310-9956-ffa450edef68
* | | | Bugfix: crash occurring when no restartable element could be found after a ↵Vincent Hennebert2009-10-201-0/+404
| | | | | | | | | | | | | | | | | | | | | | | | changing IPD break git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@827047 13f79535-47bb-0310-9956-ffa450edef68
* | | | Bugfix: a table immediately following a break where changing IPD occurs was ↵Vincent Hennebert2009-10-191-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | causing a NPE (or some content to be swallowed if it's not a table) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@826739 13f79535-47bb-0310-9956-ffa450edef68
* | | | Application of the patch submitted by Alexander Kiel to improve variable ↵Adrian Cumiskey2009-10-152-33/+33
| |_|/ |/| | | | | | | | | | | | | | names around Kerning and KnuthElement (see https://issues.apache.org/bugzilla/show_bug.cgi?id=48003). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@825646 13f79535-47bb-0310-9956-ffa450edef68
* | | Removed svn:executable propertyVincent Hennebert2009-10-1317-0/+0
| | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@824686 13f79535-47bb-0310-9956-ffa450edef68
* | | Fixed handling of percentage values for provisional-label-separationVincent Hennebert2009-10-131-0/+106
| | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@824682 13f79535-47bb-0310-9956-ffa450edef68
* | | Bugzilla 47835: fixed handling of percentage values for ↵Vincent Hennebert2009-10-131-0/+104
| | | | | | | | | | | | | | | | | | provisional-distance-between-starts. Patch submitted by Jonathan Levinson git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@824668 13f79535-47bb-0310-9956-ffa450edef68
* | | Removed svn:executable propertyVincent Hennebert2009-10-128-0/+0
| | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@824294 13f79535-47bb-0310-9956-ffa450edef68
* | | Removed svn:executable propertyVincent Hennebert2009-10-051-0/+0
| | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@821902 13f79535-47bb-0310-9956-ffa450edef68
* | | Font name was wrongMaximilian Berger2009-09-241-1/+1
| | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@818441 13f79535-47bb-0310-9956-ffa450edef68
* | | Added Testcase from Bug #47872 (thanks to alex kiel) and fixed it in FontLoaderMaximilian Berger2009-09-242-0/+54
| |/ |/| | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@818424 13f79535-47bb-0310-9956-ffa450edef68
* | Added support for the #CMYK pseudo-profile supported by some commercial XSL ↵Jeremias Maerki2009-09-162-5/+21
| | | | | | | | | | | | implementations on the rgb-icc() function. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815938 13f79535-47bb-0310-9956-ffa450edef68
* | Fixed SVN PropsMaximilian Berger2009-09-152-153/+153
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815383 13f79535-47bb-0310-9956-ffa450edef68
* | Merged back ChangingIPDHack branch into TrunkVincent Hennebert2009-08-266-0/+607
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@808157 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla 46905: Added basic implementation for column-level keeps. Andreas L. Delmelle2009-08-236-8/+228
| | | | | | | | | | | | | | | | Also added one disabled-testcase for a remaining issue with page-level keeps in multi-column layout. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@807014 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla 47710: White-space handling in retrieved markers throws a ↵Andreas L. Delmelle2009-08-201-0/+77
| | | | | | | | | | | | NullPointerException in some cases. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@806361 13f79535-47bb-0310-9956-ffa450edef68
* | Added tests for 2, 3, 4 values specified in the page boundaries properties.Vincent Hennebert2009-08-141-1/+51
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@804159 13f79535-47bb-0310-9956-ffa450edef68
* | Renamed PageScaleAttributes class into PageScale.Vincent Hennebert2009-08-121-4/+6
| | | | | | | | | | | | | | | | | | | | | | Simplified and improved its behaviour: - return null for an empty string - allow for an arbitrary sequence of white spaces between the scales - check that number of arguments is no more than 2 - other small improvements git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@803440 13f79535-47bb-0310-9956-ffa450edef68
* | Fixed issues in PageBoundaries class:Vincent Hennebert2009-08-104-143/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | - typos in method name and documentation - unnecessary conversions from double to int - a single space between values of bleed and crop-offset is too restrictive; changed into a sequence of white space characters Cleanup and improvements of prepress tests: - split PrepressTest class into two separate PageScaleTest and PageBoundariesTest test cases - moved newly created test cases into prepress sub-package - re-organized tests and made them more complete git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@802752 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #47311:Jeremias Maerki2009-08-031-32/+44
| | | | | | | | | | | | | | | | Fixed typos. Bugfix: when crop-offset wasn't specified, but bleed was, the media box was wrong. Tried to fix encapsulation problem mentioned by Vincent. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800401 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #47311:Jeremias Maerki2009-08-022-0/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added an initial set of extensions for prepress support (fox:bleed, fox:crop-offset, fox:crop-box and fox:scale). This is currently supported only by PDF and Java2D renderers. Submitted by: Peter Coppens <pc.subscriptions.at.gmail.com> Changes to patch by jeremias: - crop box expands from trim box rather than the bleed box. - fixed positioning in AWT preview Additional changes included: - disabled the border around every page in Java2DRenderer. - if background painting is enabled for the Java2DRenderer, it uses the bleed box rather than the trim box. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800142 13f79535-47bb-0310-9956-ffa450edef68