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 TextTableProperties

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

public class TextTableProperties
extends AbstractProperties
implements ITextTableProperties

Properties of a text table.


Field Summary
 
Fields inherited from interface ag.ion.bion.officelayer.text.ITextTableProperties
TYPE_ID
 
Constructor Summary
TextTableProperties(com.sun.star.beans.XPropertySet xPropertySet)
          Constructs new TextTableProperties.
 
Method Summary
 int[] getCellWidths()
          Returns the widths of the cells.
static java.lang.String[] getDefaultPropertyKeys()
          Returns the default property keys.
static IPropertyKey[] getPossiblyPropertyKeys()
          Returns the possible property keys.
 TextTableColumnsSeparator[] getTableColumnSeparators()
          Returns the table column separators.
 java.lang.String getTypeID()
          Returns the id of the property.
 long getWidth()
          Returns the widths of the table.
 boolean repeatHeadline()
          Returns information whether the first row is repeated on every page as headline.
 void setRepeatHeadline(boolean repeatHeadline)
          Sets information whether the first row is repeated on every page as headline.
 void setTableColumnSeparators(TextTableColumnsSeparator[] textTableColumnSeparators)
          Sets the table column separators.
 
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

TextTableProperties

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

Parameters:
xPropertySet - OpenOffice.org XPropertySet interface
Throws:
java.lang.IllegalArgumentException - if the OpenOffice.org 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

setRepeatHeadline

public void setRepeatHeadline(boolean repeatHeadline)
                       throws TextException
Sets information whether the first row is repeated on every page as headline.

Specified by:
setRepeatHeadline in interface ITextTableProperties
Parameters:
repeatHeadline - information whether the first row is repeated on every page as headline
Throws:
TextException - if the property can not be set

repeatHeadline

public boolean repeatHeadline()
                       throws TextException
Returns information whether the first row is repeated on every page as headline.

Specified by:
repeatHeadline in interface ITextTableProperties
Returns:
information whether the first row is repeated on every page as headline
Throws:
TextException - if the property is not available

getCellWidths

public int[] getCellWidths()
                    throws TextException
Returns the widths of the cells.

Specified by:
getCellWidths in interface ITextTableProperties
Returns:
widths of the cells
Throws:
TextException - if the property is not available

getWidth

public long getWidth()
              throws TextException
Returns the widths of the table.

Specified by:
getWidth in interface ITextTableProperties
Returns:
widths of the table
Throws:
TextException - if the property is not available

getTableColumnSeparators

public TextTableColumnsSeparator[] getTableColumnSeparators()
                                                     throws TextException
Returns the table column separators.

Specified by:
getTableColumnSeparators in interface ITextTableProperties
Returns:
separators of the table columns
Throws:
TextException - if the property is not available

setTableColumnSeparators

public void setTableColumnSeparators(TextTableColumnsSeparator[] textTableColumnSeparators)
                              throws TextException
Sets the table column separators.

Specified by:
setTableColumnSeparators in interface ITextTableProperties
Parameters:
textTableColumnSeparators - text table column separators
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