"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Plugins/Pdf/PDFWriter/PDFPage.h" between
TeXmacs-1.99.4-src.tar.gz and TeXmacs-1.99.5-src.tar.gz

About: GNU TeXmacs is a what-you-see-is-what-you-get scientific text editor, which was both inspired by TeX and GNU Emacs.

PDFPage.h  (TeXmacs-1.99.4-src):PDFPage.h  (TeXmacs-1.99.5-src)
skipping to change at line 30 skipping to change at line 30
#include "ObjectsBasicTypes.h" #include "ObjectsBasicTypes.h"
#include "PDFRectangle.h" #include "PDFRectangle.h"
#include "SingleValueContainerIterator.h" #include "SingleValueContainerIterator.h"
#include "ResourcesDictionary.h" #include "ResourcesDictionary.h"
#include <list> #include <list>
#include <utility> #include <utility>
typedef std::pair<bool,PDFRectangle> BoolAndPDFRectangle; typedef std::pair<bool,PDFRectangle> BoolAndPDFRectangle;
typedef std::pair<bool,unsigned int> BoolAndUnsignedInt;
class PageContentContext; class PageContentContext;
typedef std::list<ObjectIDType> ObjectIDTypeList; typedef std::list<ObjectIDType> ObjectIDTypeList;
class PDFPage class PDFPage
{ {
public: public:
PDFPage(void); PDFPage(void);
~PDFPage(void); ~PDFPage(void);
void SetMediaBox(const PDFRectangle& inMediaBox); void SetMediaBox(const PDFRectangle& inMediaBox);
const PDFRectangle& GetMediaBox() const; const PDFRectangle& GetMediaBox() const;
// sets page rotation factor (optional, must be multiple of 90)
void SetRotate( unsigned int inRotate );
// returns indicator for wheather rotation was set, and its value
const BoolAndUnsignedInt& GetRotate() const;
// crop box, defaults to MediaBox // crop box, defaults to MediaBox
// bleed box, defaults to crop box // bleed box, defaults to crop box
// trim box, defaults to crop box // trim box, defaults to crop box
// art box, default to crop box // art box, default to crop box
void SetCropBox(const PDFRectangle& inCropBox); void SetCropBox(const PDFRectangle& inCropBox);
// returns indicator for wheather crop was set, and its value // returns indicator for wheather crop was set, and its value
const BoolAndPDFRectangle& GetCropBox() const; const BoolAndPDFRectangle& GetCropBox() const;
void SetBleedBox(const PDFRectangle& inBleedBox); void SetBleedBox(const PDFRectangle& inBleedBox);
skipping to change at line 78 skipping to change at line 84
ObjectIDType GetContentStreamsCount(); ObjectIDType GetContentStreamsCount();
SingleValueContainerIterator<ObjectIDTypeList> GetContentStreamReferences Iterator(); SingleValueContainerIterator<ObjectIDTypeList> GetContentStreamReferences Iterator();
// extensibility, direct access to the content context used for this page .. // extensibility, direct access to the content context used for this page ..
PageContentContext* GetAssociatedContentContext(); PageContentContext* GetAssociatedContentContext();
void DisassociateContentContext(); void DisassociateContentContext();
void AssociateContentContext(PageContentContext* inContentContext); void AssociateContentContext(PageContentContext* inContentContext);
private: private:
PDFRectangle mMediaBox; PDFRectangle mMediaBox;
BoolAndUnsignedInt mRotate;
BoolAndPDFRectangle mTrimBox; BoolAndPDFRectangle mTrimBox;
BoolAndPDFRectangle mArtBox; BoolAndPDFRectangle mArtBox;
BoolAndPDFRectangle mCropBox; BoolAndPDFRectangle mCropBox;
BoolAndPDFRectangle mBleedBox; BoolAndPDFRectangle mBleedBox;
ObjectIDTypeList mContentStreamReferences; ObjectIDTypeList mContentStreamReferences;
ResourcesDictionary mResources; ResourcesDictionary mResources;
PageContentContext* mContentContext; PageContentContext* mContentContext;
}; };
 End of changes. 3 change blocks. 
0 lines changed or deleted 7 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS