LibreOffice
LibreOffice 7.2 SDK API Reference
Public Attributes | List of all members
InputSource Struct Referencepublished

specifies the Datasource plus some additional information for the parser. More...

import"InputSource.idl";

Public Attributes

com::sun::star::io::XInputStream aInputStream
 contains the byte input stream of the document. More...
 
string sEncoding
 contains the encoding of the data stream. More...
 
string sPublicId
 contains the public Id of the document, for example, needed in exception-message strings. More...
 
string sSystemId
 contains the system ID of the document. More...
 

Detailed Description

specifies the Datasource plus some additional information for the parser.

There are two places where the application will deliver this input source to the parser:

Member Data Documentation

◆ aInputStream

contains the byte input stream of the document.

◆ sEncoding

string sEncoding

contains the encoding of the data stream.

This is used by the parser to do Unicode conversions.

Note that in general you do not need to specify an encoding. Either it is UTF-8 or UTF-16 which is recognized by the parser or it is specified in the first line of the XML-File ( e.g. ?xml encoding="EUC-JP"? ).

◆ sPublicId

string sPublicId

contains the public Id of the document, for example, needed in exception-message strings.

◆ sSystemId

string sSystemId

contains the system ID of the document.


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