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

#include <imagesdocumenthandler.hxx>

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

Classes

class  ImageHashMap
 

Public Types

enum  Image_XML_Entry {
  IMG_ELEMENT_IMAGECONTAINER ,
  IMG_ELEMENT_IMAGES ,
  IMG_ELEMENT_ENTRY ,
  IMG_ELEMENT_EXTERNALIMAGES ,
  IMG_ELEMENT_EXTERNALENTRY ,
  IMG_ATTRIBUTE_HREF ,
  IMG_ATTRIBUTE_MASKCOLOR ,
  IMG_ATTRIBUTE_COMMAND ,
  IMG_ATTRIBUTE_BITMAPINDEX ,
  IMG_ATTRIBUTE_MASKURL ,
  IMG_ATTRIBUTE_MASKMODE ,
  IMG_ATTRIBUTE_HIGHCONTRASTURL ,
  IMG_ATTRIBUTE_HIGHCONTRASTMASKURL ,
  IMG_XML_ENTRY_COUNT
}
 
enum  Image_XML_Namespace {
  IMG_NS_IMAGE ,
  IMG_NS_XLINK
}
 

Public Member Functions

 OReadImagesDocumentHandler (ImageItemDescriptorList &aItems)
 
virtual ~OReadImagesDocumentHandler () 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_bImageContainerStartFound
 
bool m_bImageContainerEndFound
 
bool m_bImagesStartFound
 
ImageHashMap m_aImageMap
 
ImageItemDescriptorListm_rImageList
 
css::uno::Reference< css::xml::sax::XLocator > m_xLocator
 

Detailed Description

Definition at line 34 of file imagesdocumenthandler.hxx.

Member Enumeration Documentation

◆ Image_XML_Entry

Enumerator
IMG_ELEMENT_IMAGECONTAINER 
IMG_ELEMENT_IMAGES 
IMG_ELEMENT_ENTRY 
IMG_ELEMENT_EXTERNALIMAGES 
IMG_ELEMENT_EXTERNALENTRY 
IMG_ATTRIBUTE_HREF 
IMG_ATTRIBUTE_MASKCOLOR 
IMG_ATTRIBUTE_COMMAND 
IMG_ATTRIBUTE_BITMAPINDEX 
IMG_ATTRIBUTE_MASKURL 
IMG_ATTRIBUTE_MASKMODE 
IMG_ATTRIBUTE_HIGHCONTRASTURL 
IMG_ATTRIBUTE_HIGHCONTRASTMASKURL 
IMG_XML_ENTRY_COUNT 

Definition at line 37 of file imagesdocumenthandler.hxx.

◆ Image_XML_Namespace

Enumerator
IMG_NS_IMAGE 
IMG_NS_XLINK 

Definition at line 55 of file imagesdocumenthandler.hxx.

Constructor & Destructor Documentation

◆ OReadImagesDocumentHandler()

framework::OReadImagesDocumentHandler::OReadImagesDocumentHandler ( ImageItemDescriptorList aItems)

◆ ~OReadImagesDocumentHandler()

framework::OReadImagesDocumentHandler::~OReadImagesDocumentHandler ( )
overridevirtual

Definition at line 120 of file imagesdocumenthandler.cxx.

Member Function Documentation

◆ characters()

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

Definition at line 250 of file imagesdocumenthandler.cxx.

◆ endDocument()

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

◆ endElement()

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

◆ getErrorLineString()

OUString framework::OReadImagesDocumentHandler::getErrorLineString ( )
private

Definition at line 269 of file imagesdocumenthandler.cxx.

References m_xLocator.

Referenced by endDocument(), and startElement().

◆ ignorableWhitespace()

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

Definition at line 254 of file imagesdocumenthandler.cxx.

◆ processingInstruction()

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

Definition at line 258 of file imagesdocumenthandler.cxx.

◆ setDocumentLocator()

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

Definition at line 263 of file imagesdocumenthandler.cxx.

References m_xLocator.

◆ startDocument()

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

Definition at line 125 of file imagesdocumenthandler.cxx.

◆ startElement()

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

Member Data Documentation

◆ m_aImageMap

ImageHashMap framework::OReadImagesDocumentHandler::m_aImageMap
private

Definition at line 95 of file imagesdocumenthandler.hxx.

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

◆ m_bImageContainerEndFound

bool framework::OReadImagesDocumentHandler::m_bImageContainerEndFound
private

Definition at line 93 of file imagesdocumenthandler.hxx.

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

◆ m_bImageContainerStartFound

bool framework::OReadImagesDocumentHandler::m_bImageContainerStartFound
private

Definition at line 92 of file imagesdocumenthandler.hxx.

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

◆ m_bImagesStartFound

bool framework::OReadImagesDocumentHandler::m_bImagesStartFound
private

Definition at line 94 of file imagesdocumenthandler.hxx.

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

◆ m_rImageList

ImageItemDescriptorList& framework::OReadImagesDocumentHandler::m_rImageList
private

Definition at line 96 of file imagesdocumenthandler.hxx.

Referenced by startElement().

◆ m_xLocator

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

Definition at line 97 of file imagesdocumenthandler.hxx.

Referenced by getErrorLineString(), and setDocumentLocator().


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