Aspose::Pdf::Facades Namespace Reference

Namespaces

 PdfProducers
 

Classes

class  AutoFiller
 Represents a class to receive data from database or other datasource, fills them into the designed fields of the template pdf and at last generates new pdf file or stream. It has two template file input modes:input as a stream or a pdf file. It has four types of output modes:one merged stream, one merged file, many small streams, many small files. It can recieve literal data contained in a System.Data.DataTable. More...
 
class  Bookmark
 Represents a bookmark. More...
 
class  Bookmarks
 Represents a collection of Bookmark objects. More...
 
class  DocumentPrivilege
 Represents the privileges for accessing Pdf file. Refer toPdfFileSecurity. 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. More...
 
class  Facade
 Base facade class. More...
 
class  FontColor
 Class representing color of the text. More...
 
class  Form
 Class representing Acro form object. More...
 
class  FormattedText
 Class which represents formatted text. Contains information about text and its color, size, style. More...
 
class  FormEditor
 Class for editing forms (ading/deleting field etc) More...
 
class  FormFieldFacade
 Class for representing field properties. More...
 
class  IFacade
 General facade interface that defines common facades methods. More...
 
class  ISaveableFacade
 Facade interface that defines methods common for all saveable facades. More...
 
class  LineInfo
 Represents the information of line. More...
 
class  PdfAnnotationEditor
 Represents a class for work with PDF document annotations (comments). More...
 
class  PdfBookmarkEditor
 Represents a class to work with PDF file's bookmarks including create, modify, export, import and delete. More...
 
class  PdfContentEditor
 Represents a class to edit PDF file's content. More...
 
class  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. More...
 
class  PdfExtractor
 Class for extracting images and text from PDF document. More...
 
class  PdfFileEditor
 Implements operations with PDF file: concatenation, splitting, extracting pages, making booklet, etc. More...
 
class  PdfFileInfo
 Represents a class for accessing meta information of PDF document. More...
 
class  PdfFileMend
 Represents a class for adding texts and images on the pages of existing PDF document. More...
 
class  PdfFileSanitization
 Represents sanitization and recovery API. Use it if you can't create/open documents in any other way. More...
 
class  PdfFileSecurity
 Represents encrypting or decrypting a Pdf file with owner or user password, changing the security setting and password. More...
 
class  PdfFileSignature
 Represents a class to sign a pdf file with a certificate. More...
 
class  PdfFileStamp
 Class for adding stamps (watermark or background) to PDF files. More...
 
class  PdfJavaScriptStripper
 Class for removing all Java Script code. More...
 
class  PdfPageEditor
 Represents a class to edit the PDF file's page, including rotating page, zooming page, moving position and changing page size. More...
 
class  PdfPrintPageInfo
 Represents an object that contains current printing page info. More...
 
class  PdfProducer
 Represents a class to produce PDF from other formats. More...
 
class  PdfXmpMetadata
 Class for manipulation with XMP metadata. More...
 
class  ReplaceTextStrategy
 This class contains parameters which define PdfContentEditor behavior when ReplaceText operation is performed. More...
 
class  SaveableFacade
 Base class for all saveable facades. More...
 
class  Stamp
 Class represeting stamp. More...
 
class  StampInfo
 Class representing stamp information. More...
 
class  TextProperties
 Represents text properties such as: text size, color, style etc. More...
 
class  ViewerPreference
 Describes viewer prefereces (page mode, non full screen page mode, page layout). More...
 

Typedefs

using PdfQueryPageSettingsEventHandler = System::MulticastDelegate< void(System::SharedPtr< System::Object >, System::SharedPtr< Aspose::Pdf::Printing::PdfQueryPageSettingsEventArgs >, System::SharedPtr< PdfPrintPageInfo >)>
 

Enumerations

enum  Algorithm { Algorithm::RC4, Algorithm::AES }
 Represents algorithms which can be used to encrypt pdf document. More...
 
enum  AutoRotateMode { AutoRotateMode::None, AutoRotateMode::ClockWise, AutoRotateMode::AntiClockWise }
 Direction of the rotation when document is printed. More...
 
enum  BlendingColorSpace { BlendingColorSpace::DontChange, BlendingColorSpace::Auto, BlendingColorSpace::DeviceRGB, BlendingColorSpace::DeviceCMYK }
 Class represents blending color space. More...
 
enum  DataType {
  DataType::FDF, DataType::XML, DataType::XFDF, DataType::PDF,
  DataType::OLEDB, DataType::ODBC
}
 Enumerates field types definitions. More...
 
enum  DefaultMetadataProperties {
  DefaultMetadataProperties::Advisory, DefaultMetadataProperties::BaseURL, DefaultMetadataProperties::CreateDate, DefaultMetadataProperties::CreatorTool,
  DefaultMetadataProperties::Identifier, DefaultMetadataProperties::MetadataDate, DefaultMetadataProperties::ModifyDate, DefaultMetadataProperties::Nickname,
  DefaultMetadataProperties::Thumbnails
}
 Enumeration of standard XMP properties. More...
 
enum  EncodingType {
  EncodingType::Identity_h, EncodingType::Identity_v, EncodingType::Cp1250, EncodingType::Cp1252,
  EncodingType::Cp1257, EncodingType::Winansi, EncodingType::Macroman
}
 Enumerates encoding types of the text using. More...
 
enum  FieldType {
  FieldType::Text, FieldType::ComboBox, FieldType::ListBox, FieldType::Radio,
  FieldType::CheckBox, FieldType::PushButton, FieldType::MultiLineText, FieldType::Barcode,
  FieldType::InvalidNameOrType, FieldType::Signature, FieldType::Image, FieldType::Numeric,
  FieldType::DateTime
}
 Enumeration of possible field types. More...
 
enum  FontStyle {
  FontStyle::Courier = 0, FontStyle::CourierBold = 1, FontStyle::CourierOblique = 2, FontStyle::CourierBoldOblique = 3,
  FontStyle::Helvetica = 4, FontStyle::HelveticaBold = 5, FontStyle::HelveticaOblique = 6, FontStyle::HelveticaBoldOblique = 7,
  FontStyle::Symbol = 8, FontStyle::TimesRoman = 9, FontStyle::TimesBold = 10, FontStyle::TimesItalic = 11,
  FontStyle::TimesBoldItalic = 12, FontStyle::ZapfDingbats = 13, FontStyle::Unknown = 14, FontStyle::CjkFont = 15
}
 Enumerates 14 types of font. More...
 
enum  ImageMergeMode { ImageMergeMode::Vertical = 1, ImageMergeMode::Horizontal, ImageMergeMode::Center }
 Represents modes for merging images. More...
 
enum  KeySize { KeySize::x40, KeySize::x128, KeySize::x256 }
 Defines different key sizes which can be used to encrypt pdf documents. More...
 
enum  PositioningMode { PositioningMode::Legacy, PositioningMode::ModernLineSpacing, PositioningMode::Current }
 Defines positioning mode. Possible values include Legacy (backward compatibility) and Current (updated text position calculation method) More...
 
enum  PropertyFlag { PropertyFlag::ReadOnly, PropertyFlag::Required, PropertyFlag::NoExport, PropertyFlag::InvalidFlag }
 Enumeration of possible field flags. More...
 
enum  StampType { StampType::Form, StampType::Image }
 Describes stamp types. More...
 
enum  SubmitFormFlag {
  SubmitFormFlag::Fdf, SubmitFormFlag::Html, SubmitFormFlag::Xfdf, SubmitFormFlag::FdfWithComments,
  SubmitFormFlag::XfdfWithComments, SubmitFormFlag::Pdf
}
 Enumeration of possible submit form flags. More...
 
enum  WordWrapMode { WordWrapMode::Default, WordWrapMode::ByWords }
 Defines word wrapping strategies More...
 

Functions

 DECLARE_ENUM_OPERATORS (Aspose::Pdf::Facades::SubmitFormFlag)
 

Typedef Documentation

◆ PdfQueryPageSettingsEventHandler

Enumeration Type Documentation

◆ Algorithm

Represents algorithms which can be used to encrypt pdf document.

Enumerator
RC4 

RC4 algorithm.

AES 

AES algorithm.

◆ AutoRotateMode

Direction of the rotation when document is printed.

Enumerator
None 

No rotation.

ClockWise 

Rotation direction is clockwise.

AntiClockWise 

Rotation directon is counterclockwise.

◆ BlendingColorSpace

Class represents blending color space.

Enumerator
DontChange 

The blending color space is not changed.

Auto 

The blending color space is determined automatically.

DeviceRGB 

Blending color space is set to DeviceRGB.

DeviceCMYK 

Blending color space is set to DeviceCMYK.

◆ DataType

Enumerates field types definitions.

Enumerator
FDF 

FDF stream.

XML 

XML stream.

XFDF 

XFDF stream.

PDF 

PDF stream.

OLEDB 

OLEDB database, such as MS Access.

ODBC 

ODBC database, such as MS SQL Server.

◆ DefaultMetadataProperties

Enumeration of standard XMP properties.

Enumerator
Advisory 

xmp:Advisory property. An unordered array specifying properties that were edited outside the authoring application. Each item should contain a single /// namespace and XPath separated by one ASCII space

BaseURL 

xmp:BaseURL property. The base URL for relative URLs in the document content. If this document contains Internet links, and those links are relative, /// they are relative to this base URL. This property provides a standard way for embedded relative URLs to be interpreted by tools. /// Web authoring tools should set the value based on their notion of where URLs will be interpreted

CreateDate 

xmp:CreateDate property. The date and time the resource was originally created.

CreatorTool 

xmp:CreatorTool property. The name of the first known tool used to create the resource.

Identifier 

xmp:Identifier property. An unordered array of text strings that unambiguously identify the resource within a given context

MetadataDate 

xmp:MetadataDate property. The date and time that any metadata for this resource was last changed

ModifyDate 

xmp:ModifyDate property. The date and time the resource was last modified.

Nickname 

xmp:Nickname property. A short informal name for the resource.

Thumbnails 

xmp:Thumbnails property. An alternative array of thumbnail images for a file, which can differ in characteristics such as size or image encoding.

◆ EncodingType

Enumerates encoding types of the text using.

Enumerator
Identity_h 

The Unicode encoding with horizontal writing.

Identity_v 

The Unicode encoding with vertical writing.

Cp1250 

A windows text encoding name.

Cp1252 

A windows text encoding name.

Cp1257 

A windows text encoding name.

Winansi 

Windows ansi encoding.

Macroman 

Mac os standard encoding for Latin text.

◆ FieldType

Enumeration of possible field types.

Enumerator
Text 

Text field.

ComboBox 

Combo box field.

ListBox 

List box field.

Radio 

Radio button field.

CheckBox 

Check box field.

PushButton 

Push button field.

MultiLineText 

Multiline text field.

Barcode 

Barcode field.

InvalidNameOrType 

Invalid field type.

Signature 

Signature field.

Image 

Image field.

Numeric 

Numeric field

DateTime 

Date/time field

◆ FontStyle

Enumerates 14 types of font.

Enumerator
Courier 

Courier font.

CourierBold 

Bold Courier font.

CourierOblique 

Oblique Curier font.

CourierBoldOblique 

Bold oblique Courier font.

Helvetica 

Helvetica font.

HelveticaBold 

Bold Helvetica font.

HelveticaOblique 

Oblique Helvetica font.

HelveticaBoldOblique 

Bold oblique Helvetica font.

Symbol 

Symbol font.

TimesRoman 

Times-Roman font.

TimesBold 

Bold Times font.

TimesItalic 

Italic Times font.

TimesBoldItalic 

Bold italic Times font.

ZapfDingbats 

ZapfDingbats font.

Unknown 

Unknown font. Standard font will be used.

CjkFont 

True Type Font for CJK supporting ,default is MS PGothic font.

◆ ImageMergeMode

Represents modes for merging images.

Enumerator
Vertical 

Images merged vertically.

Horizontal 

Images merged horizontally.

Center 

Images aligned by center.

◆ KeySize

Defines different key sizes which can be used to encrypt pdf documents.

Enumerator
x40 

40 bit key. Such key size is used with RC4 algorithm and provides low level of security. Nevertheless old versions of pdf documents can be encrypted only with such keys (v. 1.3 and lower);

x128 

128 bit key. Both RC4 and AES algorithms can use such key size.

x256 

256 bit key. Such key size can be used only with AES and is recognized with the last Adobe Reader versions (starting from v.9).

◆ PositioningMode

Defines positioning mode. Possible values include Legacy (backward compatibility) and Current (updated text position calculation method)

Enumerator
Legacy 

Legacy text positioning

ModernLineSpacing 

Updated line spacing, vertical position calculation is done by the old rules (i.e. text is positioned relative to bottom-left corner of the specified rectangle)

Current 

Updated line spacing and vertical position calculation is done based on left-top corner rather than left-bottom.

◆ PropertyFlag

Enumeration of possible field flags.

Enumerator
ReadOnly 

Field is read-only.

Required 

Field is required.

NoExport 

Field is not exportable.

InvalidFlag 

Invalid field flag.

◆ StampType

Describes stamp types.

Enumerator
Form 

Stamp if Form.

Image 

Stamp is image.

◆ SubmitFormFlag

Enumeration of possible submit form flags.

Enumerator
Fdf 

Data will be returned in FDF format.

Html 

Data will be returned in HTML format.

Xfdf 

Data will be returned in XFDF format.

FdfWithComments 

Data will be returned in FDF format with comments.

XfdfWithComments 

Data will be returned in XFDF format with comments.

Pdf 

Whole PDF file will be submitted.

◆ WordWrapMode

Defines word wrapping strategies

Enumerator
Default 

Default algorithm (allows breaking words in the middle)

ByWords 

Word wrapping only wraps complete words. If the complete word cannot be wrapped, attempts to wrap word in the middle

Function Documentation

◆ DECLARE_ENUM_OPERATORS()

Aspose::Pdf::Facades::DECLARE_ENUM_OPERATORS ( Aspose::Pdf::Facades::SubmitFormFlag  )