com.aspose.pdf.facades
Contents
[
Hide
]The com.aspose.pdf.facades package provides classes originally came from Aspose.Pdf.Kit.
Interfaces
| Interface | Description |
|---|---|
| IFacade | General facade interface that defines common facades methods. |
| IForm | Class representing Acro form object. |
| IFormEditor | Class for editing forms (adding/deleting field etc) |
| IPdfFileEditor | Implements operations with PDF file: concatenation, splitting, extracting pages, making booklet, etc. |
| IPdfFileStamp | interface for adding stamps (watermark or background) to PDF files. |
| ISaveableFacade | Facade interface that defines methods common for all saveable facades. |
Classes
| Class | Description |
|---|---|
| AlignmentType | Class contains possibly alignment types. Use HorizontalAlignment instead |
| AutoRotateMode | Direction of the rotation when document is printed. |
| BDCProperties | BDC operator properties. |
| Bookmark | Represents a bookmark. |
| Bookmarks | Represents a collection of {@code Bookmark} objects. |
| CgmPdfProducer | Represents a class to produce PDF from Computer Graphics Metafile(CGM) format. |
| DataType | Enumerates field types definitions. |
| DefaultMetadataProperties | Enumeration of standard XMP properties. |
| DocumentPrivilege | Represents the privileges for accessing Pdf file. Refer to{@code PdfFileSecurity}. There are 4 ways using this class: 1.Using predefined privilege directly. 2.Based on a predefined privilege and change some specifical permissions. 3.Based on a predefined privilege and change some specifical Adobe Professional permissions combination. 4.Mixes the way2 and way3. //Way1: Using predefined privilege directly. DocumentPrivilege privilege = DocumentPrivilege.getPrint(); //Way2: Based on a predefined privilege and change some specifical permissions. DocumentPrivilege privilege = DocumentPrivilege.getAllowAll(); privilege.setAllowPrint(false); privilege.setAllowModifyContents(false); //Way3: Based on a predefined privilege and change some specifical Adobe Professional permissions combination. DocumentPrivilege privilege = DocumentPrivilege.getForbidAll(); privilege.setChangeAllowLevel(1); privilege.setPrintAllowLevel(2); //Way4: Mixes the way2 and way3 DocumentPrivilege privilege = DocumentPrivilege.getForbidAll(); privilege.setChangeAllowLevel(1); privilege.setAllowPrint(true); |
| EncodingType | Enumerates encoding types of the text using. |
| Facade | Base facade class. |
| FontColor | Class representing color of the text. |
| Form | Class representing Acro form object. |
| Form.ImportStatus | Status of imported field |
| FormattedText | Class which represents formatted text. Contains information about text and its color, size, style. |
| FormEditor | Class for editing forms (adding/deleting field etc) |
| FormEditorWeb | Class for editing forms (ading/deleting field etc) |
| FormFieldFacade | Class for representing field properties. |
| FormWeb | Representing Acro form Interface. |
| InternalHelper | Help class |
| IPdfFileEditor.ContentsResizeParameters | Class for specifing page resize parameters. Allow to set the following parameters: Size of result page (width, height) in default space units or in percents of initial pages size; Left, Top, Bottom and Right margins in default space units or in percents of initial page size; Some values may be left null for automatic calculation. These values will be calculated from rest of page size after calculation explicitly specified values. For example: if page width = 100 and new page width specified 60 units then left and right margins are automatically calculated: (100 - 60) / 2 = 15. This class is used in ResizeContents method. |
| IPdfFileEditor.ContentsResizeValue | Value of margin or content size specified in percents of default space units. This class is used in ContentsResizeParameters. |
| LineInfo | Represents the information of line. |
| PdfAnnotationEditor | Represents a class for work with PDF document annotations (comments). |
| PdfBookmarkEditor | Represents a class to work with PDF file’s bookmarks including create, modify, export, import and delete. |
| PdfContentEditor | Represents a class to edit PDF file’s content. |
| PdfConverter | Represents a class to convert a pdf file’s each page to images, supporting BMP, JPEG, PNG and TIFF now. Supported content in pdfs: pictures, form, comment. |
| PdfExtractor | Class for extracting images and text from PDF document. |
| PdfFileEditor | Implements operations with PDF file: concatenation, splitting, extracting pages, making booklet, etc. |
| PdfFileEditor.ConcatenateCorruptedFileAction | Action performed when corrupted file was met in concatenation process. |
| PdfFileEditor.ConcatenationProgressHandler | Represents class with abstract method that usually supplied by calling side and handles progress events that comes from concatenation. Usually such supplied customer’s handler can be used to show total concatenation progress on console or in progress bar. represents information about occurred progress event |
| PdfFileEditor.CorruptedItem | Class which provides information about corrupted files in time of concatenation. |
| PdfFileEditor.PageBreak | Data of page break position. |
| PdfFileEditor.ProgressEventHandlerInfo | This class represents information about concatenation progress that can be used in external application. |
| PdfFileEditor.ProgressEventType | This enum describes possible progress event types that can occure during concatenation |
| PdfFileEditorWeb | Represents PdfFileEditorWeb class Implements operations with PDF file: concatenation, splitting, extracting pages, making booklet, etc. |
| PdfFileInfo | Represents a class for accessing meta information of PDF document. |
| PdfFileMend | Represents a class for adding texts and images on the pages of existing PDF document. |
| PdfFileSanitization | Represents sanitization and recovery API. Use it if you can’t create/open documents in any other way. |
| PdfFileSecurity | Represents encrypting or decrypting a Pdf file with owner or user password, changing the security setting and password. |
| PdfFileSignature | Represents a class to sign a pdf file with a certificate. |
| PdfFileStamp | Class for adding stamps (watermark or background) to PDF files. |
| PdfFileStampWeb | Class for adding stamps (watermark or background) to PDF files. Enable to work with HttpServletResponse. |
| PdfJavaScriptStripper | Class for removing all Java Script code. |
| PdfPageEditor | Represents a class to edit the PDF file’s page, including rotating page, zooming page, moving position and changing page size. |
| PdfPrintPageInfo | Represents an object that contains current printing page info. |
| PdfProducer | Represents a class to produce PDF from other formats. This sample shows how to produce Pdf file from CGM file. String inputFile = “myImage.cgm”; String outputFile = “myPdf.pdf”; try { PdfProducer.produce(inputFile, ImportFormat.Cgm, outputFile); // Success produced pdf file. } catch (Exception e) { // Do something… } |
| PdfQueryPageSettingsEventHandler | Represents the method that handles the QueryPageSettings event of a PrintDocument. |
| PdfViewer | Represents a class to view or print a pdf. |
| PdfXmpMetadata | Class for manipulation with XMP metadata. |
| PositioningMode | Defines positioning mode. Possible values include Legacy (backward compatibility) and Current (updated text position calculation method) |
| PropertyFlag | Enumeration of possible field flags. |
| ReplaceTextStrategy | This class contains parameters which define PdfContentEditor behavior when ReplaceText operation is performed. |
| SaveableFacade | Base class for all saveable facades. |
| SignatureName | Represents a class for a signature name. Represents a more precise signature name. Used instead of string names. Allows you to present signatures with the same string names. |
| Stamp | Class represeting stamp. |
| StampInfo | Class representing stamp information. |
| TextProperties | Represents text properties such as: text size, color, style etc. |
| VerticalAlignmentType | Class representing possible vertical alignment values. Use VerticalAlignment instead |
| ViewerPreference | Describes viewer prefereces (page mode, non full screen page mode, page layout). |
| WordWrapMode | Defines word wrapping strategies |
Enums
| Enum | Description |
|---|---|
| Algorithm | Represents algorithms which can be used to encrypt pdf document. |
| BlendingColorSpace | Class represents blending color space. |
| FieldType | Enumeration of possible field types. |
| FontStyle | Enumerates 14 types of font. |
| ImageMergeMode | Represents modes for merging images. |
| KeySize | Defines different key sizes which can be used to encrypt pdf documents. |
| ReplaceTextStrategy.NoCharacterAction | Action to perform if font does not contain required character |
| ReplaceTextStrategy.Scope | Scope where replace text operation is applied REPLACE_FIRST by default |
| StampType | Describes stamp types. |
| SubmitFormFlag | Enumeration of possible submit form flags. |