~ubuntu-branches/ubuntu/lucid/xpdf/lucid-updates

« back to all changes in this revision

Viewing changes to xpdf/PDFDoc.h

  • Committer: Bazaar Package Importer
  • Author(s): Andy Price
  • Date: 2007-05-17 22:04:33 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517220433-gzcx2lrvllkbl7mr
Tags: 3.02-1ubuntu1
* Merge from Debian unstable (LP: #113365), remaining changes:
  - Added back 09_xpdfrc_manpage.dpatch (LP #71753)
  - Set Ubuntu maintainer

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
  Object *getStructTreeRoot() { return catalog->getStructTreeRoot(); }
87
87
 
88
88
  // Display a page.
89
 
  void displayPage(OutputDev *out, int page, double hDPI, double vDPI,
90
 
                   int rotate, GBool useMediaBox, GBool crop,
91
 
                   GBool doLinks,
 
89
  void displayPage(OutputDev *out, int page,
 
90
                   double hDPI, double vDPI, int rotate,
 
91
                   GBool useMediaBox, GBool crop, GBool printing,
92
92
                   GBool (*abortCheckCbk)(void *data) = NULL,
93
93
                   void *abortCheckCbkData = NULL);
94
94
 
95
95
  // Display a range of pages.
96
96
  void displayPages(OutputDev *out, int firstPage, int lastPage,
97
97
                    double hDPI, double vDPI, int rotate,
98
 
                    GBool useMediaBox, GBool crop, GBool doLinks,
 
98
                    GBool useMediaBox, GBool crop, GBool printing,
99
99
                    GBool (*abortCheckCbk)(void *data) = NULL,
100
100
                    void *abortCheckCbkData = NULL);
101
101
 
102
102
  // Display part of a page.
103
103
  void displayPageSlice(OutputDev *out, int page,
104
104
                        double hDPI, double vDPI, int rotate,
105
 
                        GBool useMediaBox, GBool crop, GBool doLinks,
 
105
                        GBool useMediaBox, GBool crop, GBool printing,
106
106
                        int sliceX, int sliceY, int sliceW, int sliceH,
107
107
                        GBool (*abortCheckCbk)(void *data) = NULL,
108
108
                        void *abortCheckCbkData = NULL);
113
113
 
114
114
  // Returns the links for the current page, transferring ownership to
115
115
  // the caller.
116
 
  Links *takeLinks();
 
116
  Links *getLinks(int page);
117
117
 
118
118
  // Find a named destination.  Returns the link destination, or
119
119
  // NULL if <name> is not a destination.
120
120
  LinkDest *findDest(GString *name)
121
121
    { return catalog->findDest(name); }
122
122
 
 
123
  // Process the links for a page.
 
124
  void processLinks(OutputDev *out, int page);
 
125
 
123
126
#ifndef DISABLE_OUTLINE
124
127
  // Return the outline object.
125
128
  Outline *getOutline() { return outline; }
160
163
  GBool setup(GString *ownerPassword, GString *userPassword);
161
164
  void checkHeader();
162
165
  GBool checkEncryption(GString *ownerPassword, GString *userPassword);
163
 
  void getLinks(Page *page);
164
166
 
165
167
  GString *fileName;
166
168
  FILE *file;
169
171
  double pdfVersion;
170
172
  XRef *xref;
171
173
  Catalog *catalog;
172
 
  Links *links;
173
174
#ifndef DISABLE_OUTLINE
174
175
  Outline *outline;
175
176
#endif