aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/accessibility
Commit message (Collapse)AuthorAgeFilesLines
* Transition source to standard maven hierarchy (initial).Glenn Adams2016-03-039-1544/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/maven@1733433 13f79535-47bb-0310-9956-ffa450edef68
* FOP-2488: Support PDF/UASimon Steiner2015-06-161-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1685770 13f79535-47bb-0310-9956-ffa450edef68
* FOP-2442: Specifying the expansion of an abbreviationSimon Steiner2015-02-061-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1657867 13f79535-47bb-0310-9956-ffa450edef68
* Fix compiler warnings.Glenn Adams2014-07-061-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1608161 13f79535-47bb-0310-9956-ffa450edef68
* FOP #2234: NPE when rendering a document with markers and accessibility is ↵Vincent Hennebert2013-04-085-21/+170
| | | | | | enabled git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1465599 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #53980: PDF accessibility: Store language information coming from ↵Vincent Hennebert2012-10-081-13/+41
| | | | | | fo:block or fo:character in the structure tree. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1395692 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #53902: Added possibility to define 'header' table columns (the ↵Vincent Hennebert2012-09-261-0/+33
| | | | | | | | | same way as fo:table-header allows to define header rows). When accessibility is enabled, this allows to set the appropriate Scope attribute on the corresponding TH cells. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1390412 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 53778: When PDF accessibility is enabled, the contents for the ↵Vincent Hennebert2012-08-243-546/+40
| | | | | | different regions must appear in the proper order in the structure tree. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1376923 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #53596: When PDF accessibility is enabled, the structure tree must ↵Vincent Hennebert2012-07-241-5/+8
| | | | | | contain information about the number of columns or rows spanned by a table cell. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1365162 13f79535-47bb-0310-9956-ffa450edef68
* Added possibility to treat some content as artifact.Vincent Hennebert2012-05-292-0/+31
| | | | | | | | | If any fo:static-content or fo:wrapper element has their 'role' property set to 'artifact', then they and their descendants will be treated as artifacts. Suggested by Martin Koegler as part of Bugzilla #50852 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1343632 13f79535-47bb-0310-9956-ffa450edef68
* Added support for the role property on fo:page-sequence, fo:flow and ↵Vincent Hennebert2012-05-254-6/+12
| | | | | | | | | | | fo:static-content. This allows to change the mapping of those FOs to PDF structure types when enabling accessibility. Suggested by Martin Koegler as part of Bugzilla #50852 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1342680 13f79535-47bb-0310-9956-ffa450edef68
* Addressed findbugs and checkstyle regressionsTemp_ImproveAccessibilityPeter Hancock2012-02-064-5/+17
| | | | | | | | | Findbugs report generated with version 1.3.9. Checkstyle report generated with version 5.5. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1240963 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup associated with rev 1236718Peter Hancock2012-01-312-13/+0
| | | | | | | Removed unused structure tree events. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1238313 13f79535-47bb-0310-9956-ffa450edef68
* Associate structure tree elements directly to render contentPeter Hancock2012-01-277-379/+1047
| | | | | | | | | | * 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-246-319/+317
| | | | | | | | | | | | | | | 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-246-338/+841
| | | | | | | | | | | | | | | 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
* Bugzilla #51789: removed non-ascii characters in source filesVincent Hennebert2011-09-121-1/+1
| | | | | | | Patch submitted by Christopher Yeleighton git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1169758 13f79535-47bb-0310-9956-ffa450edef68
* Added getEventKey method to Event so that it's no longer necessary to store ↵Vincent Hennebert2010-04-091-1/+1
| | | | | | the whole event ID (fully qualified interface name) in message files git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932519 13f79535-47bb-0310-9956-ffa450edef68
* Now that the creation of event-model.xml has been standardised, the ↵Vincent Hennebert2010-04-091-12/+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
* Added possibility to customize PDF tagging via the role propertyVincent Hennebert2010-01-131-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@898840 13f79535-47bb-0310-9956-ffa450edef68
* Added missing EventModelFactory to avoid error:Jeremias Maerki2009-10-281-0/+12
| | | | | | java.lang.IllegalStateException: Event model doesn't contain the definition for org.apache.fop.accessibility.AccessibilityEventProducer git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@830476 13f79535-47bb-0310-9956-ffa450edef68
* Issue an error when attempting to render an intermediate XML file in ↵Vincent Hennebert2009-10-222-0/+58
| | | | | | accessibility mode, but that file wasn't generated with accessibility (i.e., does not contain the structure tree) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@828747 13f79535-47bb-0310-9956-ffa450edef68
* Renamed TransformerNode into TransformerDefaultHandler and moved it into the ↵Vincent Hennebert2009-10-213-285/+48
| | | | | | | | | | a.o.f.util package. Renamed TransformerNodeEndProcessing into AccessibilityPreprocessor. Renamed AccessibilityUtil into Accessibility and simplified the code. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@828090 13f79535-47bb-0310-9956-ffa450edef68
* Merged SimpleStructureTree and ParsedStructureTree classes into a single ↵Vincent Hennebert2009-10-154-121/+95
| | | | | | one, used by both TransformerNodeEndProcessing and intermediate XML parsers git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@825504 13f79535-47bb-0310-9956-ffa450edef68
* Made the structure tree processing chain more robust by removing any ↵Vincent Hennebert2009-10-154-133/+127
| | | | | | | | | | | assumption about prefix names for namespaces. Avoid warnings issued by reduceFOTree.xsl when FO file contains foreign elements (like MathML). SimpleStructureTree: replaced XPath query with simple DOM method calls. Cleaned up, simplified and re-organized reduceFOTree and addPtr stylesheets. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@825461 13f79535-47bb-0310-9956-ffa450edef68
* Re-format addPtr.xsl to make it readable.Vincent Hennebert2009-10-131-12/+43
| | | | | | | Also add a ptr attribute to fo:table-and-caption and fo:table-caption, even if they are not supported, in order to avoid a crash. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@824845 13f79535-47bb-0310-9956-ffa450edef68
* Implemented rendering of structure tree to Area Tree XML and parsing back ↵Vincent Hennebert2009-10-131-0/+31
| | | | | | from it git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@824827 13f79535-47bb-0310-9956-ffa450edef68
* Implemented parsing of structure trees from IF XML files.Vincent Hennebert2009-09-284-63/+211
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@819585 13f79535-47bb-0310-9956-ffa450edef68
* Factorized into a new class the parsing of the reduced FO tree, that was ↵Vincent Hennebert2009-09-222-5/+102
| | | | | | duplicated in IFSerializer and PDFDocumentHandler. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@817617 13f79535-47bb-0310-9956-ffa450edef68
* Incorporated some more of the feedback to #46705:Jeremias Maerki2009-04-173-143/+31
| | | | | | | | - String Constant for "accessibility" - Removed unused constructors - Remove unnecessary null-checks. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765889 13f79535-47bb-0310-9956-ffa450edef68
* Some cleanup.Jeremias Maerki2009-04-161-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765528 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #46705:Jeremias Maerki2009-02-195-0/+641
Accessibility and Tagged PDF Support Submitted by: Jost Klopfstein <jost.klopfstein.at.gmail.com> Changes to patch by jeremias: - Some style fixes - Various simplifications - Removal of dead code - Addressed some issues raised in Bugzilla (work in progress) - Fixed a couple of bugs on leader handling detected while testing (an NPE remains in leader_leader-pattern_use-content.xml) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@745949 13f79535-47bb-0310-9956-ffa450edef68