tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / offapi / com / sun / star / xml / sax / InputSource.idl
blobe4cc329fd6d4c12d8bce442e8c43e7b1921a8e05
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 module com { module sun { module star { module xml { module sax {
25 /** specifies the Datasource plus some additional information for the parser.
27 <p>There are two places where the application will deliver this input
28 source to the parser:
29 </p>
30 <ul>
31 <li>as the argument of XParser::parseStream()</li>
32 <li>as the return value of XEntityResolver::resolveEntity().
33 </li>
34 </ul>
36 published struct InputSource
38 /** contains the byte input stream of the document.
40 com::sun::star::io::XInputStream aInputStream;
43 /** contains the encoding of the data stream. This is used by the parser
44 to do Unicode conversions.
46 <p>Note that in general you do not need to specify an encoding.
47 Either it is UTF-8 or UTF-16 which is recognized by the parser
48 or it is specified in the first line of the XML-File
49 ( e.g. <em>?xml encoding="EUC-JP"?</em> ).</p>
51 string sEncoding;
54 /** contains the public Id of the document, for example, needed in
55 exception-message strings.
57 string sPublicId;
60 /** contains the system ID of the document.
62 string sSystemId;
66 }; }; }; }; };
68 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */