LibreOffice
LibreOffice 24.2 SDK API Reference
Public Attributes | List of all members
PageProperties Service Referencepublished

describes the style of pages. More...

import"PageProperties.idl";

Inheritance diagram for PageProperties:
PageStyle TablePageStyle

Public Attributes

com::sun::star::util::Color BackColor
 contains the background color of the page. More...
 
string BackGraphicURL
 contains the URL of the background graphic. More...
 
string BackGraphicFilter
 contains the filter name of the background graphic. More...
 
com::sun::star::style::GraphicLocation BackGraphicLocation
 determines the location of the background graphic. More...
 
boolean BackTransparent
 determines if the background color is transparent. More...
 
long LeftMargin
 determines the left margin of the page. More...
 
long RightMargin
 determines the right margin of the page. More...
 
long TopMargin
 determines the top margin of the page. More...
 
long BottomMargin
 determines the bottom margin of the page. More...
 
com::sun::star::table::BorderLine LeftBorder
 determines the style of the left border line of the page. More...
 
com::sun::star::table::BorderLine RightBorder
 determines the style of the right border line of the page. More...
 
com::sun::star::table::BorderLine TopBorder
 determines the style of the top border line of the page. More...
 
com::sun::star::table::BorderLine BottomBorder
 determines the style of the bottom border line of the page. More...
 
long LeftBorderDistance
 determines the left border distance of the page. More...
 
long RightBorderDistance
 determines the right border distance of the page. More...
 
long TopBorderDistance
 determines the top border distance of the page. More...
 
long BottomBorderDistance
 determines the bottom border distance of the page. More...
 
com::sun::star::table::ShadowFormat ShadowFormat
 determines the shadow of the page. More...
 
boolean IsLandscape
 determines if the page format is landscape. More...
 
short NumberingType
 determines the default numbering type for this page. More...
 
com::sun::star::style::PageStyleLayout PageStyleLayout
 determines the layout of the page. More...
 
string PrinterPaperTray
 contains the name of a paper tray of the selected printer. More...
 
boolean RegisterModeActive
 determines if the register mode is active on that page. More...
 
string RegisterParagraphStyle
 contains the name of the paragraph style that is used as reference of the register mode. More...
 
com::sun::star::awt::Size Size
 contains the paper size of the page. More...
 
long Width
 contains the width of the page. More...
 
long Height
 contains the height of the page. More...
 
com::sun::star::text::XTextColumns TextColumns
 contains the column settings of the page. More...
 
com::sun::star::container::XNameContainer UserDefinedAttributes
 contains user defined attributes. More...
 
com::sun::star::util::Color HeaderBackColor
 contains the color of the background of the header. More...
 
string HeaderBackGraphicURL
 contains the URL of the background graphic of the header. More...
 
string HeaderBackGraphicFilter
 contains the filter name of the background graphic of the header. More...
 
com::sun::star::style::GraphicLocation HeaderBackGraphicLocation
 determines the location of the background graphic of the header. More...
 
long HeaderLeftMargin
 contains the left margin of the header. More...
 
long HeaderRightMargin
 contains the right margin of the header. More...
 
boolean HeaderBackTransparent
 determines if the background color of the header is transparent. More...
 
com::sun::star::table::BorderLine HeaderLeftBorder
 determines the style of the left border line of the header. More...
 
com::sun::star::table::BorderLine HeaderRightBorder
 determines the style of the right border line of the header. More...
 
com::sun::star::table::BorderLine HeaderTopBorder
 determines the style of the top border line of the header. More...
 
com::sun::star::table::BorderLine HeaderBottomBorder
 determines the style of the bottom border line of the header. More...
 
long HeaderLeftBorderDistance
 determines the left border distance of the header. More...
 
long HeaderRightBorderDistance
 determines the right border distance of the header. More...
 
long HeaderTopBorderDistance
 determines the top border distance of the header. More...
 
long HeaderBottomBorderDistance
 determines the bottom border distance of the header. More...
 
com::sun::star::table::ShadowFormat HeaderShadowFormat
 determines the shadow of the header. More...
 
long HeaderBodyDistance
 determines the distance between the header and the body text area. More...
 
boolean HeaderIsShared
 determines if the header content on left and right pages is the same. More...
 
boolean FirstIsShared
 determines if the header/footer content on the first page and remaining pages is the same. More...
 
long HeaderHeight
 contains the height of the header. More...
 
boolean HeaderIsDynamicHeight
 determines if the height of the header depends on the content. More...
 
boolean HeaderIsOn
 determines if a header is used on the page. More...
 
com::sun::star::text::XText HeaderText
 contains the interface to the text of the header. More...
 
com::sun::star::text::XText HeaderTextLeft
 contains the interface to the text of the header of left pages. More...
 
com::sun::star::text::XText HeaderTextRight
 contains the interface to the text of the header of right pages. More...
 
com::sun::star::util::Color FooterBackColor
 contains the color of the background of the footer. More...
 
string FooterBackGraphicURL
 contains the URL of the background graphic in the footer. More...
 
string FooterBackGraphicFilter
 contains the filter name of the background graphic in the footer. More...
 
com::sun::star::style::GraphicLocation FooterBackGraphicLocation
 determines the location of the background graphic in the footer. More...
 
long FooterLeftMargin
 determines the left margin of the footer. More...
 
long FooterRightMargin
 determines the right margin of the footer. More...
 
boolean FooterBackTransparent
 determines if the background of the footer is transparent. More...
 
com::sun::star::table::BorderLine FooterLeftBorder
 contains the style of the left border line of the footer. More...
 
com::sun::star::table::BorderLine FooterRightBorder
 contains the style of the right border line of the footer. More...
 
com::sun::star::table::BorderLine FooterTopBorder
 contains the style of the top border line of the footer. More...
 
com::sun::star::table::BorderLine FooterBottomBorder
 contains the style of the bottom border line of the footer. More...
 
long FooterLeftBorderDistance
 contains the left border distance of the footer. More...
 
long FooterRightBorderDistance
 contains the right border distance of the footer. More...
 
long FooterTopBorderDistance
 contains the top border distance of the footer. More...
 
long FooterBottomBorderDistance
 contains the bottom border distance of the footer. More...
 
com::sun::star::table::ShadowFormat FooterShadowFormat
 determines the shadow of the footer. More...
 
long FooterBodyDistance
 determines the distance between the footer and the body text area. More...
 
boolean FooterIsDynamicHeight
 determines if the height of the footer depends on the content. More...
 
boolean FooterIsShared
 determines if the footer content on left and right pages is the same. More...
 
long FooterHeight
 determines the height of the footer. More...
 
boolean FooterIsOn
 determines if a footer is used on the page. More...
 
com::sun::star::text::XText FooterText
 contains the interface to the text of the footer. More...
 
com::sun::star::text::XText FooterTextLeft
 contains the interface to the text of the footer of a left page. More...
 
com::sun::star::text::XText FooterTextRight
 contains the interface to the text of the footer of a right page. More...
 
long FootnoteHeight
 contains the maximum height of the footnote area. More...
 
short FootnoteLineWeight
 contains the weight of the separator line between the text and the footnote area. More...
 
short FootnoteLineStyle
 contains the style of the separator line between the text and the footnote area. More...
 
com::sun::star::util::Color FootnoteLineColor
 contains the color of the separator line between the text and the footnote area. More...
 
byte FootnoteLineRelativeWidth
 contains the relative width of the separator line between the text and the footnote area. More...
 
short FootnoteLineAdjust
 contains the adjustment of the separator line between the text and the footnote area. More...
 
long FootnoteLineTextDistance
 contains the distance between the text and the separator line between the text and the footnote area. More...
 
long FootnoteLineDistance
 contains the distance between the footnote area and the separator line between the text and the footnote area. More...
 
short WritingMode
 contains the writing direction, as represented by the com::sun::star::text::WritingMode2 constants More...
 
short GridMode
 contains the mode of the text grid (none, lines, ...), as represented by com::sun::star::text::TextGridMode constants More...
 
com::sun::star::util::Color GridColor
 contains the display color of the text grid More...
 
short GridLines
 contains the number of lines in the text grid More...
 
long GridBaseHeight
 contains the height of the base text line inside the text grid More...
 
long GridRubyHeight
 contains the height of the ruby text line inside the text grid More...
 
boolean GridRubyBelow
 determines whether the text grid's ruby line is located below or above the base line More...
 
boolean GridPrint
 determines whether the text grid lines are printed More...
 
boolean GridDisplay
 determines whether the text grid lines are visible or not More...
 
boolean HeaderDynamicSpacing
 determines whether to use dynamic spacing in header or not. More...
 
boolean FooterDynamicSpacing
 determines whether to use dynamic spacing in footer or not. More...
 
long BorderDistance
 determines the distance of all borders of the page. More...
 
long FooterBorderDistance
 contains the distance of all borders of the footer. More...
 
long HeaderBorderDistance
 determines the distance of all borders of the header. More...
 
com::sun::star::graphic::XGraphic BackGraphic
 contains the graphic of the background. More...
 
com::sun::star::graphic::XGraphic HeaderBackGraphic
 contains the graphic of the background of the header. More...
 
com::sun::star::graphic::XGraphic FooterBackGraphic
 contains the graphic of the background of the footer. More...
 
long GutterMargin
 determines the gutter margin of the page. More...
 
boolean BackgroundFullSize
 does the background cover the full page or only inside the margins? More...
 
boolean RtlGutter
 specifies that the page gutter shall be placed on the right side of the page. More...
 

Detailed Description

describes the style of pages.

Developers Guide
Text Documents - Page Layout

Member Data Documentation

◆ BackColor

com::sun::star::util::Color BackColor
property

contains the background color of the page.

◆ BackGraphic

com::sun::star::graphic::XGraphic BackGraphic
optionalproperty

contains the graphic of the background.

Since
LibreOffice 6.1

◆ BackGraphicFilter

string BackGraphicFilter
property

contains the filter name of the background graphic.

◆ BackGraphicLocation

com::sun::star::style::GraphicLocation BackGraphicLocation
property

determines the location of the background graphic.

◆ BackGraphicURL

string BackGraphicURL
property

contains the URL of the background graphic.

Deprecated:
as of LibreOffice 6.1 - use BackGraphic instead

Note the new behaviour since it this was deprecated: This property can only be set and only external URLs are supported (no more vnd.sun.star.GraphicObject scheme). When an URL is set, then it will load the graphic and set the BackGraphic property.

◆ BackgroundFullSize

boolean BackgroundFullSize
optionalproperty

does the background cover the full page or only inside the margins?

Since
LibreOffice 7.2

◆ BackTransparent

boolean BackTransparent
property

determines if the background color is transparent.

If this property is set to TRUE, PageStyle::BackColor will not be used.

◆ BorderDistance

long BorderDistance
property

determines the distance of all borders of the page.

◆ BottomBorder

com::sun::star::table::BorderLine BottomBorder
property

determines the style of the bottom border line of the page.

◆ BottomBorderDistance

long BottomBorderDistance
property

determines the bottom border distance of the page.

◆ BottomMargin

long BottomMargin
property

determines the bottom margin of the page.

◆ FirstIsShared

boolean FirstIsShared
optionalpropertymaybevoid

determines if the header/footer content on the first page and remaining pages is the same.

Since
LibreOffice 4.0

◆ FooterBackColor

com::sun::star::util::Color FooterBackColor
propertymaybevoid

contains the color of the background of the footer.

◆ FooterBackGraphic

com::sun::star::graphic::XGraphic FooterBackGraphic
optionalpropertymaybevoid

contains the graphic of the background of the footer.

Since
LibreOffice 6.1

◆ FooterBackGraphicFilter

string FooterBackGraphicFilter
propertymaybevoid

contains the filter name of the background graphic in the footer.

◆ FooterBackGraphicLocation

com::sun::star::style::GraphicLocation FooterBackGraphicLocation
propertymaybevoid

determines the location of the background graphic in the footer.

◆ FooterBackGraphicURL

string FooterBackGraphicURL
propertymaybevoid

contains the URL of the background graphic in the footer.

Deprecated:
as of LibreOffice 6.1 - use FooterBackGraphic

Note the new behaviour since it this was deprecated: This property can only be set and only external URLs are supported (no more vnd.sun.star.GraphicObject scheme). When an URL is set, then it will load the graphic and set the FooterBackGraphic property.

◆ FooterBackTransparent

boolean FooterBackTransparent
propertymaybevoid

determines if the background of the footer is transparent.

◆ FooterBodyDistance

long FooterBodyDistance
propertymaybevoid

determines the distance between the footer and the body text area.

◆ FooterBorderDistance

long FooterBorderDistance
propertymaybevoid

contains the distance of all borders of the footer.

◆ FooterBottomBorder

com::sun::star::table::BorderLine FooterBottomBorder
propertymaybevoid

contains the style of the bottom border line of the footer.

◆ FooterBottomBorderDistance

long FooterBottomBorderDistance
propertymaybevoid

contains the bottom border distance of the footer.

◆ FooterDynamicSpacing

boolean FooterDynamicSpacing
optionalpropertymaybevoid

determines whether to use dynamic spacing in footer or not.

◆ FooterHeight

long FooterHeight
propertymaybevoid

determines the height of the footer.

◆ FooterIsDynamicHeight

boolean FooterIsDynamicHeight
propertymaybevoid

determines if the height of the footer depends on the content.

◆ FooterIsOn

boolean FooterIsOn
property

determines if a footer is used on the page.

◆ FooterIsShared

boolean FooterIsShared
propertymaybevoid

determines if the footer content on left and right pages is the same.

◆ FooterLeftBorder

com::sun::star::table::BorderLine FooterLeftBorder
propertymaybevoid

contains the style of the left border line of the footer.

◆ FooterLeftBorderDistance

long FooterLeftBorderDistance
propertymaybevoid

contains the left border distance of the footer.

◆ FooterLeftMargin

long FooterLeftMargin
propertymaybevoid

determines the left margin of the footer.

◆ FooterRightBorder

com::sun::star::table::BorderLine FooterRightBorder
propertymaybevoid

contains the style of the right border line of the footer.

◆ FooterRightBorderDistance

long FooterRightBorderDistance
propertymaybevoid

contains the right border distance of the footer.

◆ FooterRightMargin

long FooterRightMargin
propertymaybevoid

determines the right margin of the footer.

◆ FooterShadowFormat

com::sun::star::table::ShadowFormat FooterShadowFormat
propertymaybevoid

determines the shadow of the footer.

◆ FooterText

com::sun::star::text::XText FooterText
optionalpropertymaybevoid

contains the interface to the text of the footer.

◆ FooterTextLeft

com::sun::star::text::XText FooterTextLeft
optionalpropertymaybevoid

contains the interface to the text of the footer of a left page.

◆ FooterTextRight

com::sun::star::text::XText FooterTextRight
optionalpropertymaybevoid

contains the interface to the text of the footer of a right page.

◆ FooterTopBorder

com::sun::star::table::BorderLine FooterTopBorder
propertymaybevoid

contains the style of the top border line of the footer.

◆ FooterTopBorderDistance

long FooterTopBorderDistance
propertymaybevoid

contains the top border distance of the footer.

◆ FootnoteHeight

long FootnoteHeight
optionalproperty

contains the maximum height of the footnote area.

If set to zero then the height of the current page is used as limit.

◆ FootnoteLineAdjust

short FootnoteLineAdjust
optionalproperty

contains the adjustment of the separator line between the text and the footnote area.

com::sun::star::text::HorizontalAdjusts.

◆ FootnoteLineColor

com::sun::star::util::Color FootnoteLineColor
optionalproperty

contains the color of the separator line between the text and the footnote area.

◆ FootnoteLineDistance

long FootnoteLineDistance
optionalproperty

contains the distance between the footnote area and the separator line between the text and the footnote area.

◆ FootnoteLineRelativeWidth

byte FootnoteLineRelativeWidth
optionalproperty

contains the relative width of the separator line between the text and the footnote area.

◆ FootnoteLineStyle

short FootnoteLineStyle
optionalproperty

contains the style of the separator line between the text and the footnote area.

See also
com::sun::star::style::FootnoteLineStyle for the possible values.

◆ FootnoteLineTextDistance

long FootnoteLineTextDistance
optionalproperty

contains the distance between the text and the separator line between the text and the footnote area.

◆ FootnoteLineWeight

short FootnoteLineWeight
optionalproperty

contains the weight of the separator line between the text and the footnote area.

◆ GridBaseHeight

long GridBaseHeight
optionalproperty

contains the height of the base text line inside the text grid

◆ GridColor

com::sun::star::util::Color GridColor
optionalproperty

contains the display color of the text grid

◆ GridDisplay

boolean GridDisplay
optionalproperty

determines whether the text grid lines are visible or not

◆ GridLines

short GridLines
optionalproperty

contains the number of lines in the text grid

◆ GridMode

short GridMode
optionalproperty

contains the mode of the text grid (none, lines, ...), as represented by com::sun::star::text::TextGridMode constants

◆ GridPrint

boolean GridPrint
optionalproperty

determines whether the text grid lines are printed

◆ GridRubyBelow

boolean GridRubyBelow
optionalproperty

determines whether the text grid's ruby line is located below or above the base line

◆ GridRubyHeight

long GridRubyHeight
optionalproperty

contains the height of the ruby text line inside the text grid

◆ GutterMargin

long GutterMargin
optionalproperty

determines the gutter margin of the page.

Since
LibreOffice 7.2

◆ HeaderBackColor

com::sun::star::util::Color HeaderBackColor
propertymaybevoid

contains the color of the background of the header.

◆ HeaderBackGraphic

com::sun::star::graphic::XGraphic HeaderBackGraphic
optionalpropertymaybevoid

contains the graphic of the background of the header.

Since
LibreOffice 6.1

◆ HeaderBackGraphicFilter

string HeaderBackGraphicFilter
propertymaybevoid

contains the filter name of the background graphic of the header.

◆ HeaderBackGraphicLocation

com::sun::star::style::GraphicLocation HeaderBackGraphicLocation
propertymaybevoid

determines the location of the background graphic of the header.

◆ HeaderBackGraphicURL

string HeaderBackGraphicURL
propertymaybevoid

contains the URL of the background graphic of the header.

Deprecated:
as of LibreOffice 6.1 - use HeaderBackGraphic instead

Note the new behaviour since it this was deprecated: This property can only be set and only external URLs are supported (no more vnd.sun.star.GraphicObject scheme). When an URL is set, then it will load the graphic and set the HeaderBackGraphic property.

◆ HeaderBackTransparent

boolean HeaderBackTransparent
propertymaybevoid

determines if the background color of the header is transparent.

If this property is set to TRUE, PageStyle::HeaderBackColor will not be used.

◆ HeaderBodyDistance

long HeaderBodyDistance
propertymaybevoid

determines the distance between the header and the body text area.

◆ HeaderBorderDistance

long HeaderBorderDistance
propertymaybevoid

determines the distance of all borders of the header.

◆ HeaderBottomBorder

com::sun::star::table::BorderLine HeaderBottomBorder
propertymaybevoid

determines the style of the bottom border line of the header.

◆ HeaderBottomBorderDistance

long HeaderBottomBorderDistance
propertymaybevoid

determines the bottom border distance of the header.

◆ HeaderDynamicSpacing

boolean HeaderDynamicSpacing
optionalpropertymaybevoid

determines whether to use dynamic spacing in header or not.

◆ HeaderHeight

long HeaderHeight
propertymaybevoid

contains the height of the header.

◆ HeaderIsDynamicHeight

boolean HeaderIsDynamicHeight
propertymaybevoid

determines if the height of the header depends on the content.

◆ HeaderIsOn

boolean HeaderIsOn
property

determines if a header is used on the page.

◆ HeaderIsShared

boolean HeaderIsShared
propertymaybevoid

determines if the header content on left and right pages is the same.

◆ HeaderLeftBorder

com::sun::star::table::BorderLine HeaderLeftBorder
propertymaybevoid

determines the style of the left border line of the header.

◆ HeaderLeftBorderDistance

long HeaderLeftBorderDistance
propertymaybevoid

determines the left border distance of the header.

◆ HeaderLeftMargin

long HeaderLeftMargin
propertymaybevoid

contains the left margin of the header.

◆ HeaderRightBorder

com::sun::star::table::BorderLine HeaderRightBorder
propertymaybevoid

determines the style of the right border line of the header.

◆ HeaderRightBorderDistance

long HeaderRightBorderDistance
propertymaybevoid

determines the right border distance of the header.

◆ HeaderRightMargin

long HeaderRightMargin
propertymaybevoid

contains the right margin of the header.

◆ HeaderShadowFormat

com::sun::star::table::ShadowFormat HeaderShadowFormat
propertymaybevoid

determines the shadow of the header.

◆ HeaderText

com::sun::star::text::XText HeaderText
optionalpropertymaybevoid

contains the interface to the text of the header.

◆ HeaderTextLeft

com::sun::star::text::XText HeaderTextLeft
optionalpropertymaybevoid

contains the interface to the text of the header of left pages.

◆ HeaderTextRight

com::sun::star::text::XText HeaderTextRight
optionalpropertymaybevoid

contains the interface to the text of the header of right pages.

◆ HeaderTopBorder

com::sun::star::table::BorderLine HeaderTopBorder
propertymaybevoid

determines the style of the top border line of the header.

◆ HeaderTopBorderDistance

long HeaderTopBorderDistance
propertymaybevoid

determines the top border distance of the header.

◆ Height

long Height
property

contains the height of the page.

◆ IsLandscape

boolean IsLandscape
property

determines if the page format is landscape.

◆ LeftBorder

com::sun::star::table::BorderLine LeftBorder
property

determines the style of the left border line of the page.

◆ LeftBorderDistance

long LeftBorderDistance
property

determines the left border distance of the page.

◆ LeftMargin

long LeftMargin
property

determines the left margin of the page.

◆ NumberingType

short NumberingType
property

determines the default numbering type for this page.

◆ PageStyleLayout

determines the layout of the page.

◆ PrinterPaperTray

string PrinterPaperTray
property

contains the name of a paper tray of the selected printer.

◆ RegisterModeActive

boolean RegisterModeActive
optionalproperty

determines if the register mode is active on that page.

◆ RegisterParagraphStyle

string RegisterParagraphStyle
optionalproperty

contains the name of the paragraph style that is used as reference of the register mode.

◆ RightBorder

com::sun::star::table::BorderLine RightBorder
property

determines the style of the right border line of the page.

◆ RightBorderDistance

long RightBorderDistance
property

determines the right border distance of the page.

◆ RightMargin

long RightMargin
property

determines the right margin of the page.

◆ RtlGutter

boolean RtlGutter
optionalproperty

specifies that the page gutter shall be placed on the right side of the page.

Since
LibreOffice 7.2

◆ ShadowFormat

com::sun::star::table::ShadowFormat ShadowFormat
property

determines the shadow of the page.

◆ Size

contains the paper size of the page.

◆ TextColumns

com::sun::star::text::XTextColumns TextColumns
optionalproperty

contains the column settings of the page.

◆ TopBorder

determines the style of the top border line of the page.

◆ TopBorderDistance

long TopBorderDistance
property

determines the top border distance of the page.

◆ TopMargin

long TopMargin
property

determines the top margin of the page.

◆ UserDefinedAttributes

com::sun::star::container::XNameContainer UserDefinedAttributes
property

contains user defined attributes.

This com::sun::star::container::XNameContainer supports the service com::sun::star::xml::AttributeContainer.

◆ Width

long Width
property

contains the width of the page.

◆ WritingMode

short WritingMode
optionalproperty

contains the writing direction, as represented by the com::sun::star::text::WritingMode2 constants


The documentation for this service was generated from the following file: