LibreOffice Module sc (master) 1
|
#include <XMLDDELinksContext.hxx>
Public Member Functions | |
ScXMLDDELinkContext (ScXMLImport &rImport) | |
virtual | ~ScXMLDDELinkContext () 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 |
void | SetApplication (const OUString &sValue) |
void | SetTopic (const OUString &sValue) |
void | SetItem (const OUString &sValue) |
void | SetMode (const sal_uInt8 nValue) |
void | CreateDDELink () |
void | AddColumns (const sal_Int32 nValue) |
void | AddRows (const sal_Int32 nValue) |
void | AddCellToRow (const ScDDELinkCell &aCell) |
void | AddRowsToTable (const sal_Int32 nRows) |
virtual void SAL_CALL | endFastElement (sal_Int32 nElement) override |
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 | |
ScDDELinkCells | aDDELinkTable |
ScDDELinkCells | aDDELinkRow |
OUString | sApplication |
OUString | sTopic |
OUString | sItem |
sal_Int32 | nPosition |
sal_Int32 | nColumns |
sal_Int32 | nRows |
sal_uInt8 | nMode |
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 48 of file XMLDDELinksContext.hxx.
ScXMLDDELinkContext::ScXMLDDELinkContext | ( | ScXMLImport & | rImport | ) |
Definition at line 56 of file XMLDDELinksContext.cxx.
|
overridevirtual |
Definition at line 66 of file XMLDDELinksContext.cxx.
void ScXMLDDELinkContext::AddCellToRow | ( | const ScDDELinkCell & | aCell | ) |
Definition at line 109 of file XMLDDELinksContext.cxx.
References aDDELinkRow.
Referenced by ScXMLDDECellContext::endFastElement().
|
inline |
Definition at line 73 of file XMLDDELinksContext.hxx.
References nColumns, and nValue.
Referenced by ScXMLDDEColumnContext::ScXMLDDEColumnContext().
|
inline |
Definition at line 74 of file XMLDDELinksContext.hxx.
Referenced by ScXMLDDERowContext::ScXMLDDERowContext().
void ScXMLDDELinkContext::AddRowsToTable | ( | const sal_Int32 | nRows | ) |
Definition at line 114 of file XMLDDELinksContext.cxx.
References aDDELinkRow, aDDELinkTable, and i.
Referenced by ScXMLDDERowContext::endFastElement().
void ScXMLDDELinkContext::CreateDDELink | ( | ) |
Definition at line 90 of file XMLDDELinksContext.cxx.
References ScDocument::CreateDdeLink(), ScXMLImport::GetDocument(), ScXMLImportContext::GetScImport(), nMode, nPos, nPosition, SAL_WARN, sApplication, sItem, and sTopic.
Referenced by ScXMLDDESourceContext::endFastElement().
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 70 of file XMLDDELinksContext.cxx.
References sax_fastparser::castToFastAttributeList(), ScXMLImportContext::GetScImport(), OFFICE, TABLE, XML_DDE_SOURCE, XML_ELEMENT, and XML_TABLE.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 121 of file XMLDDELinksContext.cxx.
References aDDELinkTable, ScXMLImport::GetDocument(), ScXMLImportContext::GetScImport(), ScDocument::GetSharedStringPool(), svl::SharedStringPool::intern(), nColumns, nIndex, nPosition, nRows, and ScDocument::SetDdeLinkResultMatrix().
|
inline |
Definition at line 68 of file XMLDDELinksContext.hxx.
References sApplication.
Referenced by ScXMLDDESourceContext::ScXMLDDESourceContext().
|
inline |
Definition at line 70 of file XMLDDELinksContext.hxx.
References sItem.
Referenced by ScXMLDDESourceContext::ScXMLDDESourceContext().
|
inline |
Definition at line 71 of file XMLDDELinksContext.hxx.
Referenced by ScXMLDDESourceContext::ScXMLDDESourceContext().
|
inline |
Definition at line 69 of file XMLDDELinksContext.hxx.
References sTopic.
Referenced by ScXMLDDESourceContext::ScXMLDDESourceContext().
|
private |
Definition at line 51 of file XMLDDELinksContext.hxx.
Referenced by AddCellToRow(), and AddRowsToTable().
|
private |
Definition at line 50 of file XMLDDELinksContext.hxx.
Referenced by AddRowsToTable(), and endFastElement().
|
private |
Definition at line 56 of file XMLDDELinksContext.hxx.
Referenced by AddColumns(), and endFastElement().
|
private |
Definition at line 58 of file XMLDDELinksContext.hxx.
Referenced by CreateDDELink(), and SetMode().
|
private |
Definition at line 55 of file XMLDDELinksContext.hxx.
Referenced by CreateDDELink(), and endFastElement().
|
private |
Definition at line 57 of file XMLDDELinksContext.hxx.
Referenced by AddRows(), and endFastElement().
|
private |
Definition at line 52 of file XMLDDELinksContext.hxx.
Referenced by CreateDDELink(), and SetApplication().
|
private |
Definition at line 54 of file XMLDDELinksContext.hxx.
Referenced by CreateDDELink(), and SetItem().
|
private |
Definition at line 53 of file XMLDDELinksContext.hxx.
Referenced by CreateDDELink(), and SetTopic().