]> source.dussan.org Git - xmlgraphics-fop.git/commit
Removed the FO document pre-processing step that was adding ptr and creating a reduce...
authorVincent Hennebert <vhennebert@apache.org>
Mon, 24 Oct 2011 16:29:56 +0000 (16:29 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Mon, 24 Oct 2011 16:29:56 +0000 (16:29 +0000)
commitb073a605e44760bcb7add72968a3a2f78cf06d97
tree50501d5167416c5a5a31f2319102efee829a8bd8
parent29ecb2d96c4c4b75785e160a55c7dc436cfef860
Removed the FO document pre-processing step that was adding ptr and creating 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
132 files changed:
build.xml
lib/build/hamcrest.core-1.1.0.LICENSE.txt [new file with mode: 0644]
lib/build/hamcrest.core-1.1.0.jar [new file with mode: 0644]
lib/build/mockito-core-1.8.5.LICENCE.txt [new file with mode: 0644]
lib/build/mockito-core-1.8.5.NOTICE.txt [new file with mode: 0644]
lib/build/mockito-core-1.8.5.jar [new file with mode: 0644]
lib/build/objenesis-1.0.0.LICENSE.txt [new file with mode: 0644]
lib/build/objenesis-1.0.0.jar [new file with mode: 0644]
src/java/org/apache/fop/accessibility/Accessibility.java
src/java/org/apache/fop/accessibility/AccessibilityPreprocessor.java [deleted file]
src/java/org/apache/fop/accessibility/StructureTree.java
src/java/org/apache/fop/accessibility/StructureTreeBuildingFOEventHandler.java [new file with mode: 0644]
src/java/org/apache/fop/accessibility/addPtr.xsl [deleted file]
src/java/org/apache/fop/accessibility/reduceFOTree.xsl [deleted file]
src/java/org/apache/fop/apps/Fop.java
src/java/org/apache/fop/fo/Constants.java
src/java/org/apache/fop/fo/DelegatingFOEventHandler.java [new file with mode: 0644]
src/java/org/apache/fop/fo/FOEventHandler.java
src/java/org/apache/fop/fo/FONode.java
src/java/org/apache/fop/fo/FOPropertyMapping.java
src/java/org/apache/fop/fo/FOTreeBuilder.java
src/java/org/apache/fop/fo/PropertyList.java
src/java/org/apache/fop/fo/extensions/ExtensionElementMapping.java
src/java/org/apache/fop/fo/extensions/InternalElementMapping.java
src/java/org/apache/fop/fo/flow/AbstractGraphics.java
src/java/org/apache/fop/fo/flow/AbstractListItemPart.java
src/java/org/apache/fop/fo/flow/AbstractPageNumberCitation.java
src/java/org/apache/fop/fo/flow/BasicLink.java
src/java/org/apache/fop/fo/flow/Block.java
src/java/org/apache/fop/fo/flow/Character.java
src/java/org/apache/fop/fo/flow/Footnote.java
src/java/org/apache/fop/fo/flow/FootnoteBody.java
src/java/org/apache/fop/fo/flow/InitialPropertySet.java
src/java/org/apache/fop/fo/flow/Inline.java
src/java/org/apache/fop/fo/flow/InlineLevel.java
src/java/org/apache/fop/fo/flow/InstreamForeignObject.java
src/java/org/apache/fop/fo/flow/Leader.java
src/java/org/apache/fop/fo/flow/ListBlock.java
src/java/org/apache/fop/fo/flow/ListItem.java
src/java/org/apache/fop/fo/flow/ListItemBody.java
src/java/org/apache/fop/fo/flow/ListItemLabel.java
src/java/org/apache/fop/fo/flow/PageNumber.java
src/java/org/apache/fop/fo/flow/Wrapper.java
src/java/org/apache/fop/fo/flow/table/Table.java
src/java/org/apache/fop/fo/flow/table/TableAndCaption.java
src/java/org/apache/fop/fo/flow/table/TableCaption.java
src/java/org/apache/fop/fo/flow/table/TableCell.java
src/java/org/apache/fop/fo/flow/table/TableCellContainer.java
src/java/org/apache/fop/fo/flow/table/TableFObj.java
src/java/org/apache/fop/fo/pagination/Root.java
src/java/org/apache/fop/fo/pagination/StaticContent.java
src/java/org/apache/fop/fo/pagination/bookmarks/Bookmark.java
src/java/org/apache/fop/fo/pagination/bookmarks/BookmarkTitle.java
src/java/org/apache/fop/fo/properties/CommonAccessibility.java
src/java/org/apache/fop/fo/properties/CommonAccessibilityHolder.java [new file with mode: 0644]
src/java/org/apache/fop/render/pdf/PDFLogicalStructureHandler.java
src/java/org/apache/fop/render/rtf/RTFHandler.java
test/accessibility/README
test/accessibility/pdf/background-image_jpg_repeat.pdf [new file with mode: 0644]
test/accessibility/pdf/background-image_jpg_repeat_painter_orig.pdf [deleted file]
test/accessibility/pdf/background-image_jpg_repeat_renderer_orig.pdf [deleted file]
test/accessibility/pdf/background-image_jpg_single.pdf [new file with mode: 0644]
test/accessibility/pdf/background-image_jpg_single_painter_orig.pdf [deleted file]
test/accessibility/pdf/background-image_jpg_single_renderer_orig.pdf [deleted file]
test/accessibility/pdf/background-image_png_repeat.pdf [new file with mode: 0644]
test/accessibility/pdf/background-image_png_repeat_painter_orig.pdf [deleted file]
test/accessibility/pdf/background-image_png_repeat_renderer_orig.pdf [deleted file]
test/accessibility/pdf/background-image_png_single.pdf [new file with mode: 0644]
test/accessibility/pdf/background-image_png_single_painter_orig.pdf [deleted file]
test/accessibility/pdf/background-image_png_single_renderer_orig.pdf [deleted file]
test/accessibility/pdf/background-image_svg_repeat.pdf [new file with mode: 0644]
test/accessibility/pdf/background-image_svg_repeat_painter_orig.pdf [deleted file]
test/accessibility/pdf/background-image_svg_repeat_renderer_orig.pdf [deleted file]
test/accessibility/pdf/background-image_svg_single.pdf [new file with mode: 0644]
test/accessibility/pdf/background-image_svg_single_painter_orig.pdf [deleted file]
test/accessibility/pdf/background-image_svg_single_renderer_orig.pdf [deleted file]
test/accessibility/pdf/complete.pdf [new file with mode: 0644]
test/accessibility/pdf/complete_painter_orig.pdf [deleted file]
test/accessibility/pdf/complete_renderer_orig.pdf [deleted file]
test/accessibility/pdf/image_jpg.pdf [new file with mode: 0644]
test/accessibility/pdf/image_jpg_painter_orig.pdf [deleted file]
test/accessibility/pdf/image_jpg_renderer_orig.pdf [deleted file]
test/accessibility/pdf/image_png.pdf [new file with mode: 0644]
test/accessibility/pdf/image_png_painter_orig.pdf [deleted file]
test/accessibility/pdf/image_png_renderer_orig.pdf [deleted file]
test/accessibility/pdf/image_svg.pdf [new file with mode: 0644]
test/accessibility/pdf/image_svg_painter_orig.pdf [deleted file]
test/accessibility/pdf/image_svg_renderer_orig.pdf [deleted file]
test/accessibility/pdf/image_wmf.pdf [new file with mode: 0644]
test/accessibility/pdf/image_wmf_painter_orig.pdf [deleted file]
test/accessibility/pdf/image_wmf_renderer_orig.pdf [deleted file]
test/accessibility/pdf/leader.pdf [new file with mode: 0644]
test/accessibility/pdf/leader_painter_orig.pdf [deleted file]
test/accessibility/pdf/leader_renderer_orig.pdf [deleted file]
test/accessibility/pdf/links.pdf [new file with mode: 0644]
test/accessibility/pdf/links_painter_orig.pdf [deleted file]
test/accessibility/pdf/links_renderer_orig.pdf [deleted file]
test/accessibility/pdf/role.pdf [new file with mode: 0644]
test/accessibility/pdf/role_non-standard.pdf [new file with mode: 0644]
test/accessibility/pdf/role_non-standard_painter_orig.pdf [deleted file]
test/accessibility/pdf/role_non-standard_renderer_orig.pdf [deleted file]
test/accessibility/pdf/role_painter_orig.pdf [deleted file]
test/accessibility/pdf/role_renderer_orig.pdf [deleted file]
test/accessibility/pdf/text_1.pdf [new file with mode: 0644]
test/accessibility/pdf/text_1_painter_orig.pdf [deleted file]
test/accessibility/pdf/text_1_renderer_orig.pdf [deleted file]
test/accessibility/pdf/text_2.pdf [new file with mode: 0644]
test/accessibility/pdf/text_2_painter_orig.pdf [deleted file]
test/accessibility/pdf/text_2_renderer_orig.pdf [deleted file]
test/accessibility/pdf/text_font-embedding.pdf [new file with mode: 0644]
test/accessibility/pdf/text_font-embedding_painter_orig.pdf [deleted file]
test/accessibility/pdf/text_font-embedding_renderer_orig.pdf [deleted file]
test/java/org/apache/fop/fo/DelegatingFOEventHandlerTestCase.fo [new file with mode: 0644]
test/java/org/apache/fop/fo/DelegatingFOEventHandlerTestCase.java [new file with mode: 0644]
test/java/org/apache/fop/fo/FODocumentParser.java [new file with mode: 0644]
test/java/org/apache/fop/fo/FONodeMocks.java [new file with mode: 0644]
test/java/org/apache/fop/fo/LoadingException.java [new file with mode: 0644]
test/java/org/apache/fop/fo/extract-events.xsl [new file with mode: 0644]
test/java/org/apache/fop/fo/flow/table/AbstractTableTestCase.java
test/java/org/apache/fop/fo/flow/table/CollapsedConditionalBorderTestCase.java
test/java/org/apache/fop/fo/flow/table/ErrorCheckTestCase.java
test/java/org/apache/fop/fo/flow/table/IllegalRowSpanTestCase.java
test/java/org/apache/fop/fo/flow/table/RowGroupBuilderTestCase.java
test/java/org/apache/fop/fo/flow/table/TableColumnColumnNumberTestCase.java
test/java/org/apache/fop/fo/flow/table/TooManyColumnsTestCase.java
test/java/org/apache/fop/fo/flow/table/UnimplementedWarningNeutralizer.java [new file with mode: 0644]
test/java/org/apache/fop/fo/properties/AltTextHolderTestCase.java [new file with mode: 0644]
test/java/org/apache/fop/fo/properties/CommonAccessibilityHolderTestCase.java [new file with mode: 0644]
test/java/org/apache/fop/fo/properties/PropertyListMocks.java [new file with mode: 0644]
test/java/org/apache/fop/fo/properties/PropertyMocks.java [new file with mode: 0644]
test/java/org/apache/fop/fotreetest/FOTreeTestSuite.java
test/java/org/apache/fop/fotreetest/FOTreeUnitTester.java [deleted file]