summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/xlpage.hxx
diff options
context:
space:
mode:
authorKatarina Machalkova <kmachalkova@suse.cz>2010-10-13 18:09:49 +0200
committerKatarina Machalkova <kmachalkova@suse.cz>2010-10-13 19:51:46 +0200
commit87898fe173677902a63ce62574e4e86fe338e738 (patch)
tree397e0e6435d93620a6ea0e0813635924da73f4b4 /sc/source/filter/inc/xlpage.hxx
parentde8ff12503d6a6763d6f4a1a9490080410b48f52 (diff)
Merged ooxml-sc-page-date.diff from ooo-build
Diffstat (limited to 'sc/source/filter/inc/xlpage.hxx')
-rw-r--r--sc/source/filter/inc/xlpage.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/source/filter/inc/xlpage.hxx b/sc/source/filter/inc/xlpage.hxx
index f6860595cd20..379d2a21e785 100644
--- a/sc/source/filter/inc/xlpage.hxx
+++ b/sc/source/filter/inc/xlpage.hxx
@@ -89,6 +89,7 @@ const sal_uInt16 EXC_SETUP_STARTPAGE = 0x0080;
const sal_uInt16 EXC_SETUP_NOTES_END = 0x0200;
const sal_uInt16 EXC_PAPERSIZE_DEFAULT = 0;
+const sal_uInt16 EXC_PAPERSIZE_USER = 0xFFFF;
// ============================================================================
@@ -118,6 +119,9 @@ struct XclPageData : ScfNoCopy
double mfFtrLeftMargin; /// Left margin to footer.
double mfFtrRightMargin; /// Right margin to footer.
sal_uInt16 mnPaperSize; /// Index into paper size table.
+ sal_uInt16 mnStrictPaperSize; /// Same as papersize - but for ooxml (considering stricter dimensions)
+ sal_uInt16 mnPaperWidth; /// Paper Width in mm
+ sal_uInt16 mnPaperHeight; /// Paper Height in mm
sal_uInt16 mnCopies; /// Number of copies.
sal_uInt16 mnStartPage; /// Start page number.
sal_uInt16 mnScaling; /// Scaling in percent.
@@ -147,7 +151,7 @@ struct XclPageData : ScfNoCopy
/** Returns the real paper size (twips) from the paper size index and paper orientation. */
Size GetScPaperSize() const;
/** Sets the Excel paper size index and paper orientation from Calc paper size (twips). */
- void SetScPaperSize( const Size& rSize, bool bPortrait );
+ void SetScPaperSize( const Size& rSize, bool bPortrait, bool bStrict = sal_False );
};
// ============================================================================