Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: style ::

service ParagraphStyle
Description
specifies a stylesheet for paragraphs within a ::com::sun::star::text::Text.

Included Services - Summary
Style

specifies administrative properties.

::com::sun::star::xml::ParaUserDefinedAttributesSupplier

contains user defined attributes for paragraphs. (details)

ParagraphProperties

specifies the style properties.

Properties' Summary
long
ParaLeftMarginRelative
determines the left margin of the paragraph relative to the ParaLeftMargin of the parent style.  
long
ParaRightMarginRelative
determines the right margin of the paragraph relative to the ParaRightMargin of the parent style.  
long
ParaTopMarginRelative
determines the top margin of the paragraph relative to the ParaTopMargin of the parent style.  
long
ParaBottomMarginRelative
determines the Bottom margin of the paragraph relative to the ParaBottomMargin of the parent style.  
short
Category
determines the category of a paragraph style. 
float
CharDiffHeight
 
short
CharPropHeight
This value contains the character height as percentage value relative to the height of the character in the parent style.  
float
CharDiffHeightAsian
This value contains the character height as difference in point to the height of the character in the parent style in Asian text.  
short
CharPropHeightAsian
This value contains the character height as percentage value relative to the height of the character in the parent style in Asian text.  
float
CharDiffHeightComplex
This value contains the character height as difference in point to the height of the character in the parent style in complex text.  
short
CharPropHeightComplex
This value contains the character height as percentage value relative to the height of the character in the parent style in complex text.  
[ readonly ] string
PageStyleName
[ OPTIONAL ]
returns the name of the page style in use  
Included Services - Details
Style
Description
specifies administrative properties.
::com::sun::star::xml::ParaUserDefinedAttributesSupplier
Usage Restrictions
optional
Description
contains user defined attributes for paragraphs.
See also
::com::sun::star::xml::ParaUserDefinedAttributesSupplier
ParagraphProperties
Description
specifies the style properties.
Properties' Details
ParaLeftMarginRelative
long ParaLeftMarginRelative;
Description
determines the left margin of the paragraph relative to the ParaLeftMargin of the parent style.

If the value of ParaLeftMarginRelative is 100 the current ParaLeftMargin value is used.

ParaRightMarginRelative
long ParaRightMarginRelative;
Description
determines the right margin of the paragraph relative to the ParaRightMargin of the parent style.

If the value of ParaRightMarginRelative is 100 the current ParaRightMargin value is used.

ParaTopMarginRelative
long ParaTopMarginRelative;
Description
determines the top margin of the paragraph relative to the ParaTopMargin of the parent style.

If the value of ParaTopMarginRelative is 100 the current ParaTopMargin value is used.

ParaBottomMarginRelative
long ParaBottomMarginRelative;
Description
determines the Bottom margin of the paragraph relative to the ParaBottomMargin of the parent style.

If the value of ParaBottomMarginRelative is 100 the current ParaBottomMargin value is used.

Category
short Category;
Description
determines the category of a paragraph style.
See also
com.sun.star.style.ParagraphStyleCategory
CharDiffHeight
float CharDiffHeight;
CharPropHeight
short CharPropHeight;
Description
This value contains the character height as percentage value relative to the height of the character in the parent style.
CharDiffHeightAsian
float CharDiffHeightAsian;
Description
This value contains the character height as difference in point to the height of the character in the parent style in Asian text.
CharPropHeightAsian
short CharPropHeightAsian;
Description
This value contains the character height as percentage value relative to the height of the character in the parent style in Asian text.
CharDiffHeightComplex
float CharDiffHeightComplex;
Description
This value contains the character height as difference in point to the height of the character in the parent style in complex text.
CharPropHeightComplex
short CharPropHeightComplex;
Description
This value contains the character height as percentage value relative to the height of the character in the parent style in complex text.
PageStyleName
[ readonly ] string PageStyleName;
Usage Restrictions
optional
Description
returns the name of the page style in use

For setting the page style you have to use the PageDescName properties.


 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.