Page
Kind: class
Module/package: com.pdfdancer.common.model
SDK: com.pdfdancer.client:pdfdancer-client-java 2.0.0
Represents a single page within a PDF document, containing all content elements. This class encapsulates a complete page structure including text, images, forms, and vector graphics, providing a comprehensive view of page content for manipulation and analysis operations.
Declaration
public class com.pdfdancer.common.model.Page extends com.pdfdancer.common.model.PDFObject
Members
constructor
public com.pdfdancer.common.model.Page()
Default constructor for serialization frameworks. Creates an uninitialized page that should be populated with content.
constructor
public com.pdfdancer.common.model.Page(java.lang.String, int, com.pdfdancer.common.model.PageSize)
Creates a page with essential identification and dimensional properties. This constructor initializes the fundamental page characteristics, with content elements to be added separately.
getForms
public java.util.List<com.pdfdancer.common.model.Form> getForms()
getId
public java.lang.String getId()
Description copied from class: PDFObject
getImages
public java.util.List<com.pdfdancer.common.model.Image> getImages()
getPageNumber
public int getPageNumber()
getPaths
public java.util.List<com.pdfdancer.common.model.path.PathSegment> getPaths()
getPosition
public com.pdfdancer.common.model.Position getPosition()
Description copied from class: PDFObject
getSize
public com.pdfdancer.common.model.PageSize getSize()
setForms
public void setForms(java.util.List<com.pdfdancer.common.model.Form>)
setId
public void setId(java.lang.String)
Description copied from class: PDFObject
setImages
public void setImages(java.util.List<com.pdfdancer.common.model.Image>)
setPageNumber
public void setPageNumber(int)
setPaths
public void setPaths(java.util.List<com.pdfdancer.common.model.path.PathSegment>)
setPosition
public void setPosition(com.pdfdancer.common.model.Position)
Description copied from class: PDFObject
setSize
public void setSize(com.pdfdancer.common.model.PageSize)
toObjectRef
public com.pdfdancer.common.model.ObjectRef toObjectRef()
Creates an object reference for this page. This method generates a lightweight reference that can be used in API operations to identify this page without transferring its complete content structure.
toObjectRef
public com.pdfdancer.common.model.PageRef toObjectRef()
Creates an object reference for this page. This method generates a lightweight reference that can be used in API operations to identify this page without transferring its complete content structure.