48 css::uno::Reference < css::embed::XStorage >
m_xRoot;
52 void InitBlockMode (
const css::uno::Reference < css::embed::XStorage >& rStorage );
57 SwXMLTextBlocks(
const css::uno::Reference < css::embed::XStorage >&,
const OUString& rFile );
58 void AddName(
const OUString&,
const OUString&,
const OUString&,
bool bOnlyText );
59 virtual void AddName(
const OUString&,
const OUString&,
bool bOnlyText =
false )
override;
63 virtual ErrCode Rename( sal_uInt16,
const OUString& )
override;
69 virtual ErrCode PutText(
const OUString&,
const OUString&,
const OUString& )
override;
94 ErrCode PutBlockText(
const OUString& rShort, std::u16string_view rText,
const OUString& rPackageName );
rtl::Reference< SwDoc > m_xDoc
virtual ErrCode CopyBlock(SwImpBlocks &rImp, OUString &rShort, const OUString &rLong) override
void SetIsTextOnly(const OUString &rShort, bool bNewValue)
virtual bool PutMuchEntries(bool bOn) override
virtual ErrCode MakeBlockList() override
void InitBlockMode(const css::uno::Reference< css::embed::XStorage > &rStorage)
virtual bool IsOnlyTextBlock(const OUString &rShort) const override
SwXMLTextBlocks(const OUString &rFile)
virtual ErrCode PutText(const OUString &, const OUString &, const OUString &) override
css::uno::Reference< css::embed::XStorage > m_xBlkRoot
void MakeBlockText(std::u16string_view rText)
SwXMLTextBlocks(const css::uno::Reference< css::embed::XStorage > &, const OUString &rFile)
static OUString GeneratePackageName(std::u16string_view rShort)
SfxObjectShellRef m_xDocShellRef
virtual void ClearDoc() override
Delete the document's content.
ErrCode GetBlockText(std::u16string_view rShort, OUString &rText)
tools::SvRef< SfxMedium > m_xMedium
virtual ErrCode Rename(sal_uInt16, const OUString &) override
static bool IsFileUCBStorage(const OUString &rFileName)
virtual ErrCode GetMacroTable(sal_uInt16, SvxMacroTableDtor &rMacroTable) override
virtual ErrCode PutDoc() override
virtual ErrCode Delete(sal_uInt16) override
virtual ErrCode SetMacroTable(sal_uInt16 nIdx, const SvxMacroTableDtor &rMacroTable) override
ErrCode GetText(std::u16string_view rShort, OUString &)
ErrCode StartPutBlock(const OUString &rShort, const OUString &rPackageName)
ErrCode PutBlockText(const OUString &rShort, std::u16string_view rText, const OUString &rPackageName)
virtual void CloseFile() override
void AddName(const OUString &, const OUString &, const OUString &, bool bOnlyText)
css::uno::Reference< css::embed::XStorage > m_xRoot
virtual ~SwXMLTextBlocks() override
virtual ErrCode OpenFile(bool bReadOnly=true) override
virtual ErrCode BeginPutDoc(const OUString &, const OUString &) override