LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
SwTextBlocks Class Reference

#include <shellio.hxx>

Collaboration diagram for SwTextBlocks:
[legend]

Public Member Functions

 SwTextBlocks (const OUString &)
 
 ~SwTextBlocks ()
 
SwDocGetDoc ()
 
void ClearDoc ()
 
OUString GetName () const
 
void SetName (const OUString &)
 
ErrCode const & GetError () const
 
OUString GetBaseURL () const
 
void SetBaseURL (const OUString &rURL)
 
sal_uInt16 GetCount () const
 
sal_uInt16 GetIndex (const OUString &) const
 
sal_uInt16 GetLongIndex (std::u16string_view) const
 
OUString GetShortName (sal_uInt16) const
 
OUString GetLongName (sal_uInt16) const
 
bool Delete (sal_uInt16)
 
void Rename (sal_uInt16, const OUString *, const OUString *)
 
bool BeginGetDoc (sal_uInt16)
 
void EndGetDoc ()
 
bool BeginPutDoc (const OUString &, const OUString &)
 
sal_uInt16 PutDoc ()
 
sal_uInt16 PutText (const OUString &, const OUString &, const OUString &)
 
bool IsOnlyTextBlock (sal_uInt16) const
 
bool IsOnlyTextBlock (const OUString &rShort) const
 
OUString const & GetFileName () const
 
bool IsReadOnly () const
 
bool GetMacroTable (sal_uInt16 nIdx, SvxMacroTableDtor &rMacroTable)
 
bool SetMacroTable (sal_uInt16 nIdx, const SvxMacroTableDtor &rMacroTable)
 
bool StartPutMuchBlockEntries ()
 
void EndPutMuchBlockEntries ()
 

Private Attributes

std::unique_ptr< SwImpBlocksm_pImp
 
ErrCode m_nErr
 

Detailed Description

Definition at line 304 of file shellio.hxx.

Constructor & Destructor Documentation

◆ SwTextBlocks()

SwTextBlocks::SwTextBlocks ( const OUString &  rFile)

◆ ~SwTextBlocks()

SwTextBlocks::~SwTextBlocks ( )

Definition at line 241 of file swblocks.cxx.

Member Function Documentation

◆ BeginGetDoc()

bool SwTextBlocks::BeginGetDoc ( sal_uInt16  n)

◆ BeginPutDoc()

bool SwTextBlocks::BeginPutDoc ( const OUString &  s,
const OUString &  l 
)

◆ ClearDoc()

void SwTextBlocks::ClearDoc ( )

◆ Delete()

bool SwTextBlocks::Delete ( sal_uInt16  n)

Definition at line 285 of file swblocks.cxx.

References ERR_TXTBLOCK_NEWFILE_ERROR, ERRCODE_NONE, m_nErr, m_pImp, and n.

Referenced by SwGlossaryHdl::DelGlossary().

◆ EndGetDoc()

void SwTextBlocks::EndGetDoc ( )

Definition at line 369 of file swblocks.cxx.

References m_pImp.

Referenced by SwAutoCorrDoc::ChgAutoCorrWord(), and SwDoc::InsertGlossary().

◆ EndPutMuchBlockEntries()

void SwTextBlocks::EndPutMuchBlockEntries ( )

Definition at line 553 of file swblocks.cxx.

References m_pImp.

Referenced by WW8Glossary::Load(), and SwDOCXReader::ReadGlossaries().

◆ GetBaseURL()

OUString SwTextBlocks::GetBaseURL ( ) const

Definition at line 559 of file swblocks.cxx.

References m_pImp.

Referenced by WW8Glossary::Load(), SwDOCXReader::MakeEntries(), and WW8Glossary::MakeEntries().

◆ GetCount()

sal_uInt16 SwTextBlocks::GetCount ( ) const

Definition at line 256 of file swblocks.cxx.

References m_pImp.

◆ GetDoc()

SwDoc * SwTextBlocks::GetDoc ( )

◆ GetError()

ErrCode const & SwTextBlocks::GetError ( ) const
inline

Definition at line 317 of file shellio.hxx.

Referenced by SwGlossaryHdl::Rename(), and SwGlossaryHdl::SetMacros().

◆ GetFileName()

OUString const & SwTextBlocks::GetFileName ( ) const

◆ GetIndex()

sal_uInt16 SwTextBlocks::GetIndex ( const OUString &  r) const

◆ GetLongIndex()

sal_uInt16 SwTextBlocks::GetLongIndex ( std::u16string_view  r) const

Definition at line 266 of file swblocks.cxx.

References m_pImp.

Referenced by SwGlossaryHdl::GetGlossaryShortName(), and SwGlossaryHdl::Rename().

◆ GetLongName()

OUString SwTextBlocks::GetLongName ( sal_uInt16  n) const

Definition at line 278 of file swblocks.cxx.

References m_pImp, and n.

◆ GetMacroTable()

bool SwTextBlocks::GetMacroTable ( sal_uInt16  nIdx,
SvxMacroTableDtor rMacroTable 
)

Definition at line 529 of file swblocks.cxx.

References ERRCODE_NONE, and m_pImp.

Referenced by SwGlossaryHdl::GetMacros().

◆ GetName()

OUString SwTextBlocks::GetName ( ) const

Definition at line 245 of file swblocks.cxx.

References m_pImp.

◆ GetShortName()

OUString SwTextBlocks::GetShortName ( sal_uInt16  n) const

Definition at line 271 of file swblocks.cxx.

References m_pImp, and n.

Referenced by SwGlossaryHdl::GetGlossaryShortName().

◆ IsOnlyTextBlock() [1/2]

bool SwTextBlocks::IsOnlyTextBlock ( const OUString &  rShort) const

Definition at line 515 of file swblocks.cxx.

References IsOnlyTextBlock(), and m_pImp.

◆ IsOnlyTextBlock() [2/2]

bool SwTextBlocks::IsOnlyTextBlock ( sal_uInt16  nIdx) const

◆ IsReadOnly()

bool SwTextBlocks::IsReadOnly ( ) const

Definition at line 492 of file swblocks.cxx.

References m_pImp.

Referenced by SwGlossaryHdl::IsReadOnly().

◆ PutDoc()

sal_uInt16 SwTextBlocks::PutDoc ( )

◆ PutText()

sal_uInt16 SwTextBlocks::PutText ( const OUString &  rShort,
const OUString &  rName,
const OUString &  rText 
)

◆ Rename()

void SwTextBlocks::Rename ( sal_uInt16  n,
const OUString *  s,
const OUString *  l 
)

◆ SetBaseURL()

void SwTextBlocks::SetBaseURL ( const OUString &  rURL)

◆ SetMacroTable()

bool SwTextBlocks::SetMacroTable ( sal_uInt16  nIdx,
const SvxMacroTableDtor rMacroTable 
)

Definition at line 537 of file swblocks.cxx.

References ERRCODE_NONE, and m_pImp.

Referenced by SwGlossaryHdl::SetMacros().

◆ SetName()

void SwTextBlocks::SetName ( const OUString &  r)

Definition at line 250 of file swblocks.cxx.

References m_pImp.

Referenced by SwGlossaries::RenameGroupDoc().

◆ StartPutMuchBlockEntries()

bool SwTextBlocks::StartPutMuchBlockEntries ( )

Definition at line 545 of file swblocks.cxx.

References m_pImp.

Referenced by WW8Glossary::Load(), and SwDOCXReader::ReadGlossaries().

Member Data Documentation

◆ m_nErr

ErrCode SwTextBlocks::m_nErr
private

Definition at line 307 of file shellio.hxx.

Referenced by BeginGetDoc(), BeginPutDoc(), Delete(), PutDoc(), PutText(), Rename(), and SwTextBlocks().

◆ m_pImp

std::unique_ptr<SwImpBlocks> SwTextBlocks::m_pImp
private

The documentation for this class was generated from the following files: