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 (const OUString &) 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< SwImpBlockspImp
 
ErrCode nErr
 

Detailed Description

Definition at line 304 of file shellio.hxx.

Constructor & Destructor Documentation

SwTextBlocks::SwTextBlocks ( const OUString &  rFile)
SwTextBlocks::~SwTextBlocks ( )

Definition at line 238 of file swblocks.cxx.

Member Function Documentation

bool SwTextBlocks::BeginGetDoc ( sal_uInt16  n)

Definition at line 346 of file swblocks.cxx.

References ERR_TXTBLOCK_NEWFILE_ERROR, ERRCODE_NONE, nErr, pImp, and USHRT_MAX.

Referenced by SwDoc::InsertGlossary().

bool SwTextBlocks::BeginPutDoc ( const OUString &  s,
const OUString &  l 
)
void SwTextBlocks::ClearDoc ( )
bool SwTextBlocks::Delete ( sal_uInt16  n)

Definition at line 282 of file swblocks.cxx.

References ERR_TXTBLOCK_NEWFILE_ERROR, ERRCODE_NONE, nErr, pImp, and USHRT_MAX.

Referenced by SwGlossaryHdl::DelGlossary().

void SwTextBlocks::EndGetDoc ( )

Definition at line 366 of file swblocks.cxx.

References pImp.

Referenced by SwDoc::InsertGlossary().

void SwTextBlocks::EndPutMuchBlockEntries ( )

Definition at line 550 of file swblocks.cxx.

References pImp.

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

OUString SwTextBlocks::GetBaseURL ( ) const

Definition at line 556 of file swblocks.cxx.

References pImp.

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

sal_uInt16 SwTextBlocks::GetCount ( ) const

Definition at line 253 of file swblocks.cxx.

References pImp.

SwDoc * SwTextBlocks::GetDoc ( )
ErrCode const& SwTextBlocks::GetError ( ) const
inline

Definition at line 317 of file shellio.hxx.

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

OUString const & SwTextBlocks::GetFileName ( ) const

Definition at line 484 of file swblocks.cxx.

References pImp.

Referenced by WW8Glossary::MakeEntries(), SwEditShell::MakeGlossary(), and SwEditShell::SaveGlossaryDoc().

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

Definition at line 263 of file swblocks.cxx.

References pImp, and USHRT_MAX.

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

OUString SwTextBlocks::GetLongName ( sal_uInt16  n) const

Definition at line 275 of file swblocks.cxx.

References pImp.

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

Definition at line 526 of file swblocks.cxx.

References ERRCODE_NONE, and pImp.

Referenced by SwGlossaryHdl::GetMacros().

OUString SwTextBlocks::GetName ( ) const

Definition at line 242 of file swblocks.cxx.

References pImp.

OUString SwTextBlocks::GetShortName ( sal_uInt16  n) const

Definition at line 268 of file swblocks.cxx.

References pImp.

Referenced by SwGlossaryHdl::GetGlossaryShortName().

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

Definition at line 512 of file swblocks.cxx.

References IsOnlyTextBlock(), pImp, and USHRT_MAX.

bool SwTextBlocks::IsReadOnly ( ) const

Definition at line 489 of file swblocks.cxx.

References pImp.

Referenced by SwGlossaryHdl::IsReadOnly().

sal_uInt16 SwTextBlocks::PutDoc ( )
sal_uInt16 SwTextBlocks::PutText ( const OUString &  rShort,
const OUString &  rName,
const OUString &  rText 
)
void SwTextBlocks::Rename ( sal_uInt16  n,
const OUString *  s,
const OUString *  l 
)
void SwTextBlocks::SetBaseURL ( const OUString &  rURL)
bool SwTextBlocks::SetMacroTable ( sal_uInt16  nIdx,
const SvxMacroTableDtor rMacroTable 
)

Definition at line 534 of file swblocks.cxx.

References ERRCODE_NONE, and pImp.

Referenced by SwGlossaryHdl::SetMacros().

void SwTextBlocks::SetName ( const OUString &  r)

Definition at line 247 of file swblocks.cxx.

References pImp.

bool SwTextBlocks::StartPutMuchBlockEntries ( )

Definition at line 542 of file swblocks.cxx.

References pImp.

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

Member Data Documentation

ErrCode SwTextBlocks::nErr
private

Definition at line 307 of file shellio.hxx.

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

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

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