5#ifndef PDFTRON_H_CPPPDFPage
6#define PDFTRON_H_CPPPDFPage
10#include <C/PDF/TRN_Page.h>
486#include <Impl/Page.inl>
SDF::Obj FindInheritedAttribute(const char *attrib) const
void FlattenField(class Field field_to_flatten)
Rect GetVisibleContentBox() const
bool HasTransition() const
static int RotationToDegree(Rotate r)
double GetPageWidth(Box box_type=e_crop)
SDF::Obj GetAnnots() const
void AnnotInsertWithTagging(UInt32 pos, Annot &annot, SDF::Obj &tag_parent, const TaggingOptions &options)
void SetCropBox(const Rect &box)
double GetUserUnitSize() const
SDF::Obj GetContents() const
void AnnotPushBack(Annot &annot)
UInt32 GetNumAnnots() const
double GetPageHeight(Box box_type=e_crop)
Rotate GetRotation() const
void SetRotation(Rotate angle)
void SetBox(Box type, const Rect &box) const
static Rotate DegreeToRotation(int r)
void SetUserUnitSize(double unit_size)
Rect GetBox(Box type) const
Common::Matrix2D GetDefaultMatrix(bool flip_y=false, Box box_type=e_crop, Rotate angle=e_0) const
Annot GetAnnot(UInt32 index) const
SDF::Obj GetSDFObj() const
SDF::Obj GetThumb() const
Page(SDF::Obj page_dict=0)
void AnnotInsert(UInt32 pos, Annot &annot)
SDF::Obj GetResourceDict() const
@ e_action_trigger_page_open
@ e_action_trigger_page_close
void SetMediaBox(const Rect &box)
Page & operator=(const Page &p)
static Rotate SubtractRotations(Rotate r0, Rotate r1)
void AnnotRemove(UInt32 index)
SDF::Obj GetTriggerAction(Page::ActionTriggerEvent trigger)
void AnnotPushFront(Annot &annot)
void AnnotRemove(Annot &annot)
static Rotate AddRotations(Rotate r0, Rotate r1)