LibreOffice Module framework (master) 1
Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
framework::OReadStatusBarDocumentHandler Class Referencefinal

#include <statusbardocumenthandler.hxx>

Inheritance diagram for framework::OReadStatusBarDocumentHandler:
[legend]
Collaboration diagram for framework::OReadStatusBarDocumentHandler:
[legend]

Classes

class  StatusBarHashMap
 

Public Types

enum  StatusBar_XML_Entry {
  SB_ELEMENT_STATUSBAR ,
  SB_ELEMENT_STATUSBARITEM ,
  SB_ATTRIBUTE_URL ,
  SB_ATTRIBUTE_ALIGN ,
  SB_ATTRIBUTE_STYLE ,
  SB_ATTRIBUTE_AUTOSIZE ,
  SB_ATTRIBUTE_OWNERDRAW ,
  SB_ATTRIBUTE_WIDTH ,
  SB_ATTRIBUTE_OFFSET ,
  SB_ATTRIBUTE_HELPURL ,
  SB_ATTRIBUTE_MANDATORY ,
  SB_XML_ENTRY_COUNT
}
 
enum  StatusBar_XML_Namespace {
  SB_NS_STATUSBAR ,
  SB_NS_XLINK
}
 

Public Member Functions

 OReadStatusBarDocumentHandler (const css::uno::Reference< css::container::XIndexContainer > &aStatusBarItems)
 
virtual ~OReadStatusBarDocumentHandler () override
 
virtual void SAL_CALL startDocument () override
 
virtual void SAL_CALL endDocument () override
 
virtual void SAL_CALL startElement (const OUString &aName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs) override
 
virtual void SAL_CALL endElement (const OUString &aName) override
 
virtual void SAL_CALL characters (const OUString &aChars) override
 
virtual void SAL_CALL ignorableWhitespace (const OUString &aWhitespaces) override
 
virtual void SAL_CALL processingInstruction (const OUString &aTarget, const OUString &aData) override
 
virtual void SAL_CALL setDocumentLocator (const css::uno::Reference< css::xml::sax::XLocator > &xLocator) override
 

Private Member Functions

OUString getErrorLineString ()
 

Private Attributes

bool m_bStatusBarStartFound
 
bool m_bStatusBarItemStartFound
 
StatusBarHashMap m_aStatusBarMap
 
css::uno::Reference< css::container::XIndexContainer > m_aStatusBarItems
 
css::uno::Reference< css::xml::sax::XLocator > m_xLocator
 

Detailed Description

Definition at line 38 of file statusbardocumenthandler.hxx.

Member Enumeration Documentation

◆ StatusBar_XML_Entry

Enumerator
SB_ELEMENT_STATUSBAR 
SB_ELEMENT_STATUSBARITEM 
SB_ATTRIBUTE_URL 
SB_ATTRIBUTE_ALIGN 
SB_ATTRIBUTE_STYLE 
SB_ATTRIBUTE_AUTOSIZE 
SB_ATTRIBUTE_OWNERDRAW 
SB_ATTRIBUTE_WIDTH 
SB_ATTRIBUTE_OFFSET 
SB_ATTRIBUTE_HELPURL 
SB_ATTRIBUTE_MANDATORY 
SB_XML_ENTRY_COUNT 

Definition at line 41 of file statusbardocumenthandler.hxx.

◆ StatusBar_XML_Namespace

Enumerator
SB_NS_STATUSBAR 
SB_NS_XLINK 

Definition at line 57 of file statusbardocumenthandler.hxx.

Constructor & Destructor Documentation

◆ OReadStatusBarDocumentHandler()

framework::OReadStatusBarDocumentHandler::OReadStatusBarDocumentHandler ( const css::uno::Reference< css::container::XIndexContainer > &  aStatusBarItems)

◆ ~OReadStatusBarDocumentHandler()

framework::OReadStatusBarDocumentHandler::~OReadStatusBarDocumentHandler ( )
overridevirtual

Definition at line 174 of file statusbardocumenthandler.cxx.

Member Function Documentation

◆ characters()

void SAL_CALL framework::OReadStatusBarDocumentHandler::characters ( const OUString &  aChars)
overridevirtual

Definition at line 425 of file statusbardocumenthandler.cxx.

◆ endDocument()

void SAL_CALL framework::OReadStatusBarDocumentHandler::endDocument ( )
overridevirtual

Definition at line 183 of file statusbardocumenthandler.cxx.

References Any, getErrorLineString(), and m_bStatusBarStartFound.

◆ endElement()

void SAL_CALL framework::OReadStatusBarDocumentHandler::endElement ( const OUString &  aName)
overridevirtual

◆ getErrorLineString()

OUString framework::OReadStatusBarDocumentHandler::getErrorLineString ( )
private

Definition at line 444 of file statusbardocumenthandler.cxx.

References m_xLocator.

Referenced by endDocument(), endElement(), and startElement().

◆ ignorableWhitespace()

void SAL_CALL framework::OReadStatusBarDocumentHandler::ignorableWhitespace ( const OUString &  aWhitespaces)
overridevirtual

Definition at line 429 of file statusbardocumenthandler.cxx.

◆ processingInstruction()

void SAL_CALL framework::OReadStatusBarDocumentHandler::processingInstruction ( const OUString &  aTarget,
const OUString &  aData 
)
overridevirtual

Definition at line 433 of file statusbardocumenthandler.cxx.

◆ setDocumentLocator()

void SAL_CALL framework::OReadStatusBarDocumentHandler::setDocumentLocator ( const css::uno::Reference< css::xml::sax::XLocator > &  xLocator)
overridevirtual

Definition at line 438 of file statusbardocumenthandler.cxx.

References m_xLocator.

◆ startDocument()

void SAL_CALL framework::OReadStatusBarDocumentHandler::startDocument ( )
overridevirtual

Definition at line 179 of file statusbardocumenthandler.cxx.

◆ startElement()

void SAL_CALL framework::OReadStatusBarDocumentHandler::startElement ( const OUString &  aName,
const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttribs 
)
overridevirtual

Member Data Documentation

◆ m_aStatusBarItems

css::uno::Reference< css::container::XIndexContainer > framework::OReadStatusBarDocumentHandler::m_aStatusBarItems
private

Definition at line 98 of file statusbardocumenthandler.hxx.

Referenced by startElement().

◆ m_aStatusBarMap

StatusBarHashMap framework::OReadStatusBarDocumentHandler::m_aStatusBarMap
private

◆ m_bStatusBarItemStartFound

bool framework::OReadStatusBarDocumentHandler::m_bStatusBarItemStartFound
private

◆ m_bStatusBarStartFound

bool framework::OReadStatusBarDocumentHandler::m_bStatusBarStartFound
private

◆ m_xLocator

css::uno::Reference< css::xml::sax::XLocator > framework::OReadStatusBarDocumentHandler::m_xLocator
private

Definition at line 99 of file statusbardocumenthandler.hxx.

Referenced by getErrorLineString(), and setDocumentLocator().


The documentation for this class was generated from the following files: