// error numbers, listed by error class // Within each class, errors should be numbered consecutively. Please // always add to error code below the appropriate comment.
// other errors: #define XMLERROR_CANCEL ( XMLERROR_CLASS_OTHER | 0x00000001 )
// 16bit error flag constants for use in the // SvXMLExport/SvXMLImport error flags enumclass SvXMLErrorFlags {
NO = 0x0000,
DO_NOTHING = 0x0001,
ERROR_OCCURRED = 0x0002,
WARNING_OCCURRED = 0x0004,
};
namespace com::sun::star { namespace uno { template<class X> class Sequence; } namespace uno { template<class X> class Reference; } namespace xml::sax { class XLocator; }
}
class ErrorRecord; namespace vcl { class ILibreOfficeKitNotifier; }
/** *TheXMLErrorsisusedtocollectallerrorsandwarningsthatoccur *forappropriateprocessing.
*/ class XMLErrors
{ /// definition of type for error list typedef ::std::vector<ErrorRecord> ErrorList;
ErrorList m_aErrors; /// list of error records
vcl::ILibreOfficeKitNotifier* mpNotifier;
/// add a new entry to the list of error messages void AddRecord(
sal_Int32 nId, /// error ID == error flags + error class + error number const css::uno::Sequence< OUString> & rParams, /// parameters for error message const OUString& rExceptionMessage, /// original exception string
sal_Int32 nRow, /// XLocator: file row number
sal_Int32 nColumn, /// XLocator: file column number const OUString& rPublicId, /// XLocator: file public ID const OUString& rSystemId ); /// XLocator: file system ID
void AddRecord(
sal_Int32 nId, /// error ID == error flags + error class + error number const css::uno::Sequence<OUString> & rParams, /// parameters for error message const OUString& rExceptionMessage, /// original exception string const css::uno::Reference<css::xml::sax::XLocator> & rLocator); /// location
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.