LibreOffice Module sc (master) 1
|
#include <xmlannoi.hxx>
Public Member Functions | |
ScXMLAnnotationContext (ScXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, ScXMLAnnotationData &rAnnotationData) | |
virtual | ~ScXMLAnnotationContext () override |
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL | createFastChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override |
virtual void SAL_CALL | startFastElement (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override |
virtual void SAL_CALL | characters (const OUString &rChars) override |
virtual void SAL_CALL | endFastElement (sal_Int32 nElement) override |
void | SetShape (const css::uno::Reference< css::drawing::XShape > &rxShape, const css::uno::Reference< css::drawing::XShapes > &rxShapes, const OUString &rStyleName, const OUString &rTextStyle) |
void | AddContentStyle (XmlStyleFamily nFamily, const OUString &rName, const ESelection &rSelection) |
Public Member Functions inherited from ScXMLImportContext | |
ScXMLImportContext (SvXMLImport &rImport) | |
Public Member Functions inherited from SvXMLImportContext | |
SvXMLImportContext (SvXMLImport &rImport) | |
virtual | ~SvXMLImportContext () |
virtual void SAL_CALL | startFastElement (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | endFastElement (sal_Int32 Element) override |
virtual void SAL_CALL | endUnknownElement (const OUString &Namespace, const OUString &Name) override |
virtual css::uno::Reference< XFastContextHandler > SAL_CALL | createFastChildContext (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL | createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | characters (const OUString &aChars) override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &aType) final override |
virtual void SAL_CALL | acquire () noexcept final override |
virtual void SAL_CALL | release () noexcept final override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () final override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () final override |
Private Attributes | |
ScXMLAnnotationData & | mrAnnotationData |
OUStringBuffer | maTextBuffer |
OUStringBuffer | maAuthorBuffer |
OUStringBuffer | maCreateDateBuffer |
OUStringBuffer | maCreateDateStringBuffer |
std::unique_ptr< SvXMLImportContext > | pShapeContext |
Additional Inherited Members | |
Protected Member Functions inherited from ScXMLImportContext | |
ScXMLImport & | GetScImport () |
const ScXMLImport & | GetScImport () const |
Protected Member Functions inherited from SvXMLImportContext | |
SvXMLImport & | GetImport () |
const SvXMLImport & | GetImport () const |
Definition at line 67 of file xmlannoi.hxx.
ScXMLAnnotationContext::ScXMLAnnotationContext | ( | ScXMLImport & | rImport, |
sal_Int32 | nElement, | ||
const css::uno::Reference< css::xml::sax::XFastAttributeList > & | xAttrList, | ||
ScXMLAnnotationData & | rAnnotationData | ||
) |
Definition at line 41 of file xmlannoi.cxx.
References sax_fastparser::castToFastAttributeList(), XMLShapeImportHelper::CreateGroupChildContext(), ScXMLImportContext::GetScImport(), IsXMLToken(), maAuthorBuffer, maCreateDateBuffer, maCreateDateStringBuffer, ScXMLAnnotationData::mbShown, ScXMLAnnotationData::mbUseShapePos, mrAnnotationData, OFFICE, pShapeContext, XMLTableShapeImportHelper::SetAnnotation(), SVG, XML_AUTHOR, XML_CREATE_DATE, XML_CREATE_DATE_STRING, XML_DISPLAY, XML_ELEMENT, XML_TRUE, XML_X, XML_Y, and XMLOFF_WARN_UNKNOWN.
|
overridevirtual |
Definition at line 99 of file xmlannoi.cxx.
void ScXMLAnnotationContext::AddContentStyle | ( | XmlStyleFamily | nFamily, |
const OUString & | rName, | ||
const ESelection & | rSelection | ||
) |
Definition at line 166 of file xmlannoi.cxx.
References ScXMLAnnotationData::maContentStyles, and mrAnnotationData.
Referenced by ScCellTextStyleContext::FillPropertySet().
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 134 of file xmlannoi.cxx.
References maTextBuffer.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 109 of file xmlannoi.cxx.
References ScXMLImportContext::GetScImport(), maAuthorBuffer, maCreateDateBuffer, maCreateDateStringBuffer, META, p, pShapeContext, XML_CREATOR, XML_DATE, XML_DATE_STRING, XML_ELEMENT, and XMLOFF_WARN_UNKNOWN_ELEMENT.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 139 of file xmlannoi.cxx.
References ScXMLImportContext::GetScImport(), ScXMLAnnotationData::maAuthor, maAuthorBuffer, ScXMLAnnotationData::maCreateDate, maCreateDateBuffer, maCreateDateStringBuffer, ScXMLAnnotationData::maSimpleText, maTextBuffer, mrAnnotationData, pShapeContext, and XMLTableShapeImportHelper::SetAnnotation().
void ScXMLAnnotationContext::SetShape | ( | const css::uno::Reference< css::drawing::XShape > & | rxShape, |
const css::uno::Reference< css::drawing::XShapes > & | rxShapes, | ||
const OUString & | rStyleName, | ||
const OUString & | rTextStyle | ||
) |
Definition at line 157 of file xmlannoi.cxx.
References ScXMLAnnotationData::maStyleName, ScXMLAnnotationData::maTextStyle, mrAnnotationData, ScXMLAnnotationData::mxShape, and ScXMLAnnotationData::mxShapes.
Referenced by XMLTableShapeImportHelper::finishShape().
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 103 of file xmlannoi.cxx.
References pShapeContext.
|
private |
Definition at line 98 of file xmlannoi.hxx.
Referenced by createFastChildContext(), endFastElement(), and ScXMLAnnotationContext().
|
private |
Definition at line 99 of file xmlannoi.hxx.
Referenced by createFastChildContext(), endFastElement(), and ScXMLAnnotationContext().
|
private |
Definition at line 100 of file xmlannoi.hxx.
Referenced by createFastChildContext(), endFastElement(), and ScXMLAnnotationContext().
|
private |
Definition at line 97 of file xmlannoi.hxx.
Referenced by characters(), and endFastElement().
|
private |
Definition at line 96 of file xmlannoi.hxx.
Referenced by AddContentStyle(), endFastElement(), ScXMLAnnotationContext(), and SetShape().
|
private |
Definition at line 101 of file xmlannoi.hxx.
Referenced by createFastChildContext(), endFastElement(), ScXMLAnnotationContext(), and startFastElement().