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 36 of file pagesettings.hxx.

Constructor & Destructor Documentation

◆ PageSettingsModel()

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

True = print column/row headings.

Definition at line 95 of file pagesettings.cxx.

References mnScale, and XML_none.

Member Function Documentation

◆ setBiffPrintErrors()

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

Sets the BIFF print errors mode.

Definition at line 130 of file pagesettings.cxx.

References mnPrintErrors, STATIC_ARRAY_SELECT, and XML_none.

Member Data Documentation

◆ maBinSettPath

OUString oox::xls::PageSettingsModel::maBinSettPath

Background Graphic.

Definition at line 39 of file pagesettings.hxx.

◆ maEvenFooter

OUString oox::xls::PageSettingsModel::maEvenFooter

◆ maEvenHeader

OUString oox::xls::PageSettingsModel::maEvenHeader

◆ maFirstFooter

OUString oox::xls::PageSettingsModel::maFirstFooter

◆ maFirstHeader

OUString oox::xls::PageSettingsModel::maFirstHeader

◆ maOddFooter

OUString oox::xls::PageSettingsModel::maOddFooter

◆ maOddHeader

OUString oox::xls::PageSettingsModel::maOddHeader

◆ mbBlackWhite

bool oox::xls::PageSettingsModel::mbBlackWhite

True = start page numbering with mnFirstPage.

Definition at line 70 of file pagesettings.hxx.

◆ mbDraftQuality

bool oox::xls::PageSettingsModel::mbDraftQuality

True = print black and white.

Definition at line 71 of file pagesettings.hxx.

◆ mbFitToPages

bool oox::xls::PageSettingsModel::mbFitToPages

True = print in draft quality.

Definition at line 72 of file pagesettings.hxx.

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

◆ mbHorCenter

bool oox::xls::PageSettingsModel::mbHorCenter

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

Definition at line 73 of file pagesettings.hxx.

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

◆ mbPrintGrid

bool oox::xls::PageSettingsModel::mbPrintGrid

◆ mbPrintHeadings

bool oox::xls::PageSettingsModel::mbPrintHeadings

◆ mbUseEvenHF

bool oox::xls::PageSettingsModel::mbUseEvenHF

◆ mbUseFirstHF

bool oox::xls::PageSettingsModel::mbUseFirstHF

True = use maEvenHeader/maEvenFooter.

Definition at line 67 of file pagesettings.hxx.

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

◆ mbUseFirstPage

bool oox::xls::PageSettingsModel::mbUseFirstPage

True = use imported settings.

Definition at line 69 of file pagesettings.hxx.

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

◆ mbValidSettings

bool oox::xls::PageSettingsModel::mbValidSettings

True = use maFirstHeader/maFirstFooter.

Definition at line 68 of file pagesettings.hxx.

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

◆ mbVerCenter

bool oox::xls::PageSettingsModel::mbVerCenter

True = horizontally centered.

Definition at line 74 of file pagesettings.hxx.

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

◆ mfBottomMargin

double oox::xls::PageSettingsModel::mfBottomMargin

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

Definition at line 49 of file pagesettings.hxx.

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

◆ mfFooterMargin

double oox::xls::PageSettingsModel::mfFooterMargin

Margin between top edge of page and begin of header.

Definition at line 51 of file pagesettings.hxx.

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

◆ mfHeaderMargin

double oox::xls::PageSettingsModel::mfHeaderMargin

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

Definition at line 50 of file pagesettings.hxx.

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

◆ mfLeftMargin

double oox::xls::PageSettingsModel::mfLeftMargin

Footer string for first page of the sheet.

Definition at line 46 of file pagesettings.hxx.

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

◆ mfRightMargin

double oox::xls::PageSettingsModel::mfRightMargin

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

Definition at line 47 of file pagesettings.hxx.

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

◆ mfTopMargin

double oox::xls::PageSettingsModel::mfTopMargin

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

Definition at line 48 of file pagesettings.hxx.

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

◆ mnCellComments

sal_Int32 oox::xls::PageSettingsModel::mnCellComments

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

Definition at line 64 of file pagesettings.hxx.

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

◆ mnCopies

sal_Int32 oox::xls::PageSettingsModel::mnCopies

Paper height in twips.

Definition at line 55 of file pagesettings.hxx.

◆ mnFirstPage

sal_Int32 oox::xls::PageSettingsModel::mnFirstPage

Page scale (zoom in percent).

Definition at line 57 of file pagesettings.hxx.

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

◆ mnFitToHeight

sal_Int32 oox::xls::PageSettingsModel::mnFitToHeight

Fit to number of pages in horizontal direction.

Definition at line 59 of file pagesettings.hxx.

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

◆ mnFitToWidth

sal_Int32 oox::xls::PageSettingsModel::mnFitToWidth

First page number.

Definition at line 58 of file pagesettings.hxx.

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

◆ mnHorPrintRes

sal_Int32 oox::xls::PageSettingsModel::mnHorPrintRes

Fit to number of pages in vertical direction.

Definition at line 60 of file pagesettings.hxx.

◆ mnOrientation

sal_Int32 oox::xls::PageSettingsModel::mnOrientation

Vertical printing resolution in DPI.

Definition at line 62 of file pagesettings.hxx.

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

◆ mnPageOrder

sal_Int32 oox::xls::PageSettingsModel::mnPageOrder

Landscape or portrait.

Definition at line 63 of file pagesettings.hxx.

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

◆ mnPaperHeight

sal_Int32 oox::xls::PageSettingsModel::mnPaperHeight

Paper width in twips.

Definition at line 54 of file pagesettings.hxx.

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

◆ mnPaperSize

sal_Int32 oox::xls::PageSettingsModel::mnPaperSize

Margin between end of footer and bottom edge of page.

Definition at line 52 of file pagesettings.hxx.

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

◆ mnPaperWidth

sal_Int32 oox::xls::PageSettingsModel::mnPaperWidth

Paper size (enumeration).

Definition at line 53 of file pagesettings.hxx.

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

◆ mnPrintErrors

sal_Int32 oox::xls::PageSettingsModel::mnPrintErrors

Cell comments printing mode.

Definition at line 65 of file pagesettings.hxx.

Referenced by setBiffPrintErrors().

◆ mnScale

sal_Int32 oox::xls::PageSettingsModel::mnScale

Number of copies to print.

Definition at line 56 of file pagesettings.hxx.

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

◆ mnVerPrintRes

sal_Int32 oox::xls::PageSettingsModel::mnVerPrintRes

Horizontal printing resolution in DPI.

Definition at line 61 of file pagesettings.hxx.

◆ mxGraphic

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

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