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 TextDocumentImage

java.lang.Object
  extended by ag.ion.bion.officelayer.text.AbstractTextComponent
      extended by ag.ion.bion.officelayer.internal.text.TextDocumentImage
All Implemented Interfaces:
ITextComponent, ITextContent, ITextDocumentImage

public class TextDocumentImage
extends AbstractTextComponent
implements ITextDocumentImage

Image of a text document.


Field Summary
 
Fields inherited from class ag.ion.bion.officelayer.text.AbstractTextComponent
textDocument
 
Constructor Summary
TextDocumentImage(ITextDocument textDocument, com.sun.star.text.XTextContent xTextContent, GraphicInfo graphicInfo)
          Constructs new TextDocumentImage.
 
Method Summary
 GraphicInfo getGraphicInfo()
          Returns graphic information of the image.
 com.sun.star.text.XTextContent getXTextContent()
          Returns OpenOffice.org XTextContent interface.
 
Methods inherited from class ag.ion.bion.officelayer.text.AbstractTextComponent
getTextDocument
 
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.text.ITextComponent
getTextDocument
 

Constructor Detail

TextDocumentImage

public TextDocumentImage(ITextDocument textDocument,
                         com.sun.star.text.XTextContent xTextContent,
                         GraphicInfo graphicInfo)
                  throws java.lang.IllegalArgumentException
Constructs new TextDocumentImage.

Parameters:
textDocument - text document to be used
xTextContent - OpenOffice.org XTextContent interface
graphicInfo - the graphic iInfo the image was created with
Throws:
java.lang.IllegalArgumentException - if the OpenOffice.org interface or the document or grpahic info is not valid
Method Detail

getXTextContent

public com.sun.star.text.XTextContent getXTextContent()
Returns OpenOffice.org XTextContent interface.

Specified by:
getXTextContent in interface ITextContent
Returns:
OpenOffice.org XTextContent interface

getGraphicInfo

public GraphicInfo getGraphicInfo()
Returns graphic information of the image.

Specified by:
getGraphicInfo in interface ITextDocumentImage
Returns:
graphic information of the image

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