3#ifndef PDFSDK_CXX_PDF_PAGE_H_INCLUDED_
4#define PDFSDK_CXX_PDF_PAGE_H_INCLUDED_
7#include <pdfsdk/cxx/math.h>
9#include "forward_declarations.h"
10#include "wrapper_base.h"
20class Page :
public detail::RefCountedHandle<PDPage> {
228 PDF_CXX_CORE_WRAPPER_DEFINE_MEMBERS_(
Page, PDPage)
233#include "page_impl.inl"
Represents an annotation in a PDF document.
Definition annot.h:19
Represents the content of a PDF page.
Definition content.h:20
Represents a PDF document.
Definition document.h:22
Represents a PDF object.
Definition object.h:20
Represents a leaf node (Page Object).
Definition page.h:20
void FlushModifiedContent()
Content GetContent() const
void SetContentModified(bool modified=true)
Set the content modified flag.
RectF GetDevSpacePageBox(float zoom=1.f, PDRotate rotate=kPDRotate_0, float dpi=96) const
RectF GetBleedBox() const
void SetArtBox(const RectF &box)
void SetMediaBox(const PDF::RectF &box)
float GetUserUnitSize() const
Annot GetAnnot(size_t index) const
Matrix GetDevToPageSpaceMatrix(float zoom=1.f, PDRotate rotate=kPDRotate_0, float dpi=96) const
PDRotate GetRotate() const
void AddAnnot(size_t insertAt, Annot annot)
void SetUserUnitSize(float unitSize)
RectF GetMediaBox() const
void SetBleedBox(const RectF &box)
void RemoveAnnot(Annot annot)
bool IsContentModified() const
Get the content modified flag.
size_t GetNumAnnots() const
Document GetDocument() const
void SetCropBox(const RectF &box)
void SetRotate(PDRotate rotate)
void RemoveAnnotByIndex(size_t index)
Matrix GetPageToDevSpaceMatrix(float zoom=1.f, PDRotate rotate=kPDRotate_0, float dpi=96) const
void SetTrimBox(const RectF &box)
size_t GetAnnotIndex(Annot annot) const
size_t GetPageIndex() const
Object GetPdfObject() const
PageText GetPageText() const
Represents text on a page.
Definition page_text.h:42