Package | Description |
---|---|
com.aspose.pdf |
The
com.aspose.pdf is a root package for all classes of Aspose.Pdf.New 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.drawing |
The com.aspose.pdf.drawing package provides classes describing graphic primitives like
arc, line, circle etc.
|
com.aspose.pdf.facades |
The
com.aspose.pdf.facades package provides classes originaly came from Aspose.Pdf.Kit. |
Modifier and Type | Method and Description |
---|---|
Page |
PageCollection.add()
Adds empty page
|
Page |
PageCollection.add(Page entity)
Adds page to collection.
|
Page |
PageCollection.get_Item(int index)
Gets page by index.
|
Page |
Heading.getDestinationPage()
Gets the destination page.
|
Page |
TextFragment.getPage()
Gets page that contains the TextFragment
The value can be null in case the TextFragment object doesn't belong to any page. |
Page |
ImagePlacement.getPage()
Gets the page containing the image.
|
Page |
ExplicitDestination.getPage()
Gets the destination page object
|
Page |
Annotation.getPage()
Gets the page object with which this annotation is associated.
|
Page |
PdfPageStamp.getPdfPage()
Gets page which will be used as stamp.
|
Page |
Heading.getTocPage()
Gets the page that contains this heading.
|
Page |
PageCollection.getUnrestricted(int index)
Returns page by its index.
|
Page |
PageCollection.insert(int pageNumber)
Insert empty apge into collection at the specified position.
|
Page |
PageCollection.insert(int pageNumber,
Page entity)
Inserts page into page collection at specified place.
|
Modifier and Type | Method and Description |
---|---|
Page |
PageCollection.add(Page entity)
Adds page to collection.
|
void |
PageCollection.add(Page[] pages)
Adds to collection all pages from array.
|
static void |
InternalHelper.addButton(Page _currentPage,
Rectangle convertRect,
boolean isShowFieldsBorders,
com.aspose.html.HTMLInputElement as,
Document _document) |
static void |
InternalHelper.annotation_setPage(Annotation radio,
Page _currentPage) |
com.aspose.ms.System.IAsyncResult |
Page.BeforePageGenerate.beginInvoke(Page page,
com.aspose.ms.System.AsyncCallback callback,
Object state) |
static Annotation |
Annotation.createAnnotation(com.aspose.pdf.engine.data.IPdfObject annotEngineObj,
Page page)
Initializes annotation from PDF object which describes the annotation.
|
static XYZExplicitDestination |
XYZExplicitDestination.createDestination(Page page,
double left,
double top,
double zoom,
boolean considerRotation)
Create destination to specified location of the page considering page rotation if required.
|
static ExplicitDestination |
ExplicitDestination.createDestination(Page page,
int type,
double... values)
Creates instances of ExplicitDestination descendant classes.
|
static XYZExplicitDestination |
XYZExplicitDestination.createDestinationToUpperLeftCorner(Page page)
Create destination to specified page.
|
static XYZExplicitDestination |
XYZExplicitDestination.createDestinationToUpperLeftCorner(Page page,
double zoom)
Create destination to upper left corner of the specified page.
|
static XForm |
XForm.createNewForm(Page source,
IDocument document)
Creates XForm which duplicates contents of the page.
|
static XForm |
XForm.createNewForm(Page source,
com.aspose.pdf.engine.data.ITrailerable trailerable,
Copier copier) |
static XForm |
InternalHelper.createNewForm(Page source,
com.aspose.pdf.engine.data.ITrailerable trailerable,
Copier copier) |
static void |
InternalHelper.htmlFragment_copyResources(Page srcPage,
Page destPage) |
Page |
PageCollection.insert(int pageNumber,
Page entity)
Inserts page into page collection at specified place.
|
void |
PageCollection.insert(int pageNumber,
Page[] pages)
Inserts pages of the array into document.
|
abstract void |
Page.BeforePageGenerate.invoke(Page page) |
static void |
InternalHelper.page_SetPageNumber(Page page,
int number) |
static void |
InternalHelper.page_updateContents(Page page) |
static TextParagraph |
InternalHelper.PageGenerator_getTextParagraph(TextFragment fragment,
Rectangle rect,
Page page,
boolean isHorizontalAlignmentSet,
int alignment,
int verticalAlignment,
boolean isWordWrapped) |
static void |
InternalHelper.processHyperlink(BaseParagraph bp,
Page page,
Rectangle rect) |
void |
TextStamp.put(Page page)
Adds textual stamp on the page.
|
abstract void |
Stamp.put(Page page)
Adds stamp on the page.
|
void |
PdfPageStamp.put(Page page)
Put stamp on the specified page.
|
void |
PageNumberStamp.put(Page page)
Adds page number.
|
void |
ImageStamp.put(Page page)
Adds graphic stamp on the page.
|
void |
Heading.setDestinationPage(Page value) |
void |
PdfPageStamp.setPdfPage(Page value)
Sets page which will be used as stamp.
|
void |
Artifact.SetPdfPage(Page page)
Sets PDF page which is placed on the document page as artifact.
|
void |
Heading.setTocPage(Page value) |
static void |
InternalHelper.setTransition(Page page,
com.aspose.pdf.engine.data.IPdfDictionary transition) |
void |
TextFragmentAbsorber.visit(Page page)
Performs search on the specified page.
|
void |
TextAbsorber.visit(Page page)
Extracts text on the specified page
The example demonstrates how to extract text on the first PDF document page.
|
void |
TableAbsorber.visit(Page page)
Extracts tables on the specified page
The example demonstrates how to extract table on the first PDF document page.
// Open document
Document doc = new Document(@"D:\Tests\input.pdf");
// Create TableAbsorber object to find tables
TableAbsorber absorber = new TableAbsorber();
// Visit first page with absorber
absorber.visit(pdfDocument.getPages.get_item(1));
// Get access to first table on page, their first cell and text fragments in it
TextFragment fragment = absorber.getTableList().get_item(0).getRowList.get_item(0).getCellList().get_item(0).getTextFragments.get_item(1);
// Change text of the first text fragment in the cell
fragment.setText ("hi world");
// Save document
doc.save(@"D:\Tests\output.pdf");
|
void |
ImagePlacementAbsorber.visit(Page page)
Performs search on the specified page.
|
Constructor and Description |
---|
AnnotationCollection(Page page)
Constructor of AnnotationCollection.
|
BarcodeField(Page page,
Rectangle rect)
Initializes new instance of the
BarcodeField class. |
ButtonField(Page page,
Rectangle rect)
ButtonField constructor.
|
CaretAnnotation(Page page,
Rectangle rect)
Creates new Caret annotation on the specified page.
|
CheckboxField(Page page,
Rectangle rect)
Constructor for CheckboxField class.
|
ChoiceField(Page page,
Rectangle rect)
Constructor for ChoiceField.
|
CircleAnnotation(Page page,
Rectangle rect)
Creates new Circle annotation on the specified page.
|
ComboBoxField(Page page,
Rectangle rect) |
ContentsAppender(Page page)
Initializez new instance of the contents appender with page attached
|
FileAttachmentAnnotation(Page page,
Rectangle rect,
FileSpecification fileSpec)
Creates new FileAttachment annotation on the specified page.
|
FitBExplicitDestination(Page page)
Creates the instance and initializes it by DOM page object.
|
FitBHExplicitDestination(Page page,
double top)
Creates the instance and initializes it by DOM page object and top parameter.
|
FitBVExplicitDestination(Page page,
double left)
Creates the instance and initializes it by DOM page object and left parameter.
|
FitExplicitDestination(Page page)
Creates local explicit destination.
|
FitHExplicitDestination(Page page,
double top)
Creates the instance and initializes it by DOM page object and top parameter.
|
FitRExplicitDestination(Page page,
double left,
double bottom,
double right,
double top)
Creates the instance and initializes it by DOM page object and visible parameters.
|
FitVExplicitDestination(Page page,
double left)
Creates the instance and initializes it by DOM page object and left parameter.
|
FreeTextAnnotation(Page page,
Rectangle rect,
DefaultAppearance appearance)
Creates new FreeText annotation on the specified page.
|
GoToAction(Page page)
Constructor.
|
GoToAction(Page page,
int type,
double... values)
|
Group(Page page)
The constructor.
|
HighlightAnnotation(Page page,
Rectangle rect)
Creates new Highlight annotation on the specified page.
|
InkAnnotation(Page page,
Rectangle rect,
com.aspose.ms.System.Collections.IList inkList)
Creates new Ink annotation on the specified page.
|
LineAnnotation(Page page,
Rectangle rect,
Point start,
Point end)
Creates new Line annotation on the specified page.
|
LinkAnnotation(Page page,
Rectangle rect)
Creates new Link annotation on the specified page.
|
ListBoxField(Page page,
Rectangle rect)
Creates new ListBox field.
|
MovieAnnotation(Page page,
Rectangle rect,
String movieFile)
Creates new Sound annotation on the specified page.
|
PDF3DAnnotation(Page page,
Rectangle rect,
PDF3DArtwork pdf3DArtwork)
Initializes a new instance of the
PDF3DAnnotation class. |
PDF3DAnnotation(Page page,
Rectangle rect,
PDF3DArtwork pdf3DArtwork,
int activation)
Initializes a new instance of the
PDF3DAnnotation class. |
PdfPageStamp(Page pdfPage)
Constructor of PdfPageStamp.
|
PolygonAnnotation(Page page,
Rectangle rect,
Point[] vertices)
Creates new Polygon annotation on the specified page.
|
PolylineAnnotation(Page page,
Rectangle rect,
Point[] vertices)
Creates new Polyline annotation on the specified page.
|
PopupAnnotation(Page page,
Rectangle rect)
Creates new Popup annotation on the specified page.
|
RadioButtonField(Page page)
Constructor for RadiouttonField
|
RadioButtonField(Page page,
Rectangle rect) |
RadioButtonOptionField(Page page,
Rectangle rect) |
ScreenAnnotation(Page page,
Rectangle rect,
String mediaFile)
Creates new Screen annotation on the specified page.
|
SignatureField(Page page,
Rectangle rect)
Initializes new instance of the
SignatureField class. |
SoundAnnotation(Page page,
Rectangle rect,
String soundFile)
Creates new Sound annotation on the specified page.
|
SquareAnnotation(Page page,
Rectangle rect)
Creates new Square annotation on the specified page.
|
SquigglyAnnotation(Page page,
Rectangle rect)
Creates new Squiggly annotation on the specified page.
|
StampAnnotation(Page page,
Rectangle rect)
Creates new Stamp annotation on the specified page.
|
StrikeOutAnnotation(Page page,
Rectangle rect)
Creates new StrikeOut annotation on the specified page.
|
TextAnnotation(Page page,
Rectangle rect)
Creates new Text annotation on the specified page.
|
TextBoxField(Page page,
Rectangle rect)
Constructor of TextBox field.
|
TextBuilder(Page page)
Initializes a new instance of
TextBuilder class for the Pdf page. |
TextBuilder(Page page,
BaseOperatorCollection operatorCollection)
Initializes a new instance of
TextBuilder class for the Pdf page. |
UnderlineAnnotation(Page page,
Rectangle rect)
Creates new Underline annotation on the specified page.
|
XYZExplicitDestination(Page page,
double left,
double top,
double zoom)
Creates the instance and initializes it by DOM page object and visible parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
PageDevice.process(Page page,
com.aspose.ms.System.Drawing.Graphics gr)
renders page on the graphics
|
void |
GraphicsDevice.process(Page page,
com.aspose.ms.System.Drawing.Graphics gr)
renders page on the graphics
|
void |
BmpDevice.process(Page page,
com.aspose.ms.System.Drawing.Graphics gr)
renders page on the graphics
|
void |
TextDevice.process(Page page,
OutputStream output)
Convert page and save it as text stream.
|
void |
PngDevice.process(Page page,
OutputStream output) |
void |
PageDevice.process(Page page,
OutputStream output) |
void |
JpegDevice.process(Page page,
OutputStream output) |
void |
GifDevice.process(Page page,
OutputStream output) |
void |
EmfDevice.process(Page page,
OutputStream output) |
void |
BmpDevice.process(Page page,
OutputStream output) |
void |
GraphicsDevice.process(Page page,
com.aspose.ms.System.IO.Stream output)
Perfoms some operation on the given page, e.g. converts page into graphic image.
|
void |
PageDevice.process(Page page,
String outputFileName)
Perfoms some operation on the given page and saves results into the file.
|
void |
TextDevice.processInternal(Page page,
com.aspose.ms.System.IO.Stream output)
Convert page and save it as text stream.
|
void |
PngDevice.processInternal(Page page,
com.aspose.ms.System.IO.Stream output)
Converts the page into png and saves it in the output stream.
|
abstract void |
PageDevice.processInternal(Page page,
com.aspose.ms.System.IO.Stream output)
Perfoms some operation on the given page, e.g. converts page into graphic image.
|
void |
JpegDevice.processInternal(Page page,
com.aspose.ms.System.IO.Stream output)
Converts the page into jpeg and saves it in the output stream.
|
void |
GraphicsDevice.processInternal(Page page,
com.aspose.ms.System.IO.Stream output) |
void |
GifDevice.processInternal(Page page,
com.aspose.ms.System.IO.Stream output)
Converts the page into gif and saves it in the output stream.
|
void |
EmfDevice.processInternal(Page page,
com.aspose.ms.System.IO.Stream output)
Converts the page into emf and saves it in the output stream.
|
void |
BmpDevice.processInternal(Page page,
com.aspose.ms.System.IO.Stream output)
Converts the page into bmp and saves it in the output stream.
|
static void |
InternalHelper.processMarkedContentPresentation(ImageDevice markedContentDevice,
Page page,
String path) |
Modifier and Type | Method and Description |
---|---|
static boolean |
InternalHelper.process(Graph graph,
double[] referenceToCurX,
double[] referenceToCurY,
boolean isNextParagraphInline,
com.aspose.ms.System.Collections.ArrayList operators,
Page page) |
static void |
InternalHelper.setTransparency(Page page,
Color color,
Color strokeColor,
com.aspose.ms.System.Collections.ArrayList operators) |
Modifier and Type | Method and Description |
---|---|
void |
PdfExtractor.extractMarkedContentAsImages(Page page,
String path)
Gets all the Marked Content containers as separate images.
|
Copyright © 2018 Aspose. All Rights Reserved.