LibreOffice
LibreOffice 25.8 SDK API Reference
Loading...
Searching...
No Matches
XSeekableInputStream Interface Referencepublished

This interface can be used to represent a seekable input stream. More...

import "XSeekableInputStream.idl";

Inheritance diagram for XSeekableInputStream:
XInputStream XSeekable XInterface XInterface SequenceInputStream

Exported Interfaces

interface XInputStream
interface XSeekable

Additional Inherited Members

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.
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.
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).
long available () raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::IOException )
 states how many bytes can be read or skipped without blocking.
void closeInput () raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::IOException)
 closes the stream.
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 XSeekable
void seek ([in] hyper location) raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::io::IOException )
 changes the seek pointer to a new location relative to the beginning of the stream.
hyper getPosition () raises ( com::sun::star::io::IOException )
 returns the current offset of the stream.
hyper getLength () raises ( com::sun::star::io::IOException )
 returns the length of the stream.

Detailed Description

This interface can be used to represent a seekable input stream.

Exported Interfaces

◆ XInputStream

interface XInputStream

◆ XSeekable

interface XSeekable

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