LibreOffice Module xmloff (master)  1
Classes | Namespaces | Macros | Enumerations
xmlerror.hxx File Reference
#include <sal/types.h>
#include <rtl/ustring.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <vector>
Include dependency graph for xmlerror.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< SvXMLErrorFlags >
 
class  com::sun::star::uno::Sequence< class >
 
class  com::sun::star::uno::Reference< class >
 
class  XMLErrors
 The XMLErrors is used to collect all errors and warnings that occur for appropriate processing. More...
 

Namespaces

 o3tl
 
 com::sun::star
 #file
 
 com::sun::star::uno
 
 com::sun::star::xml::sax
 

Macros

#define XMLERROR_MASK_FLAG   0xF0000000
 
#define XMLERROR_MASK_CLASS   0x00FF0000
 
#define XMLERROR_MASK_NUMBER   0x0000FFFF
 
#define XMLERROR_FLAG_WARNING   0x10000000
 
#define XMLERROR_FLAG_ERROR   0x20000000
 
#define XMLERROR_FLAG_SEVERE   0x40000000
 
#define XMLERROR_CLASS_IO   0x00010000
 
#define XMLERROR_CLASS_FORMAT   0x00020000
 
#define XMLERROR_CLASS_API   0x00040000
 
#define XMLERROR_CLASS_OTHER   0x00080000
 
#define XMLERROR_SAX   ( XMLERROR_CLASS_FORMAT | 0x00000001 )
 
#define XMLERROR_STYLE_ATTR_VALUE   ( XMLERROR_CLASS_FORMAT | 0x00000002 )
 
#define XMLERROR_NO_INDEX_ALLOWED_HERE   ( XMLERROR_CLASS_FORMAT | 0x00000003 )
 
#define XMLERROR_PARENT_STYLE_NOT_ALLOWED   ( XMLERROR_CLASS_FORMAT | 0x00000004 )
 
#define XMLERROR_ILLEGAL_EVENT   (XMLERROR_CLASS_FORMAT | 0x00000005 )
 
#define XMLERROR_NAMESPACE_TROUBLE   (XMLERROR_CLASS_FORMAT | 0x00000006 )
 
#define XMLERROR_XFORMS_NO_SCHEMA_SUPPORT   ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x00000007 )
 
#define XMLERROR_XFORMS_UNKNOWN   ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x00000008 )
 
#define XMLERROR_XFORMS_ONLY_ONE_INSTANCE_ELEMENT   ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x00000009 )
 
#define XMLERROR_UNKNOWN_ATTRIBUTE   ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x0000000a )
 
#define XMLERROR_UNKNOWN_ELEMENT   ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x0000000b )
 
#define XMLERROR_UNKNOWN_CHARACTERS   ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x0000000c )
 
#define XMLERROR_UNKNOWN_ROOT   (XMLERROR_CLASS_FORMAT | 0x0000000d )
 
#define XMLERROR_STYLE_PROP_VALUE   ( XMLERROR_CLASS_API | 0x00000001 )
 
#define XMLERROR_STYLE_PROP_UNKNOWN   ( XMLERROR_CLASS_API | 0x00000002 )
 
#define XMLERROR_STYLE_PROP_OTHER   ( XMLERROR_CLASS_API | 0x00000003 )
 
#define XMLERROR_API   ( XMLERROR_CLASS_API | 0x00000004 )
 
#define XMLERROR_CANCEL   ( XMLERROR_CLASS_OTHER | 0x00000001 )
 

Enumerations

enum  SvXMLErrorFlags {
  SvXMLErrorFlags::NO = 0x0000,
  SvXMLErrorFlags::DO_NOTHING = 0x0001,
  SvXMLErrorFlags::ERROR_OCCURRED = 0x0002,
  SvXMLErrorFlags::WARNING_OCCURRED = 0x0004
}
 

Macro Definition Documentation

#define XMLERROR_API   ( XMLERROR_CLASS_API | 0x00000004 )
#define XMLERROR_CANCEL   ( XMLERROR_CLASS_OTHER | 0x00000001 )

Definition at line 74 of file xmlerror.hxx.

Referenced by SvXMLExport::cancel().

#define XMLERROR_CLASS_API   0x00040000

Definition at line 42 of file xmlerror.hxx.

#define XMLERROR_CLASS_FORMAT   0x00020000

Definition at line 41 of file xmlerror.hxx.

#define XMLERROR_CLASS_IO   0x00010000

Definition at line 40 of file xmlerror.hxx.

#define XMLERROR_CLASS_OTHER   0x00080000

Definition at line 43 of file xmlerror.hxx.

#define XMLERROR_FLAG_ERROR   0x20000000
#define XMLERROR_FLAG_SEVERE   0x40000000
#define XMLERROR_FLAG_WARNING   0x10000000
#define XMLERROR_ILLEGAL_EVENT   (XMLERROR_CLASS_FORMAT | 0x00000005 )
#define XMLERROR_MASK_CLASS   0x00FF0000

Definition at line 31 of file xmlerror.hxx.

#define XMLERROR_MASK_FLAG   0xF0000000

Definition at line 30 of file xmlerror.hxx.

#define XMLERROR_MASK_NUMBER   0x0000FFFF

Definition at line 32 of file xmlerror.hxx.

#define XMLERROR_NAMESPACE_TROUBLE   (XMLERROR_CLASS_FORMAT | 0x00000006 )

Definition at line 57 of file xmlerror.hxx.

Referenced by lcl_createElement(), and DomBuilderContext::StartElement().

#define XMLERROR_NO_INDEX_ALLOWED_HERE   ( XMLERROR_CLASS_FORMAT | 0x00000003 )

Definition at line 54 of file xmlerror.hxx.

Referenced by XMLIndexTOCContext::StartElement().

#define XMLERROR_PARENT_STYLE_NOT_ALLOWED   ( XMLERROR_CLASS_FORMAT | 0x00000004 )

Definition at line 55 of file xmlerror.hxx.

Referenced by XMLPropStyleContext::Finish().

#define XMLERROR_SAX   ( XMLERROR_CLASS_FORMAT | 0x00000001 )
#define XMLERROR_STYLE_ATTR_VALUE   ( XMLERROR_CLASS_FORMAT | 0x00000002 )

Definition at line 53 of file xmlerror.hxx.

Referenced by SvXMLImportPropertyMapper::importXML().

#define XMLERROR_STYLE_PROP_OTHER   ( XMLERROR_CLASS_API | 0x00000003 )
#define XMLERROR_STYLE_PROP_UNKNOWN   ( XMLERROR_CLASS_API | 0x00000002 )

Definition at line 69 of file xmlerror.hxx.

Referenced by SvXMLImportPropertyMapper::FillPropertySet_().

#define XMLERROR_STYLE_PROP_VALUE   ( XMLERROR_CLASS_API | 0x00000001 )
#define XMLERROR_UNKNOWN_ATTRIBUTE   ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x0000000a )

Definition at line 62 of file xmlerror.hxx.

Referenced by TokenContext::StartElement().

#define XMLERROR_UNKNOWN_CHARACTERS   ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x0000000c )

Definition at line 64 of file xmlerror.hxx.

Referenced by TokenContext::Characters().

#define XMLERROR_UNKNOWN_ELEMENT   ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x0000000b )

Definition at line 63 of file xmlerror.hxx.

Referenced by TokenContext::CreateChildContext().

#define XMLERROR_UNKNOWN_ROOT   (XMLERROR_CLASS_FORMAT | 0x0000000d )

Definition at line 65 of file xmlerror.hxx.

Referenced by SvXMLImport::startElement().

#define XMLERROR_XFORMS_NO_SCHEMA_SUPPORT   ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x00000007 )

Definition at line 59 of file xmlerror.hxx.

Referenced by XFormsModelContext::HandleAttribute().

#define XMLERROR_XFORMS_ONLY_ONE_INSTANCE_ELEMENT   ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x00000009 )

Definition at line 61 of file xmlerror.hxx.

Referenced by XFormsInstanceContext::CreateChildContext().

#define XMLERROR_XFORMS_UNKNOWN   ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x00000008 )

Definition at line 60 of file xmlerror.hxx.

Enumeration Type Documentation

enum SvXMLErrorFlags
strong
Enumerator
NO 
DO_NOTHING 
ERROR_OCCURRED 
WARNING_OCCURRED 

Definition at line 78 of file xmlerror.hxx.