Changeset 222 for trunk/src/IDocument.h
- Timestamp:
- 06/11/06 14:46:38 (2 years ago)
- Files:
-
- 1 modified
-
trunk/src/IDocument.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/IDocument.h
r200 r222 134 134 135 135 /// 136 /// @brief Makes a copy of the document. 137 /// 138 /// This function must make a deep copy of the current document 139 /// and return the result. 140 /// 141 /// @return A new document class with the same content than the 142 /// caller document. 143 /// 144 virtual IDocument *copy (void) const = 0; 145 146 /// 136 147 /// @brief Finds text on a single page. 137 148 /// … … 190 201 virtual void getPageSizeForPage (gint pageNum, gdouble *width, 191 202 gdouble *height) = 0; 203 204 /// 205 /// @brief Starts the output to PostScript. 206 /// 207 /// This starts a new PostScript file with name @a fileName and 208 /// with @a numPages pages of @a width x @a height. 209 /// 210 /// @param fileName The file name to output the postscript code. 211 /// @param numOfPages The number of pages to output. 212 /// @param pageWidth The width of each page. 213 /// @param pageHeight The height of each page. 214 /// 215 virtual void outputPostscriptBegin (const gchar *fileName, 216 guint numOfPages, 217 gfloat pageWidth, 218 gfloat pageHeight) = 0; 219 220 /// 221 /// @brief Ends the output to PostScript. 222 /// 223 /// Ends any started output to PostScript by calling 224 /// outputPostscriptBegin (). 225 /// 226 virtual void outputPostscriptEnd (void) = 0; 227 228 /// 229 /// @brief Renders a single page to PostScript. 230 /// 231 /// Renders the page @a pageNum To the PostScript started 232 /// at outputPostscriptBegin (). 233 /// 234 /// @param pageNum The number of the page to render. 235 /// 236 virtual void outputPostscriptPage (guint pageNum) = 0; 192 237 193 238 /// … … 248 293 const gchar *getCreator (void); 249 294 void setCreator (gchar *creator); 250 const gchar *getPassword (void) ;295 const gchar *getPassword (void) const; 251 296 void setPassword (const gchar *password); 252 297 const gchar *getProducer (void); 253 298 void setProducer (gchar *producer); 254 const gchar *getFileName (void) ;299 const gchar *getFileName (void) const; 255 300 void setFileName (const gchar *fileName); 256 301 const gchar *getFormat (void);
