Package | Description |
---|---|
com.aspose.pdf |
The
com.aspose.pdf is a root package for all classes of Aspose.PDF for Java library
which are either directly in it like Document or indirectly through several
subpackages. |
com.aspose.pdf.devices |
The com.aspose.pdf.devices package provides classes which are used for representing
document as image(s) or a plain text.
|
com.aspose.pdf.facades |
The
com.aspose.pdf.facades package provides classes originally came from
Aspose.Pdf.Kit. |
com.aspose.pdf.nameddestinations |
The
com.aspose.pdf.nameddestinations package provides classes which describes Named Destinations. |
com.aspose.pdf.tagged |
The
com.aspose.pdf.tagged package provides classes that allow to work with TaggedContent of a
document. |
Modifier and Type | Class and Description |
---|---|
class |
Document
Class representing PDF document
|
class |
DocumentWeb
Represents DocumentWeb class
|
Modifier and Type | Method and Description |
---|---|
IDocument |
Form.getDocument()
For internal usage only
|
IDocument |
Page.getDocument()
Get document
|
static IDocument |
InternalHelper.getDocument(PdfFormatConversionOptions res) |
static IDocument |
InternalHelper.getDocument(Resources res) |
static IDocument |
InternalHelper.getTempDocument() |
static IDocument |
InternalHelper.PdfFormatConversionOptions_getDocument(PdfFormatConversionOptions options) |
Modifier and Type | Method and Description |
---|---|
static void |
InternalHelper.addButton(Page _currentPage,
Rectangle convertRect,
boolean isShowFieldsBorders,
com.aspose.html.HTMLInputElement as,
IDocument _document) |
static void |
InternalHelper.addImagingEvaluationMark(IDocument doc,
com.aspose.imaging.Image image) |
void |
InternalHelper.XfaMergeWrapper.append(IDocument src,
com.aspose.pdf.engine.collections.HashDictionary<String,String> RenameMap) |
static ExplicitDestination |
ExplicitDestination.createDestination(IDocument doc,
int pageNumber,
int type,
double... values)
Deprecated.
|
static XForm |
XForm.createNewForm(Page source,
IDocument document)
Creates XForm which duplicates contents of the page.
|
static boolean |
InternalHelper.document_get_IsObjectLicensed(IDocument document) |
static void |
InternalHelper.execute(PdfAction action,
IDocument document) |
static com.aspose.pdf.engine.commondata.text.fonts.utilities.IDocumentFontSaveOptions |
InternalHelper.FontSaveOptions(IDocument doc) |
static com.aspose.pdf.engine.data.IPdfDictionary |
InternalHelper.Form_getAcroFormFontsDictionary(IDocument doc) |
static boolean |
InternalHelper.get_IsObjectLicensed(IDocument document) |
static com.aspose.pdf.engine.commondata.IDocumentSecondaryStrategies |
InternalHelper.getDocumentStrategies(IDocument value) |
static FontCollection |
InternalHelper.getFontCollection(IDocument doc) |
static void |
InternalHelper.iDocument_saveInternal(IDocument iDocument,
com.aspose.ms.System.IO.Stream output) |
void |
Annotation.initialize(IDocument doc)
Instance initialization
|
static boolean |
InternalHelper.isCertified(IDocument value) |
static boolean |
InternalHelper.isConvertMetadataAndCatalogOnly(IDocument document) |
static boolean |
InternalHelper.isNotCheckMetadata(IDocument value) |
static boolean |
InternalHelper.isPdfAConversionMode(IDocument document) |
static boolean |
InternalHelper.needCheckRestrictions(IDocument document) |
static void |
InternalHelper.PdfFormatConversionOptions_setAdditionalParameters(PdfFormatConversionOptions options,
com.aspose.ms.System.Xml.XmlTextWriter xml,
IDocument doc,
boolean onlyValidation) |
static void |
XfdfReader.readAnnotations(InputStream stream,
IDocument document)
Import annotations from XFDF file and put them into document.
|
static void |
XfdfReader.readFields(InputStream stream,
IDocument document)
Import field values from XFDF file.
|
static void |
InternalHelper.readFields(com.aspose.ms.System.IO.Stream stream,
IDocument document,
com.aspose.ms.System.Collections.Generic.List<String> foundFields,
com.aspose.ms.System.Collections.Generic.List<String> notFound) |
static void |
InternalHelper.releaseResourcesFor(IDocument _document,
com.aspose.pdf.engine.data.IPdfObject object) |
static Resources |
InternalHelper.ResourcesCreate(IDocument doc,
com.aspose.pdf.engine.commondata.pagecontent.IResourceDictionary res) |
static void |
InternalHelper.validateAnnotations(IDocument value) |
void |
ImagePlacementAbsorber.visit(IDocument pdf)
Performs search on the specified document.
|
void |
TextAbsorber.visit(IDocument pdf)
Extracts text on the specified document
The example demonstrates how to extract text on PDF document.
// open document
Document doc = new Document(inFile);
// create TextAbsorber object to extract text
TextAbsorber absorber = new TextAbsorber();
// accept the absorber for all document's pages
absorber.visit(doc);
// get the extracted text
String extractedText = absorber.getText();
|
void |
TextFragmentAbsorber.visit(IDocument pdf)
Performs search on the specified document.
|
static void |
XfdfWriter.writeAnnotations(com.aspose.ms.System.IO.Stream stream,
IDocument document)
Writes annotations from list to XFDF stream.
|
static void |
XfdfWriter.writeFields(com.aspose.ms.System.IO.Stream stream,
IDocument document) |
Constructor and Description |
---|
BarcodeField(IDocument doc,
Rectangle rect)
Initializes new instance of the
BarcodeField class. |
ButtonField(IDocument doc,
Rectangle rect)
ButtonField constructore.
|
CaretAnnotation(IDocument document)
Constructor for usign in Generator.
|
CheckboxField(IDocument doc)
Constructor to use with Generator.
|
CheckboxField(IDocument doc,
Rectangle rect)
Constructor for CheckboxField class.
|
ChoiceField(IDocument doc)
Creates choice field (for Generator)
|
ChoiceField(IDocument doc,
Rectangle rect)
Constructor for ChoiceField.
|
CircleAnnotation(IDocument document)
Constructor for Circle annotation.
|
ComboBoxField(IDocument doc)
Creates CombBox field to work with Generator.
|
ComboBoxField(IDocument doc,
Rectangle rect)
Constructor for Combobox field.
|
CommonFigureAnnotation(IDocument document)
Constructor for using in Generator.
|
DocumentActionCollection(IDocument document)
Constructor for DocumentActionCollection.
|
DocumentInfo(IDocument document)
Initialize DocumentInfo instance.
|
Field(IDocument doc)
Creates field for use in Generator.
|
Form(IDocument document)
Constructor
|
FreeTextAnnotation(IDocument document,
DefaultAppearance appearance)
Constructor to use with Generator.
|
InkAnnotation(IDocument document,
List<Point[]> inkList)
Constructor for Ink annotation for Generator.
|
LaunchAction(IDocument document,
String file)
Creates a launch action.
|
LineAnnotation(IDocument document,
Point start,
Point end)
Constructor for using with Generator.
|
ListBoxField(IDocument doc,
Rectangle rect)
Constructor for ListBox field.
|
MarkupAnnotation(IDocument document)
Constructor for markup annotation.
|
MovieAnnotation(IDocument document,
String movieFile)
Constructor for using with Generator.
|
PDF3DCrossSectionArray(IDocument doc)
Initializes a new instance of the
PDF3DCrossSectionArray class. |
PDF3DStream(IDocument doc,
PDF3DArtwork pdf3DArtwork)
Initializes a new instance of the
PDF3DStream class. |
PDF3DView(IDocument doc,
Matrix3D cameraPosition,
double cameraOrbit,
String viewName)
Initializes a new instance of the
PDF3DView class. |
PDF3DView(IDocument doc,
PDF3DView view,
String viewName)
Initializes a new instance of the
PDF3DView class. |
PolygonAnnotation(IDocument document,
Point[] vertices)
Constructor for using with Generator.
|
PopupAnnotation(IDocument document)
Constructor. for using in Generator.
|
RadioButtonField(IDocument doc)
Constructor for RadioButtonField.
|
RedactionAnnotation(IDocument document)
Constructor for RedactionAnnotation.
|
SignatureField(IDocument doc,
Rectangle rect)
Initializes new instance of the
SignatureField class. |
SquareAnnotation(IDocument document)
Constructor for using with Generator.
|
StampAnnotation(IDocument document)
Constructor
|
TextAnnotation(IDocument document)
Constructor for annotation when used in Generator.
|
TextBoxField(IDocument doc)
Constructor which should be used with Generator.
|
TextBoxField(IDocument doc,
Rectangle rect)
Constructor of TextBox field.
|
WidgetAnnotation(IDocument doc)
Create annotation (used for Generator)
|
XfaMergeWrapper(IDocument dest) |
XYZExplicitDestination(IDocument document,
int pageNumber,
double left,
double top,
double zoom)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
DocumentDevice.process(IDocument document,
int fromPage,
int toPage,
OutputStream output)
Each device represents some operation on the document, e.g. we can convert pdf document into
another format.
|
void |
TiffDevice.process(IDocument document,
int fromPage,
int toPage,
OutputStream output)
Converts certain document pages into tiff and save it in the output stream.
|
void |
DocumentDevice.process(IDocument document,
int fromPage,
int toPage,
String outputFileName)
Processes certain pages of the document and saves results into file.
|
void |
DocumentDevice.process(IDocument document,
OutputStream output)
Processes the whole document and saves results into stream.
|
void |
DocumentDevice.process(IDocument document,
String outputFileName)
Processes the whole document and saves results into file.
|
abstract void |
DocumentDevice.processInternal(IDocument document,
int fromPage,
int toPage,
com.aspose.ms.System.IO.Stream output)
Each device represents some operation on the document, e.g. we can convert pdf document into
another format.
|
void |
TiffDevice.processInternal(IDocument document,
int fromPage,
int toPage,
com.aspose.ms.System.IO.Stream output)
Converts certain document pages into tiff and save it in the output stream.
|
void |
DocumentDevice.processInternal(IDocument document,
com.aspose.ms.System.IO.Stream output)
Processes the whole document and saves results into stream.
|
Modifier and Type | Method and Description |
---|---|
IDocument |
Facade.getDocument()
Gets the document facade is working on.
|
IDocument |
FormEditor.getDocument()
Gets the document
FormEditor is working on. |
IDocument |
IForm.getDocument()
Gets the document
Form is working on. |
IDocument |
IFormEditor.getDocument()
Gets the document
FormEditor is working on. |
IDocument |
IPdfFileStamp.getDocument()
Gets the document
PdfFileStamp is working on. |
IDocument |
PdfFileMend.getDocument()
Gets the document
PdfFileMend is working on. |
Modifier and Type | Method and Description |
---|---|
void |
AutoFiller.bindPdf(IDocument srcDoc)
Binds a Pdf document.
|
void |
Facade.bindPdf(IDocument srcDoc)
Initializes the facade.
|
void |
IFacade.bindPdf(IDocument srcDoc)
Binds PDF document for editing.
|
void |
PdfFileInfo.bindPdf(IDocument srcDoc)
Initializes the facade.
|
void |
PdfViewer.bindPdf(IDocument srcDoc)
Initializes the facade.
|
boolean |
IPdfFileEditor.concatenate(IDocument[] src,
IDocument dest)
Concatenates documents.
|
boolean |
IPdfFileEditor.concatenate(IDocument[] src,
IDocument dest)
Concatenates documents.
|
boolean |
PdfFileEditor.concatenate(IDocument[] src,
IDocument dest)
Concatenates documents.
|
boolean |
PdfFileEditor.concatenate(IDocument[] src,
IDocument dest)
Concatenates documents.
|
void |
PdfFileEditor.resizeContents(IDocument source,
int[] pages,
IPdfFileEditor.ContentsResizeParameters parameters)
Resizes pages of document.
|
OutlineItemCollection |
Bookmark.toOutlineItemCollection(IDocument doc)
convert to OutlineItemCollection
|
Constructor and Description |
---|
Form(IDocument document)
Initializes new
Form object on base of the document . |
Form(IDocument document,
OutputStream destStream)
Deprecated.
|
Form(IDocument document,
String destFileName)
Deprecated.
|
FormEditor(IDocument document)
Initializes new
FormEditor object on base of the document . |
FormEditor(IDocument document,
OutputStream destStream)
Deprecated.
|
FormEditor(IDocument document,
String destFileName)
Deprecated.
|
FormEditorWeb(IDocument document)
Initializes new
FormEditorWeb object on base of the document . |
FormEditorWeb(IDocument document,
OutputStream destStream)
Initializes new
FormEditorWeb object on base of the document . |
FormEditorWeb(IDocument document,
String destFileName)
Initializes new
FormEditorWeb object on base of the document . |
FormWeb(IDocument document)
Initializes new
FormWeb object on base of the document . |
FormWeb(IDocument document,
OutputStream destStream)
Initializes new
FormWeb object on base of the document . |
FormWeb(IDocument document,
String destFileName)
Initializes new
FormWeb object on base of the document . |
PdfAnnotationEditor(IDocument document)
Initializes new
PdfAnnotationEditor object on base of the document . |
PdfBookmarkEditor(IDocument document)
Initializes new
PdfBookmarkEditor object on base of the document . |
PdfContentEditor(IDocument document)
Initializes new
PdfContentEditor object on base of the document . |
PdfConverter(IDocument document)
Initializes new
PdfConverter object on base of the document . |
PdfExtractor(IDocument document)
Initializes new
PdfExtractor object on base of the document . |
PdfFileInfo(IDocument document)
Initializes new
PdfFileInfo object on base of the document . |
PdfFileMend(IDocument document)
Initializes new
PdfFileMend object on base of the document . |
PdfFileMend(IDocument document,
com.aspose.ms.System.IO.Stream outputStream)
Deprecated.
|
PdfFileMend(IDocument document,
String outputFileName)
Deprecated.
|
PdfFileSecurity(IDocument document)
Initializes new
PdfFileSecurity object on base of the document . |
PdfFileSecurity(IDocument document,
OutputStream outputStream)
Deprecated.
|
PdfFileSecurity(IDocument document,
String outputFile)
Deprecated.
|
PdfFileSignature(IDocument document)
Initializes new
PdfFileSignature object on base of the document . |
PdfFileSignature(IDocument document,
String outputFile)
Deprecated.
|
PdfFileStamp(IDocument document)
Initializes new
PdfFileStamp object on base of the document . |
PdfFileStamp(IDocument document,
OutputStream outputStream)
Initializes new
PdfFileStamp object on base of the document . |
PdfFileStamp(IDocument document,
String outputFile)
Initializes new
PdfFileStamp object on base of the document . |
PdfFileStampWeb(IDocument document)
Initializes new
PdfFileStamp object on base of the document . |
PdfFileStampWeb(IDocument document,
OutputStream outputStream)
Initializes new
PdfFileStamp object on base of the document . |
PdfFileStampWeb(IDocument document,
String outputFile)
Initializes new
PdfFileStamp object on base of the document . |
PdfViewer(IDocument document)
Initializes new
PdfViewer object. |
PdfXmpMetadata(IDocument document)
Initializes new
PdfXmpMetadata object on base of the document . |
Modifier and Type | Method and Description |
---|---|
static NamedDestinationCollection |
InternalHelper.new_NamedDestinationCollection(IDocument doc) |
Modifier and Type | Method and Description |
---|---|
IDocument |
TaggedContext.getDocument() |
Constructor and Description |
---|
TaggedContent(IDocument document) |