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 TextContentEnumeration

java.lang.Object
  extended by ag.ion.bion.officelayer.internal.text.TextContentEnumeration
All Implemented Interfaces:
ITextContentEnumeration

public class TextContentEnumeration
extends java.lang.Object
implements ITextContentEnumeration

Enumeration over all text content parts.


Constructor Summary
TextContentEnumeration(ITextDocument textDocument, com.sun.star.text.XTextRange xTextRange)
          Constructs new TextContentEnumeration.
 
Method Summary
 IParagraph[] getParagraphs()
          Returns all available paragraphs.
 ITextField[] getTextFields()
          Returns all available text fields.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextContentEnumeration

public TextContentEnumeration(ITextDocument textDocument,
                              com.sun.star.text.XTextRange xTextRange)
                       throws com.sun.star.lang.IllegalArgumentException
Constructs new TextContentEnumeration.

Parameters:
textDocument - text document to be used
xTextRange - OpenOffice.org XTextRange interface
Throws:
com.sun.star.lang.IllegalArgumentException - IllegalArgumentException IllegalArgumentException if the OpenOffice.org interface is not valid
Method Detail

getTextFields

public ITextField[] getTextFields()
Returns all available text fields.

Specified by:
getTextFields in interface ITextContentEnumeration
Returns:
all available text fields

getParagraphs

public IParagraph[] getParagraphs()
Returns all available paragraphs.

Specified by:
getParagraphs in interface ITextContentEnumeration
Returns:
all available paragraphs

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