LibreOffice Module sc (master)  1
Public Member Functions | Public Attributes | List of all members
oox::xls::PageSettingsModel Struct Reference

Holds page style data for a single sheet. More...

#include <pagesettings.hxx>

Public Member Functions

 PageSettingsModel ()
 True = print column/row headings. More...
 
void setBiffPrintErrors (sal_uInt8 nPrintErrors)
 Sets the BIFF print errors mode. More...
 

Public Attributes

css::uno::Reference< css::graphic::XGraphic > mxGraphic
 
OUString maBinSettPath
 Background Graphic. More...
 
OUString maOddHeader
 Relation identifier of binary printer settings. More...
 
OUString maOddFooter
 Header string for odd pages. More...
 
OUString maEvenHeader
 Footer string for odd pages. More...
 
OUString maEvenFooter
 Header string for even pages. More...
 
OUString maFirstHeader
 Footer string for even pages. More...
 
OUString maFirstFooter
 Header string for first page of the sheet. More...
 
double mfLeftMargin
 Footer string for first page of the sheet. More...
 
double mfRightMargin
 Margin between left edge of page and begin of sheet area. More...
 
double mfTopMargin
 Margin between end of sheet area and right edge of page. More...
 
double mfBottomMargin
 Margin between top edge of page and begin of sheet area. More...
 
double mfHeaderMargin
 Margin between end of sheet area and bottom edge of page. More...
 
double mfFooterMargin
 Margin between top edge of page and begin of header. More...
 
sal_Int32 mnPaperSize
 Margin between end of footer and bottom edge of page. More...
 
sal_Int32 mnPaperWidth
 Paper size (enumeration). More...
 
sal_Int32 mnPaperHeight
 Paper width in twips. More...
 
sal_Int32 mnCopies
 Paper height in twips. More...
 
sal_Int32 mnScale
 Number of copies to print. More...
 
sal_Int32 mnFirstPage
 Page scale (zoom in percent). More...
 
sal_Int32 mnFitToWidth
 First page number. More...
 
sal_Int32 mnFitToHeight
 Fit to number of pages in horizontal direction. More...
 
sal_Int32 mnHorPrintRes
 Fit to number of pages in vertical direction. More...
 
sal_Int32 mnVerPrintRes
 Horizontal printing resolution in DPI. More...
 
sal_Int32 mnOrientation
 Vertical printing resolution in DPI. More...
 
sal_Int32 mnPageOrder
 Landscape or portrait. More...
 
sal_Int32 mnCellComments
 Page order through sheet area (to left or down). More...
 
sal_Int32 mnPrintErrors
 Cell comments printing mode. More...
 
bool mbUseEvenHF
 Cell error printing mode. More...
 
bool mbUseFirstHF
 True = use maEvenHeader/maEvenFooter. More...
 
bool mbValidSettings
 True = use maFirstHeader/maFirstFooter. More...
 
bool mbUseFirstPage
 True = use imported settings. More...
 
bool mbBlackWhite
 True = start page numbering with mnFirstPage. More...
 
bool mbDraftQuality
 True = print black and white. More...
 
bool mbFitToPages
 True = print in draft quality. More...
 
bool mbHorCenter
 True = Fit to width/height; false = scale in percent. More...
 
bool mbVerCenter
 True = horizontally centered. More...
 
bool mbPrintGrid
 True = vertically centered. More...
 
bool mbPrintHeadings
 True = print grid lines. More...
 

Detailed Description

Holds page style data for a single sheet.

Definition at line 35 of file pagesettings.hxx.

Constructor & Destructor Documentation

oox::xls::PageSettingsModel::PageSettingsModel ( )
explicit

True = print column/row headings.

Definition at line 95 of file pagesettings.cxx.

References mnScale.

Member Function Documentation

void oox::xls::PageSettingsModel::setBiffPrintErrors ( sal_uInt8  nPrintErrors)

Sets the BIFF print errors mode.

Definition at line 130 of file pagesettings.cxx.

References mnPrintErrors, and STATIC_ARRAY_SELECT.

Member Data Documentation

OUString oox::xls::PageSettingsModel::maBinSettPath

Background Graphic.

Definition at line 38 of file pagesettings.hxx.

OUString oox::xls::PageSettingsModel::maEvenFooter
OUString oox::xls::PageSettingsModel::maEvenHeader
OUString oox::xls::PageSettingsModel::maFirstFooter

Header string for first page of the sheet.

Definition at line 44 of file pagesettings.hxx.

Referenced by oox::xls::PageSettings::importHeaderFooter(), and oox::xls::PageSettings::importHeaderFooterCharacters().

OUString oox::xls::PageSettingsModel::maFirstHeader

Footer string for even pages.

Definition at line 43 of file pagesettings.hxx.

Referenced by oox::xls::PageSettings::importHeaderFooter(), and oox::xls::PageSettings::importHeaderFooterCharacters().

OUString oox::xls::PageSettingsModel::maOddFooter
OUString oox::xls::PageSettingsModel::maOddHeader
bool oox::xls::PageSettingsModel::mbBlackWhite

True = start page numbering with mnFirstPage.

Definition at line 69 of file pagesettings.hxx.

bool oox::xls::PageSettingsModel::mbDraftQuality

True = print black and white.

Definition at line 70 of file pagesettings.hxx.

bool oox::xls::PageSettingsModel::mbFitToPages

True = print in draft quality.

Definition at line 71 of file pagesettings.hxx.

Referenced by oox::xls::PageSettings::setFitToPagesMode(), and oox::xls::PageSettingsConverter::writePageSettingsProperties().

bool oox::xls::PageSettingsModel::mbHorCenter

True = Fit to width/height; false = scale in percent.

Definition at line 72 of file pagesettings.hxx.

Referenced by oox::xls::PageSettings::importPrintOptions(), and oox::xls::PageSettingsConverter::writePageSettingsProperties().

bool oox::xls::PageSettingsModel::mbPrintGrid
bool oox::xls::PageSettingsModel::mbPrintHeadings
bool oox::xls::PageSettingsModel::mbUseEvenHF
bool oox::xls::PageSettingsModel::mbUseFirstHF

True = use maEvenHeader/maEvenFooter.

Definition at line 66 of file pagesettings.hxx.

Referenced by oox::xls::PageSettings::importHeaderFooter().

bool oox::xls::PageSettingsModel::mbUseFirstPage

True = use imported settings.

Definition at line 68 of file pagesettings.hxx.

Referenced by oox::xls::PageSettingsConverter::writePageSettingsProperties().

bool oox::xls::PageSettingsModel::mbValidSettings

True = use maFirstHeader/maFirstFooter.

Definition at line 67 of file pagesettings.hxx.

Referenced by oox::xls::PageSettingsConverter::writePageSettingsProperties().

bool oox::xls::PageSettingsModel::mbVerCenter

True = horizontally centered.

Definition at line 73 of file pagesettings.hxx.

Referenced by oox::xls::PageSettings::importPrintOptions(), and oox::xls::PageSettingsConverter::writePageSettingsProperties().

double oox::xls::PageSettingsModel::mfBottomMargin

Margin between top edge of page and begin of sheet area.

Definition at line 48 of file pagesettings.hxx.

Referenced by oox::xls::PageSettings::importPageMargins(), and oox::xls::PageSettingsConverter::writePageSettingsProperties().

double oox::xls::PageSettingsModel::mfFooterMargin

Margin between top edge of page and begin of header.

Definition at line 50 of file pagesettings.hxx.

Referenced by oox::xls::PageSettings::importPageMargins(), and oox::xls::PageSettingsConverter::writePageSettingsProperties().

double oox::xls::PageSettingsModel::mfHeaderMargin

Margin between end of sheet area and bottom edge of page.

Definition at line 49 of file pagesettings.hxx.

Referenced by oox::xls::PageSettings::importPageMargins(), and oox::xls::PageSettingsConverter::writePageSettingsProperties().

double oox::xls::PageSettingsModel::mfLeftMargin

Footer string for first page of the sheet.

Definition at line 45 of file pagesettings.hxx.

Referenced by oox::xls::PageSettings::importPageMargins(), and oox::xls::PageSettingsConverter::writePageSettingsProperties().

double oox::xls::PageSettingsModel::mfRightMargin

Margin between left edge of page and begin of sheet area.

Definition at line 46 of file pagesettings.hxx.

Referenced by oox::xls::PageSettings::importPageMargins(), and oox::xls::PageSettingsConverter::writePageSettingsProperties().

double oox::xls::PageSettingsModel::mfTopMargin

Margin between end of sheet area and right edge of page.

Definition at line 47 of file pagesettings.hxx.

Referenced by oox::xls::PageSettings::importPageMargins(), and oox::xls::PageSettingsConverter::writePageSettingsProperties().

sal_Int32 oox::xls::PageSettingsModel::mnCellComments

Page order through sheet area (to left or down).

Definition at line 63 of file pagesettings.hxx.

Referenced by oox::xls::PageSettingsConverter::writePageSettingsProperties().

sal_Int32 oox::xls::PageSettingsModel::mnCopies

Paper height in twips.

Definition at line 54 of file pagesettings.hxx.

sal_Int32 oox::xls::PageSettingsModel::mnFirstPage

Page scale (zoom in percent).

Definition at line 56 of file pagesettings.hxx.

Referenced by oox::xls::PageSettingsConverter::writePageSettingsProperties().

sal_Int32 oox::xls::PageSettingsModel::mnFitToHeight

Fit to number of pages in horizontal direction.

Definition at line 58 of file pagesettings.hxx.

Referenced by oox::xls::PageSettingsConverter::writePageSettingsProperties().

sal_Int32 oox::xls::PageSettingsModel::mnFitToWidth

First page number.

Definition at line 57 of file pagesettings.hxx.

Referenced by oox::xls::PageSettingsConverter::writePageSettingsProperties().

sal_Int32 oox::xls::PageSettingsModel::mnHorPrintRes

Fit to number of pages in vertical direction.

Definition at line 59 of file pagesettings.hxx.

sal_Int32 oox::xls::PageSettingsModel::mnOrientation

Vertical printing resolution in DPI.

Definition at line 61 of file pagesettings.hxx.

Referenced by oox::xls::PageSettingsConverter::writePageSettingsProperties().

sal_Int32 oox::xls::PageSettingsModel::mnPageOrder

Landscape or portrait.

Definition at line 62 of file pagesettings.hxx.

Referenced by oox::xls::PageSettingsConverter::writePageSettingsProperties().

sal_Int32 oox::xls::PageSettingsModel::mnPaperHeight

Paper width in twips.

Definition at line 53 of file pagesettings.hxx.

Referenced by oox::xls::PageSettingsConverter::writePageSettingsProperties().

sal_Int32 oox::xls::PageSettingsModel::mnPaperSize

Margin between end of footer and bottom edge of page.

Definition at line 51 of file pagesettings.hxx.

Referenced by oox::xls::PageSettingsConverter::writePageSettingsProperties().

sal_Int32 oox::xls::PageSettingsModel::mnPaperWidth

Paper size (enumeration).

Definition at line 52 of file pagesettings.hxx.

Referenced by oox::xls::PageSettingsConverter::writePageSettingsProperties().

sal_Int32 oox::xls::PageSettingsModel::mnPrintErrors

Cell comments printing mode.

Definition at line 64 of file pagesettings.hxx.

Referenced by setBiffPrintErrors().

sal_Int32 oox::xls::PageSettingsModel::mnScale

Number of copies to print.

Definition at line 55 of file pagesettings.hxx.

Referenced by oox::xls::PageSettingsConverter::writePageSettingsProperties().

sal_Int32 oox::xls::PageSettingsModel::mnVerPrintRes

Horizontal printing resolution in DPI.

Definition at line 60 of file pagesettings.hxx.

css::uno::Reference<css::graphic::XGraphic> oox::xls::PageSettingsModel::mxGraphic

The documentation for this struct was generated from the following files: