61 const css::uno::Reference<css::lang::XComponent>& xModelComponent,
62 css::uno::Reference<css::uno::XComponentContext>
const& rxContext,
63 css::uno::Reference<css::beans::XPropertySet>
const& rPropSet,
64 const char* pFilterName,
bool bEncrypted,
bool bUseHTMLMLEntities);
68 const css::uno::Reference<css::lang::XComponent>& xModelComponent,
69 const char* pStreamName,
70 css::uno::Reference<css::uno::XComponentContext>
const& rxContext,
71 css::uno::Reference<css::beans::XPropertySet>
const& rPropSet,
72 const char* pFilterName,
bool bUseHTMLMLEntities);
84 SmXMLImport(
const css::uno::Reference<css::uno::XComponentContext>& rContext,
92 const css::
uno::Reference<css::xml::
sax::XFastAttributeList>& xAttrList) override;
101 SetViewSettings(
const css::uno::Sequence<css::beans::PropertyValue>& aViewProps)
override;
103 const css::uno::Sequence<css::beans::PropertyValue>& aViewProps)
override;
bool m_bUseHTMLMLEntities
ErrCode Import(SfxMedium &rMedium)
SmXMLImportWrapper(rtl::Reference< SmModel > xRef)
rtl::Reference< SmModel > m_xModel
void useHTMLMLEntities(bool bUseHTMLMLEntities)
static ErrCode ReadThroughComponent(const css::uno::Reference< css::io::XInputStream > &xInputStream, const css::uno::Reference< css::lang::XComponent > &xModelComponent, css::uno::Reference< css::uno::XComponentContext > const &rxContext, css::uno::Reference< css::beans::XPropertySet > const &rPropSet, const char *pFilterName, bool bEncrypted, bool bUseHTMLMLEntities)
static ErrCode ReadThroughComponent(const css::uno::Reference< css::embed::XStorage > &xStorage, const css::uno::Reference< css::lang::XComponent > &xModelComponent, const char *pStreamName, css::uno::Reference< css::uno::XComponentContext > const &rxContext, css::uno::Reference< css::beans::XPropertySet > const &rPropSet, const char *pFilterName, bool bUseHTMLMLEntities)
SmXMLImport(const css::uno::Reference< css::uno::XComponentContext > &rContext, OUString const &implementationName, SvXMLImportFlags nImportFlags)
virtual ~SmXMLImport() noexcept override
const OUString & GetText() const
void SetText(const OUString &rStr)
SvXMLImportContext * CreateFastContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
void SAL_CALL endDocument() override
SmNodeStack & GetNodeStack()
sal_uInt16 GetSmSyntaxVersion() const
virtual void SetViewSettings(const css::uno::Sequence< css::beans::PropertyValue > &aViewProps) override
void SetSmSyntaxVersion(sal_uInt16 nSmSyntaxVersion)
virtual void SetConfigurationSettings(const css::uno::Sequence< css::beans::PropertyValue > &aViewProps) override
sal_uInt16 mnSmSyntaxVersion
std::deque< std::unique_ptr< SmNode > > SmNodeStack
class SAL_NO_VTABLE XPropertySet