LibreOffice Module framework (master) 1
Namespaces | Macros | Functions | Variables
statusbardocumenthandler.cxx File Reference
#include <xml/statusbardocumenthandler.hxx>
#include <com/sun/star/xml/sax/SAXException.hpp>
#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
#include <com/sun/star/ui/ItemStyle.hpp>
#include <com/sun/star/ui/ItemType.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/container/XIndexContainer.hpp>
#include <vcl/status.hxx>
#include <comphelper/attributelist.hxx>
#include <comphelper/propertyvalue.hxx>
Include dependency graph for statusbardocumenthandler.cxx:

Go to the source code of this file.

Namespaces

namespace  framework
 

Macros

#define ELEMENT_STATUSBAR   "statusbar"
 
#define ELEMENT_STATUSBARITEM   "statusbaritem"
 
#define ATTRIBUTE_ALIGN   "align"
 
#define ATTRIBUTE_STYLE   "style"
 
#define ATTRIBUTE_URL   "href"
 
#define ATTRIBUTE_WIDTH   "width"
 
#define ATTRIBUTE_OFFSET   "offset"
 
#define ATTRIBUTE_AUTOSIZE   "autosize"
 
#define ATTRIBUTE_OWNERDRAW   "ownerdraw"
 
#define ATTRIBUTE_HELPURL   "helpid"
 
#define ATTRIBUTE_MANDATORY   "mandatory"
 

Functions

static void framework::ExtractStatusbarItemParameters (const Sequence< PropertyValue > &rProp, OUString &rCommandURL, OUString &rHelpURL, sal_Int16 &rOffset, sal_Int16 &rStyle, sal_Int16 &rWidth)
 

Variables

constexpr OUStringLiteral XMLNS_STATUSBAR = u"http://openoffice.org/2001/statusbar"
 
constexpr OUStringLiteral XMLNS_XLINK = u"http://www.w3.org/1999/xlink"
 
constexpr OUStringLiteral XMLNS_STATUSBAR_PREFIX = u"statusbar:"
 
constexpr OUStringLiteral XMLNS_XLINK_PREFIX = u"xlink:"
 
constexpr OUStringLiteral XMLNS_FILTER_SEPARATOR = u"^"
 
constexpr OUStringLiteral ELEMENT_NS_STATUSBAR = u"statusbar:statusbar"
 
constexpr OUStringLiteral ELEMENT_NS_STATUSBARITEM = u"statusbar:statusbaritem"
 
constexpr OUStringLiteral ATTRIBUTE_XMLNS_STATUSBAR = u"xmlns:statusbar"
 
constexpr OUStringLiteral ATTRIBUTE_XMLNS_XLINK = u"xmlns:xlink"
 
constexpr OUStringLiteral ATTRIBUTE_BOOLEAN_TRUE = u"true"
 
constexpr OUStringLiteral ATTRIBUTE_BOOLEAN_FALSE = u"false"
 
constexpr OUStringLiteral ATTRIBUTE_ALIGN_LEFT = u"left"
 
constexpr OUStringLiteral ATTRIBUTE_ALIGN_RIGHT = u"right"
 
constexpr OUStringLiteral ATTRIBUTE_ALIGN_CENTER = u"center"
 
constexpr OUStringLiteral ATTRIBUTE_STYLE_IN = u"in"
 
constexpr OUStringLiteral ATTRIBUTE_STYLE_OUT = u"out"
 
constexpr OUStringLiteral ATTRIBUTE_STYLE_FLAT = u"flat"
 
constexpr OUStringLiteral STATUSBAR_DOCTYPE = u"<!DOCTYPE statusbar:statusbar PUBLIC \"-//OpenOffice.org//DTD OfficeDocument 1.0//EN\" \"statusbar.dtd\">"
 
constexpr OUStringLiteral framework::ITEM_DESCRIPTOR_COMMANDURL = u"CommandURL"
 
constexpr OUStringLiteral framework::ITEM_DESCRIPTOR_HELPURL = u"HelpURL"
 
constexpr OUStringLiteral framework::ITEM_DESCRIPTOR_OFFSET = u"Offset"
 
constexpr OUStringLiteral framework::ITEM_DESCRIPTOR_STYLE = u"Style"
 
constexpr OUStringLiteral framework::ITEM_DESCRIPTOR_WIDTH = u"Width"
 
constexpr OUStringLiteral framework::ITEM_DESCRIPTOR_TYPE = u"Type"
 
StatusBarEntryProperty const framework::StatusBarEntries [OReadStatusBarDocumentHandler::SB_XML_ENTRY_COUNT]
 

Macro Definition Documentation

◆ ATTRIBUTE_ALIGN

#define ATTRIBUTE_ALIGN   "align"

Definition at line 51 of file statusbardocumenthandler.cxx.

◆ ATTRIBUTE_AUTOSIZE

#define ATTRIBUTE_AUTOSIZE   "autosize"

Definition at line 56 of file statusbardocumenthandler.cxx.

◆ ATTRIBUTE_HELPURL

#define ATTRIBUTE_HELPURL   "helpid"

Definition at line 58 of file statusbardocumenthandler.cxx.

◆ ATTRIBUTE_MANDATORY

#define ATTRIBUTE_MANDATORY   "mandatory"

Definition at line 59 of file statusbardocumenthandler.cxx.

◆ ATTRIBUTE_OFFSET

#define ATTRIBUTE_OFFSET   "offset"

Definition at line 55 of file statusbardocumenthandler.cxx.

◆ ATTRIBUTE_OWNERDRAW

#define ATTRIBUTE_OWNERDRAW   "ownerdraw"

Definition at line 57 of file statusbardocumenthandler.cxx.

◆ ATTRIBUTE_STYLE

#define ATTRIBUTE_STYLE   "style"

Definition at line 52 of file statusbardocumenthandler.cxx.

◆ ATTRIBUTE_URL

#define ATTRIBUTE_URL   "href"

Definition at line 53 of file statusbardocumenthandler.cxx.

◆ ATTRIBUTE_WIDTH

#define ATTRIBUTE_WIDTH   "width"

Definition at line 54 of file statusbardocumenthandler.cxx.

◆ ELEMENT_STATUSBAR

#define ELEMENT_STATUSBAR   "statusbar"

Definition at line 48 of file statusbardocumenthandler.cxx.

◆ ELEMENT_STATUSBARITEM

#define ELEMENT_STATUSBARITEM   "statusbaritem"

Definition at line 49 of file statusbardocumenthandler.cxx.

Variable Documentation

◆ aEntryName

char aEntryName[20]

◆ ATTRIBUTE_ALIGN_CENTER

constexpr OUStringLiteral ATTRIBUTE_ALIGN_CENTER = u"center"
constexpr

◆ ATTRIBUTE_ALIGN_LEFT

constexpr OUStringLiteral ATTRIBUTE_ALIGN_LEFT = u"left"
constexpr

◆ ATTRIBUTE_ALIGN_RIGHT

constexpr OUStringLiteral ATTRIBUTE_ALIGN_RIGHT = u"right"
constexpr

◆ ATTRIBUTE_BOOLEAN_FALSE

constexpr OUStringLiteral ATTRIBUTE_BOOLEAN_FALSE = u"false"
constexpr

◆ ATTRIBUTE_BOOLEAN_TRUE

constexpr OUStringLiteral ATTRIBUTE_BOOLEAN_TRUE = u"true"
constexpr

◆ ATTRIBUTE_STYLE_FLAT

constexpr OUStringLiteral ATTRIBUTE_STYLE_FLAT = u"flat"
constexpr

◆ ATTRIBUTE_STYLE_IN

constexpr OUStringLiteral ATTRIBUTE_STYLE_IN = u"in"
constexpr

◆ ATTRIBUTE_STYLE_OUT

constexpr OUStringLiteral ATTRIBUTE_STYLE_OUT = u"out"
constexpr

◆ ATTRIBUTE_XMLNS_STATUSBAR

constexpr OUStringLiteral ATTRIBUTE_XMLNS_STATUSBAR = u"xmlns:statusbar"
constexpr

◆ ATTRIBUTE_XMLNS_XLINK

constexpr OUStringLiteral ATTRIBUTE_XMLNS_XLINK = u"xmlns:xlink"
constexpr

◆ ELEMENT_NS_STATUSBAR

constexpr OUStringLiteral ELEMENT_NS_STATUSBAR = u"statusbar:statusbar"
constexpr

◆ ELEMENT_NS_STATUSBARITEM

constexpr OUStringLiteral ELEMENT_NS_STATUSBARITEM = u"statusbar:statusbaritem"
constexpr

◆ nNamespace

OReadStatusBarDocumentHandler::StatusBar_XML_Namespace nNamespace

◆ STATUSBAR_DOCTYPE

constexpr OUStringLiteral STATUSBAR_DOCTYPE = u"<!DOCTYPE statusbar:statusbar PUBLIC \"-//OpenOffice.org//DTD OfficeDocument 1.0//EN\" \"statusbar.dtd\">"
constexpr

◆ XMLNS_FILTER_SEPARATOR

constexpr OUStringLiteral XMLNS_FILTER_SEPARATOR = u"^"
constexpr

◆ XMLNS_STATUSBAR

constexpr OUStringLiteral XMLNS_STATUSBAR = u"http://openoffice.org/2001/statusbar"
constexpr

◆ XMLNS_STATUSBAR_PREFIX

constexpr OUStringLiteral XMLNS_STATUSBAR_PREFIX = u"statusbar:"
constexpr

◆ XMLNS_XLINK

constexpr OUStringLiteral XMLNS_XLINK = u"http://www.w3.org/1999/xlink"
constexpr

◆ XMLNS_XLINK_PREFIX

constexpr OUStringLiteral XMLNS_XLINK_PREFIX = u"xlink:"
constexpr