LibreOffice
LibreOffice 24.2 SDK API Reference
|
Provides a unified interface for the new-style service TextInputStream. More...
import"XTextInputStream2.idl";
Exported Interfaces | |
interface | com::sun::star::io::XTextInputStream |
Interface to read text data. More... | |
interface | com::sun::star::io::XActiveDataSink |
Interface to specify the used com::sun::star::io::XInputStream. More... | |
Additional Inherited Members | |
Public Member Functions inherited from XTextInputStream | |
string | readLine () raises ( com::sun::star::io::IOException ) |
reads text until a line break (CR, LF, or CR/LF) or EOF is found and returns it as string (without CR, LF). More... | |
string | readString ([in] sequence< char > Delimiters, [in] boolean bRemoveDelimiter) raises ( com::sun::star::io::IOException ) |
reads text until one of the given delimiter characters or EOF is found and returns it as string (without delimiter). More... | |
boolean | isEOF () raises ( com::sun::star::io::IOException ) |
Returns the EOF status. More... | |
void | setEncoding ([in] string Encoding) |
sets character encoding. More... | |
Public Member Functions inherited from XInputStream | |
long | readBytes ([out] sequence< byte > aData, [in] long nBytesToRead) raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::BufferSizeExceededException, com::sun::star::io::IOException) |
reads the specified number of bytes in the given sequence. More... | |
long | readSomeBytes ([out] sequence< byte > aData, [in] long nMaxBytesToRead) raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::BufferSizeExceededException, com::sun::star::io::IOException ) |
reads the available number of bytes, at maximum nMaxBytesToRead. More... | |
void | skipBytes ([in] long nBytesToSkip) raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::BufferSizeExceededException, com::sun::star::io::IOException ) |
skips the next nBytesToSkip bytes (must be positive). More... | |
long | available () raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::IOException ) |
states how many bytes can be read or skipped without blocking. More... | |
void | closeInput () raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::IOException) |
closes the stream. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
Public Member Functions inherited from XActiveDataSink | |
void | setInputStream ([in] com::sun::star::io::XInputStream aStream) |
plugs the input stream. More... | |
com::sun::star::io::XInputStream | getInputStream () |
Provides a unified interface for the new-style service TextInputStream.
interface com::sun::star::io::XActiveDataSink |
Interface to specify the used com::sun::star::io::XInputStream.
interface com::sun::star::io::XTextInputStream |
Interface to read text data.