Next
Automated PDF Tests with XML
PDFUnit-XML
Carsten
Siedentop
Version 2015.10
Copyright © 2015 Carsten Siedentop
Table of Contents
Preface
1. About this Documentation
2. Quickstart
3. Test Scopes
3.1. Overview
3.2. Actions
3.3. Attachments
3.4. Bookmarks and Named Destinations
3.5. Certified PDF
3.6. Dates
3.7. Document Properties
3.8. Fast Web View
3.9. Fonts
3.10. Form Fields
3.11. Form Fields - Text Overflow
3.12. Format
3.13. Images in PDF Documents
3.14. JavaScript
3.15. Language
3.16. Layers
3.17. Layout - Entire PDF Pages
3.18. Layout - in Clipping Areas
3.19. Number of PDF Elements
3.20. Page Numbers as Objectives
3.21. Passwords
3.22. Permissions
3.23. Signatures and Certificates
3.24. Tagged Documents
3.25. Text
3.26. Text - in Page Sections
3.27. Text - Rotated and Overhead
3.28. Trapping Info
3.29. Version Info
3.30. XFA Data
3.31. XMP Data
4. Comparing a Test PDF with a Master
4.1. Overview
4.2. Comparing Form Fields
4.3. Comparing Actions
4.4. Comparing Attachments
4.5. Comparing Bookmarks
4.6. Comparing Date Values
4.7. Comparing Document Properties
4.8. Comparing Fonts
4.9. Comparing Format
4.10. Comparing Images
4.11. Comparing JavaScript
4.12. Comparing Layout as Rendered Pages
4.13. Comparing Named Destinations
4.14. Comparing Permissions
4.15. Comparing Quantities of PDF Elements
4.16. Comparing Signature Names
4.17. Comparing Text
4.18. Comparing XFA Data
4.19. Comparing XMP Data
4.20. Further Comparisons
5. Tests with Multiple Documents
6. PDFUnit-Monitor
7. Unicode
8. Using XPath
9. Utility Programs
9.1. Common Remarks for all Utilities
9.2. Convert Unicode Text into Hex Code
9.3. Extract Field Information to XML
9.4. Extract Attachments
9.5. Extract Bookmarks to XML
9.6. Extract Font Information to XML
9.7. Extract Images from PDF
9.8. Extract JavaScript to a Text File
9.9. Extract Named Destinations to XML
9.10. Extract Signature Information to XML
9.11. Extract XFA Data to XML
9.12. Extract XMP Data to XML
9.13. Render Page Sections to PNG
9.14. Render Pages to PNG
10. Best Practices
10.1. Does Content Fit in Predefined Form Fields
10.2. New Logo on each Page
10.3. Authorized Signature of the new CEO
10.4. Name of the Former CEO
10.5. Nesting Depth of Bookmarks
11. Installation, Configuration, Update
11.1. Technical Requirements
11.2. Installation
11.3. Running PDFUnit-XML
11.4. Using the config.properties File
11.5. Verifying the Configuration
11.6. Update PDFUnit-XML
11.7. Update PDFUnit-Java
11.8. Uninstall
12. PDFUnit for non-XML Systems
12.1. A quick Look at PDFUnit-Java
12.2. A quick Look at PDFUnit-Perl
12.3. A quick Look at PDFUnit-NET
13. Appendix
13.1. Instantiation of PDF Documents
13.2. Page Selection
13.3. Comparing Text
13.4. Whitespace Processing
13.5. Single and Double Quotation Marks inside Strings
13.6. Defining Page Areas
13.7. Format Units
13.8. Error Messages
13.9. Date Resolution
13.10. Using the Default-Namespace
13.11. Verify Configuration
13.12. Version History
13.13. Unimplemented Features, Known Bugs
Index