Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.bion.officelayer.internal.text
Class PageStyleProperties

java.lang.Object
  extended by ag.ion.bion.officelayer.internal.beans.AbstractProperties
      extended by ag.ion.bion.officelayer.internal.text.PageStyleProperties
All Implemented Interfaces:
IProperties, IPageStyleProperties

public class PageStyleProperties
extends AbstractProperties
implements IPageStyleProperties

Properties of a page style.


Field Summary
 
Fields inherited from interface ag.ion.bion.officelayer.text.IPageStyleProperties
TYPE_ID
 
Constructor Summary
PageStyleProperties(com.sun.star.beans.XPropertySet xPropertySet)
          Constructs new PageStyleProperties.
 
Method Summary
static java.lang.String[] getDefaultPropertyKeys()
          Returns the default property keys.
 boolean getIsLandscape()
          Returns property value of the page format.
static IPropertyKey[] getPossiblyPropertyKeys()
          Returns the possible property keys.
 java.lang.String getTypeID()
          Returns the id of the property.
 void setIsLandscape(boolean isLandscape)
          Sets property value for the page format.
 
Methods inherited from class ag.ion.bion.officelayer.internal.beans.AbstractProperties
copyTo, getXPropertySet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ag.ion.bion.officelayer.beans.IProperties
copyTo, getXPropertySet
 

Constructor Detail

PageStyleProperties

public PageStyleProperties(com.sun.star.beans.XPropertySet xPropertySet)
                    throws java.lang.IllegalArgumentException
Constructs new PageStyleProperties.

Parameters:
xPropertySet - OpenOffice.org XPropertySet interface
Throws:
java.lang.IllegalArgumentException - if the submitted OpenOffice.org XPropertySet interface is not valid
Method Detail

getPossiblyPropertyKeys

public static IPropertyKey[] getPossiblyPropertyKeys()
Returns the possible property keys.

Returns:
the possible property keys

getDefaultPropertyKeys

public static java.lang.String[] getDefaultPropertyKeys()
Returns the default property keys.

Returns:
the default property keys

getTypeID

public java.lang.String getTypeID()
Returns the id of the property.

Specified by:
getTypeID in interface IProperties
Specified by:
getTypeID in class AbstractProperties
Returns:
the id of the property

setIsLandscape

public void setIsLandscape(boolean isLandscape)
                    throws TextException
Sets property value for the page format.

Specified by:
setIsLandscape in interface IPageStyleProperties
Parameters:
isLandscape - value for the page format
Throws:
TextException - if the property can not be set

getIsLandscape

public boolean getIsLandscape()
                       throws TextException
Returns property value of the page format.

Specified by:
getIsLandscape in interface IPageStyleProperties
Returns:
property value of the page format
Throws:
TextException - if the property is not available

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013