PDFRectangle *getMediaBox() { return attrs->getMediaBox(); }\r
PDFRectangle *getCropBox() { return attrs->getCropBox(); }\r
GBool isCropped() { return attrs->isCropped(); }\r
- double getMediaWidth() \r
+ double getMediaWidth()\r
{ return attrs->getMediaBox()->x2 - attrs->getMediaBox()->x1; }\r
double getMediaHeight()\r
{ return attrs->getMediaBox()->y2 - attrs->getMediaBox()->y1; }\r
- double getCropWidth() \r
+ double getCropWidth()\r
{ return attrs->getCropBox()->x2 - attrs->getCropBox()->x1; }\r
double getCropHeight()\r
{ return attrs->getCropBox()->y2 - attrs->getCropBox()->y1; }\r
// advances to the next page\r
double getDuration() { return duration; }\r
\r
- // Get actions
- Object *getActions(Object *obj) { return actions.fetch(xref, obj); }
-
+ // Get actions\r
+ Object *getActions(Object *obj) { return actions.fetch(xref, obj); }\r
+\r
Gfx *createGfx(OutputDev *out, double hDPI, double vDPI,\r
int rotate, GBool useMediaBox, GBool crop,\r
int sliceX, int sliceY, int sliceW, int sliceH,\r
void *annotDisplayDecideCbkData = NULL);\r
\r
void display(Gfx *gfx);\r
- \r
+\r
// Get the page's default CTM.\r
void getDefaultCTM(double *ctm, double hDPI, double vDPI,\r
int rotate, GBool upsideDown);\r
Object contents; // page contents\r
Object thumb; // page thumbnail\r
Object trans; // page transition\r
- Object actions; // page addiction actions
+ Object actions; // page addiction actions\r
double duration; // page duration\r
GBool ok; // true if page is valid\r
};\r