Source Code Cross Referenced for PDFPage.java in  » Testing » webtest » com » canoo » webtest » plugins » pdftest » htmlunit » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Testing » webtest » com.canoo.webtest.plugins.pdftest.htmlunit 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package com.canoo.webtest.plugins.pdftest.htmlunit;
002:
003:        import java.util.List;
004:
005:        import com.gargoylesoftware.htmlunit.Page;
006:
007:        /**
008:         * Represents a PDF document.
009:         * @author Etienne Studer
010:         * @author Marc Guillemot
011:         */
012:        public interface PDFPage extends Page {
013:            String MODE_NORMAL = "normal";
014:            String MODE_LINES = "groupByLines";
015:
016:            String getDocumentTitle();
017:
018:            int getNumberOfPages();
019:
020:            String getText(int startPage, int endPage);
021:
022:            public String getText(String fragmentSeparator,
023:                    String lineSeparator, String pageSeparator, String mode);
024:
025:            /**
026:             * 
027:             * @param password the password to use to decrypt
028:             * @throws PDFInvalidPasswordException if the password is invalid to decrypt document
029:             */
030:            void decrypt(String password);
031:
032:            boolean isEncrypted();
033:
034:            /**
035:             * Gets the fields with the given name
036:             * @param name the field name
037:             * @param type the type of fields to look for
038:             * @return a list of {@link PDFField}
039:             */
040:            List getFields(String name, PDFField.Type type);
041:
042:            /**
043:             * Gets the fields with the given name
044:             * @param name the field name
045:             * @return a list of {@link PDFField}
046:             */
047:            List getFields(String name);
048:
049:            /**
050:             * Gets the fields with the given name
051:             * @param name the field name
052:             * @param pageNumber the page number where the field should be located
053:             * @param type the type of fields to look for
054:             * @return a list of {@link PDFField}
055:             * @throws IllegalArgumentException if the pageNumber is not a valid page number
056:             */
057:            List getFields(String name, int pageNumber, PDFField.Type type);
058:
059:            /**
060:             * Gets the fields with the given name
061:             * @param name the field name
062:             * @param pageNumber the page number where the field should be located
063:             * @return a list of {@link PDFField}
064:             * @throws IllegalArgumentException if the pageNumber is not a valid page number
065:             */
066:            List getFields(String name, int pageNumber);
067:
068:            /**
069:             * Gets the fields of the given page
070:             * @param pageNumber the page number where the field should be located
071:             * @return a list of {@link PDFField}
072:             * @throws IllegalArgumentException if the pageNumber is not a valid page number
073:             */
074:            List getFields(int pageNumber);
075:
076:            /**
077:             * Gets all the fields
078:             * @return a list of {@link PDFField}
079:             */
080:            List getFields();
081:
082:            boolean hasPermission(final PDFEncryptionPermission permission);
083:
084:            String getEncryptProperty(String key);
085:
086:            public int getEncryptionStrength();
087:
088:            public String getInfoProperty(String key);
089:
090:            boolean isUserPassword(String password);
091:
092:            boolean isOwnerPassword(String password);
093:
094:            /**
095:             * Gets the hyperlinks contained in the document
096:             * @return a list of {@link PDFLink}
097:             */
098:            List getLinks();
099:
100:            /**
101:             * Gets the bookmarks contained in the document
102:             * @return a list of {@link PDFBookmark}
103:             */
104:            List getBookmarks();
105:
106:            /**
107:             * Gets the fonts contained in the document
108:             * @return a list of {@link PDFFont}
109:             */
110:            List getFonts();
111:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.