aboutsummaryrefslogtreecommitdiffstats
path: root/test/accessibility
Commit message (Collapse)AuthorAgeFilesLines
* Added support for PDF object streams.Temp_PDF_ObjectStreamsVincent Hennebert2012-03-2138-1069/+0
| | | | | | | | When accessibility is enabled and PDF version 1.5 selected, the structure tree will be stored in object streams in order to reduce the size of the final PDF. This can lead to file reductions by up to 75% git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_PDF_ObjectStreams@1303431 13f79535-47bb-0310-9956-ffa450edef68
* Associate structure tree elements directly to render contentPeter Hancock2012-01-2736-37/+37
| | | | | | | | | | * Defer the binding of PCData to struct elems using a placeholder mechanism. * Translate text nodes to marked-content sequences in IF structure tree. * Replace ptr with structure tree element. * Re-order table footers so they appear at the end of the structure tree. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1236718 13f79535-47bb-0310-9956-ffa450edef68
* Removed the DOM representation of the structure tree.Vincent Hennebert2011-11-2420-24/+0
| | | | | | | | | | | | | | | The structure tree is now directly converted into corresponding PDF objects. When going the IF route, the structure tree is stored in the form of SAX events that will be re-played when it's time to stream them into the output. This may still change. * Extracted RFC3066 methods from XMLUtil into new LanguageTags class that can be re-used in a non-XML context. * Dropped support for accessibility in the old Area Tree XML. * Added support for the xml:lang property on fo:root, so that the global language can be set for the document without retrieving the language from the first page-sequence. * Renamed StructureTreeBuilder into more appropriate StructureTreeEventHandler (same for applicable sub-classes) * Renamed StructureTreeBuildingFOEventHandler into FO2StructureTreeConverter and added test case * Added test cases for classes in the StructureTreeEventHandler hierarchy git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1205935 13f79535-47bb-0310-9956-ffa450edef68
* Removed the FO document pre-processing step that was adding ptr and creating ↵Vincent Hennebert2011-10-2437-20/+9
| | | | | | | | | | | | | | | a reduced FO tree. * Removed addPtr.xsl and reduceFOTree.xsl * Implemented Common Accessibility properties on objects that support them * Added a special implementation of FOEventHandler to build the structure tree * Added mockito library and its dependencies * Added mocks for some FO nodes and properties * Removed FOTreeUnitTester and converted it into a re-usable FODocumentParser class * Re-worked table FO test cases accordingly git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1188205 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
* Added test framework for accessibility. See README file.Vincent Hennebert2009-10-2051-0/+852
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@827725 13f79535-47bb-0310-9956-ffa450edef68