LibreOffice LibreOffice 26.2 SDK API Reference

Loading...
Searching...
No Matches
XTextOutputStream2 Interface Referencepublished

Provides a unified interface for the new-style service TextOutputStream. More...

`import "XTextOutputStream2.idl";`

Inheritance diagram for XTextOutputStream2:

## Exported Interfaces
interface | com::sun::star::io::XTextOutputStream
| Interface to write text data.
interface | com::sun::star::io::XActiveDataSource
| Interface to specify the used com::sun::star::io::XOutputStream.

## Additional Inherited Members
Public Member Functions inherited from XTextOutputStream
void | writeString ([in] string aString) raises ( com::sun::star::io::IOException )
| writes a string to the stream using the encoding defined by setEncoding().
void | setEncoding ([in] string Encoding)
| sets character encoding.
Public Member Functions inherited from XOutputStream
void | writeBytes ([in] sequence< byte > aData) raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::BufferSizeExceededException, com::sun::star::io::IOException)
| writes the whole sequence to the stream.
void | flush () raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::BufferSizeExceededException, com::sun::star::io::IOException)
| flushes out of the stream any data that may exist in buffers.
void | closeOutput () raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::BufferSizeExceededException, com::sun::star::io::IOException)
| gets called to indicate that all data has been written.
Public Member Functions inherited from XInterface
any | queryInterface ([in] type aType)
| queries for a new interface to an existing UNO object.
void | acquire ()
| increases the reference counter by one.
void | release ()
| decreases the reference counter by one.
Public Member Functions inherited from XActiveDataSource
void | setOutputStream ([in] com::sun::star::io::XOutputStream aStream)
| plugs the output stream.
com::sun::star::io::XOutputStream | getOutputStream ()

## Detailed Description

Provides a unified interface for the new-style service TextOutputStream.

Since
  LibreOffice 4.1

## Exported Interfaces

## ◆ com::sun::star::io::XActiveDataSource

interface com::sun::star::io::XActiveDataSource

Interface to specify the used com::sun::star::io::XOutputStream.

## ◆ com::sun::star::io::XTextOutputStream

interface com::sun::star::io::XTextOutputStream

Interface to write text data.

The documentation for this interface was generated from the following file:

- com/sun/star/io/XTextOutputStream2.idl