22 #include <oox/token/namespaces.hxx>
41 if( nElement == XLS_TOKEN( webPr ) )
48 case XLS_TOKEN( webPr ):
49 if( nElement == XLS_TOKEN( tables ) )
56 case XLS_TOKEN( tables ):
143 static const RecordInfo spRecInfos[] =
Helper class to provide access to global workbook data.
const sal_Int32 BIFF12_ID_CONNECTION
SQLExceptionInfo createConnection(const OUString &_rsDataSourceName, const Reference< css::container::XNameAccess > &_xDatabaseContext, const Reference< css::uno::XComponentContext > &_rxContext, Reference< css::lang::XEventListener > const &_rEvtLst, Reference< css::sdbc::XConnection > &_rOUTConnection)
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
virtual const ::oox::core::RecordInfo * getRecordInfos() const override
void importWebPrTables(SequenceInputStream &rStrm)
Imports web query table settings from the WEBPRTABLES record.
virtual void onStartRecord(SequenceInputStream &rStrm) override
Fragment handler derived from the WorkbookHelper helper class.
const sal_Int32 BIFF12_ID_WEBPR
exports com.sun.star. connection
ConnectionsFragment(const WorkbookHelper &rHelper, const OUString &rFragmentPath)
An external data connection (database, web query, etc.).
virtual ::oox::core::ContextHandlerRef onCreateRecordContext(sal_Int32 nRecId, SequenceInputStream &rStrm) override
virtual ::oox::core::ContextHandlerRef onCreateRecordContext(sal_Int32 nRecId, SequenceInputStream &rStrm) override
sal_Int32 getCurrentElement() const
void finalizeImport()
Maps all connections by their identifier.
void importWebPr(const AttributeList &rAttribs)
Imports web query settings from the webPr element.
void importConnection(const AttributeList &rAttribs)
Imports connection settings from the connection element.
exports com.sun.star.comp. connections
void importWebPrTable(SequenceInputStream &rStrm, sal_Int32 nRecId)
Imports a web query table identifier from the PCITEM_MISSING, PCITEM_STRING, or PCITEM_INDEX record...
void importTables()
Imports web query table settings from the tables element.
Context handler derived from the WorkbookHelper helper class.
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
virtual void finalizeImport() override
void importTable(const AttributeList &rAttribs, sal_Int32 nElement)
Imports a web query table identifier from the m, s, or x element.
const sal_Int32 BIFF12_ID_CONNECTIONS
ConnectionsBuffer & getConnections() const
Returns the collection of external data connections.
Connection & mrConnection
const sal_Int32 XML_ROOT_CONTEXT
dgm::Connections & mrConnection
ConnectionContext(WorkbookFragmentBase &rParent, Connection &rConnection)
const sal_Int32 BIFF12_ID_WEBPRTABLES
virtual void onStartElement(const AttributeList &rAttribs) override