Contains all page (print) settings for a single sheet.
sal_uInt16 mnPaperSize
Right margin to footer.
sal_uInt16 mnVerPrintRes
Horizontal printing resolution.
std::unique_ptr< SvxBrushItem > SvxBrushItemPtr
double mfHeaderMargin
Bottom margin in inches.
sal_uInt16 mnScaling
Start page number.
bool mbBlackWhite
true = in rows; false = in columns.
SvxBrushItemPtr mxBrushItem
Vertical page breaks.
OUString maFooterFirst
Excel header string for first page (empty = off).
XclPageData(const XclPageData &)=delete
noncopyable
sal_uInt16 mnPaperHeight
Paper Width in mm.
bool mbUseEvenHF
Vertical printing resolution.
bool mbPrintHeadings
true = centered vertically; false = top aligned.
bool mbManualStart
true = print notes.
ScfUInt16Vec maHorPageBreaks
OUString maFooterEven
Excel header string for even pages (empty = off).
sal_uInt16 mnFitToHeight
Fit to number of pages in width.
const XclPageData & operator=(const XclPageData &)=delete
double mfRightMargin
Left margin in inches.
bool mbPortrait
false = some of the values are not valid.
bool mbVerCenter
true = centered horizontally; false = left aligned.
sal_uInt16 mnStrictPaperSize
Index into paper size table.
void SetDefaults()
Sets Excel default page settings.
double mfFooterMargin
Margin main page to header.
bool mbValid
True = use maHeaderFirst/maFooterFirst.
OUString maHeaderFirst
Excel footer string for even pages (empty = off).
double mfFtrRightMargin
Left margin to footer.
XclPageData()
true = print grid lines.
bool mbDraftQuality
true = black/white; false = colors.
OUString maFooter
Excel header string (empty = off).
bool mbPrintGrid
true = print column and row headings.
sal_uInt16 mnFitToWidth
Scaling in percent.
bool mbUseFirstHF
True = use maHeaderEven/maFooterEven.
double mfHdrRightMargin
Left margin to header.
sal_uInt16 mnPaperWidth
Same as papersize - but for ooxml (considering stricter dimensions)
OUString maHeaderEven
Excel footer string (empty = off).
void SetScPaperSize(const Size &rSize, bool bPortrait, bool bStrict=false)
Sets the Excel paper size index and paper orientation from Calc paper size (twips).
sal_uInt16 mnCopies
Paper Height in mm.
double mfBottomMargin
Top margin in inches.
bool mbHorCenter
true = fit to pages; false = scale in percent.
sal_uInt16 mnHorPrintRes
Fit to number of pages in height.
bool mbPrintNotes
true = draft; false = default quality.
double mfHdrLeftMargin
Margin main page to footer.
ScfUInt16Vec maVerPageBreaks
Horizontal page breaks.
Size GetScPaperSize() const
Returns the real paper size (twips) from the paper size index and paper orientation.
double mfTopMargin
Right margin in inches.
double mfFtrLeftMargin
Right margin to header.
bool mbFitToPages
true = mnStartPage valid; false = automatic.
bool mbPrintInRows
true = portrait; false = landscape.
OUString maHeader
Background bitmap.
sal_uInt16 mnStartPage
Number of copies.
double mfLeftMargin
Excel footer string for first page (empty = off).
const sal_Int32 EXC_MARGIN_DEFAULT_TB
Left/right default margin in 1/100mm.
const sal_Int32 EXC_MARGIN_DEFAULT_LR
const sal_uInt16 EXC_ID_FOOTER
const sal_uInt16 EXC_ID_HEADER_FIRST
const sal_uInt16 EXC_ID_PRINTHEADERS
Left/right footer default margin in 1/100mm.
const sal_uInt16 EXC_ID_VCENTER
const sal_uInt16 EXC_PAPERSIZE_DEFAULT
const sal_uInt16 EXC_ID_PRINTSIZE
const sal_uInt16 EXC_SETUP_BLACKWHITE
const sal_uInt16 EXC_SETUP_PRINTNOTES
const sal_uInt16 EXC_PRINTSIZE_FULL
const sal_uInt16 EXC_SETUP_DRAFT
const sal_uInt16 EXC_ID_RIGHTMARGIN
const sal_uInt16 EXC_PRINTSIZE_SCREEN
const sal_uInt16 EXC_ID_LEFTMARGIN
const sal_uInt16 EXC_SETUP_NOTES_END
const sal_uInt16 EXC_SETUP_STARTPAGE
const sal_uInt16 EXC_ID_SETUP
const sal_uInt16 EXC_ID_TOPMARGIN
const sal_uInt16 EXC_PAPERSIZE_USER
const sal_uInt16 EXC_ID_GRIDSET
const sal_uInt16 EXC_ID_HEADER
const sal_uInt16 EXC_ID_FOOTER_FIRST
const sal_uInt16 EXC_ID_HEADER_EVEN
const sal_uInt16 EXC_SETUP_INVALID
const sal_uInt16 EXC_ID_HORPAGEBREAKS
const sal_uInt16 EXC_PRINTSIZE_PAGE
const sal_uInt16 EXC_ID_FOOTER_EVEN
const sal_Int32 EXC_MARGIN_DEFAULT_HF
Top/bottom default margin in 1/100mm.
const sal_Int32 EXC_MARGIN_DEFAULT_FLR
Left/right header default margin in 1/100mm.
const sal_uInt16 EXC_ID_VERPAGEBREAKS
const sal_Int32 EXC_MARGIN_DEFAULT_HLR
Header/footer default margin in 1/100mm.
const sal_uInt16 EXC_SETUP_INROWS
const sal_uInt16 EXC_ID_PRINTGRIDLINES
const sal_uInt16 EXC_SETUP_PORTRAIT
const sal_uInt16 EXC_ID_BOTTOMMARGIN
const sal_uInt16 EXC_ID_HCENTER