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  XMLErrors
 The XMLErrors is used to collect all errors and warnings that occur for appropriate processing. More...
 

Namespaces

namespace  o3tl
 
namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 #file
 
namespace  com::sun::star::uno
 
namespace  com::sun::star::xml
 
namespace  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 class  SvXMLErrorFlags {
  NO = 0x0000 ,
  DO_NOTHING = 0x0001 ,
  ERROR_OCCURRED = 0x0002 ,
  WARNING_OCCURRED = 0x0004
}
 

Macro Definition Documentation

◆ XMLERROR_API

#define XMLERROR_API   ( XMLERROR_CLASS_API | 0x00000004 )

Definition at line 71 of file xmlerror.hxx.

◆ XMLERROR_CANCEL

#define XMLERROR_CANCEL   ( XMLERROR_CLASS_OTHER | 0x00000001 )

Definition at line 74 of file xmlerror.hxx.

◆ XMLERROR_CLASS_API

#define XMLERROR_CLASS_API   0x00040000

Definition at line 42 of file xmlerror.hxx.

◆ XMLERROR_CLASS_FORMAT

#define XMLERROR_CLASS_FORMAT   0x00020000

Definition at line 41 of file xmlerror.hxx.

◆ XMLERROR_CLASS_IO

#define XMLERROR_CLASS_IO   0x00010000

Definition at line 40 of file xmlerror.hxx.

◆ XMLERROR_CLASS_OTHER

#define XMLERROR_CLASS_OTHER   0x00080000

Definition at line 43 of file xmlerror.hxx.

◆ XMLERROR_FLAG_ERROR

#define XMLERROR_FLAG_ERROR   0x20000000

Definition at line 36 of file xmlerror.hxx.

◆ XMLERROR_FLAG_SEVERE

#define XMLERROR_FLAG_SEVERE   0x40000000

Definition at line 37 of file xmlerror.hxx.

◆ XMLERROR_FLAG_WARNING

#define XMLERROR_FLAG_WARNING   0x10000000

Definition at line 35 of file xmlerror.hxx.

◆ XMLERROR_ILLEGAL_EVENT

#define XMLERROR_ILLEGAL_EVENT   (XMLERROR_CLASS_FORMAT | 0x00000005 )

Definition at line 56 of file xmlerror.hxx.

◆ XMLERROR_MASK_CLASS

#define XMLERROR_MASK_CLASS   0x00FF0000

Definition at line 31 of file xmlerror.hxx.

◆ XMLERROR_MASK_FLAG

#define XMLERROR_MASK_FLAG   0xF0000000

Definition at line 30 of file xmlerror.hxx.

◆ XMLERROR_MASK_NUMBER

#define XMLERROR_MASK_NUMBER   0x0000FFFF

Definition at line 32 of file xmlerror.hxx.

◆ XMLERROR_NAMESPACE_TROUBLE

#define XMLERROR_NAMESPACE_TROUBLE   (XMLERROR_CLASS_FORMAT | 0x00000006 )

Definition at line 57 of file xmlerror.hxx.

◆ XMLERROR_NO_INDEX_ALLOWED_HERE

#define XMLERROR_NO_INDEX_ALLOWED_HERE   ( XMLERROR_CLASS_FORMAT | 0x00000003 )

Definition at line 54 of file xmlerror.hxx.

◆ XMLERROR_PARENT_STYLE_NOT_ALLOWED

#define XMLERROR_PARENT_STYLE_NOT_ALLOWED   ( XMLERROR_CLASS_FORMAT | 0x00000004 )

Definition at line 55 of file xmlerror.hxx.

◆ XMLERROR_SAX

#define XMLERROR_SAX   ( XMLERROR_CLASS_FORMAT | 0x00000001 )

Definition at line 52 of file xmlerror.hxx.

◆ XMLERROR_STYLE_ATTR_VALUE

#define XMLERROR_STYLE_ATTR_VALUE   ( XMLERROR_CLASS_FORMAT | 0x00000002 )

Definition at line 53 of file xmlerror.hxx.

◆ XMLERROR_STYLE_PROP_OTHER

#define XMLERROR_STYLE_PROP_OTHER   ( XMLERROR_CLASS_API | 0x00000003 )

Definition at line 70 of file xmlerror.hxx.

◆ XMLERROR_STYLE_PROP_UNKNOWN

#define XMLERROR_STYLE_PROP_UNKNOWN   ( XMLERROR_CLASS_API | 0x00000002 )

Definition at line 69 of file xmlerror.hxx.

◆ XMLERROR_STYLE_PROP_VALUE

#define XMLERROR_STYLE_PROP_VALUE   ( XMLERROR_CLASS_API | 0x00000001 )

Definition at line 68 of file xmlerror.hxx.

◆ XMLERROR_UNKNOWN_ATTRIBUTE

#define XMLERROR_UNKNOWN_ATTRIBUTE   ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x0000000a )

Definition at line 62 of file xmlerror.hxx.

◆ XMLERROR_UNKNOWN_CHARACTERS

#define XMLERROR_UNKNOWN_CHARACTERS   ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x0000000c )

Definition at line 64 of file xmlerror.hxx.

◆ XMLERROR_UNKNOWN_ELEMENT

#define XMLERROR_UNKNOWN_ELEMENT   ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x0000000b )

Definition at line 63 of file xmlerror.hxx.

◆ XMLERROR_UNKNOWN_ROOT

#define XMLERROR_UNKNOWN_ROOT   (XMLERROR_CLASS_FORMAT | 0x0000000d )

Definition at line 65 of file xmlerror.hxx.

◆ XMLERROR_XFORMS_NO_SCHEMA_SUPPORT

#define XMLERROR_XFORMS_NO_SCHEMA_SUPPORT   ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x00000007 )

Definition at line 59 of file xmlerror.hxx.

◆ XMLERROR_XFORMS_ONLY_ONE_INSTANCE_ELEMENT

#define XMLERROR_XFORMS_ONLY_ONE_INSTANCE_ELEMENT   ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x00000009 )

Definition at line 61 of file xmlerror.hxx.

◆ XMLERROR_XFORMS_UNKNOWN

#define XMLERROR_XFORMS_UNKNOWN   ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x00000008 )

Definition at line 60 of file xmlerror.hxx.

Enumeration Type Documentation

◆ SvXMLErrorFlags

enum class SvXMLErrorFlags
strong
Enumerator
NO 
DO_NOTHING 
ERROR_OCCURRED 
WARNING_OCCURRED 

Definition at line 78 of file xmlerror.hxx.