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

#include <swblocks.hxx>

Collaboration diagram for SwBlockName:
[legend]

Public Member Functions

 SwBlockName (const OUString &rShort, const OUString &rLong)
 Unformatted text. More...
 
 SwBlockName (const OUString &rShort, const OUString &rLong, const OUString &rPackageName)
 
bool operator< (const SwBlockName &r) const
 For sorting in the array. More...
 

Public Attributes

OUString m_aShort
 
OUString m_aLong
 Shortname. More...
 
OUString m_aPackageName
 Longname. More...
 
bool m_bIsOnlyTextFlagInit: 1
 Package name. More...
 
bool m_bIsOnlyText: 1
 Is the Flag valid? More...
 

Private Attributes

sal_uInt16 m_nHashS
 
sal_uInt16 m_nHashL
 

Friends

class SwImpBlocks
 

Detailed Description

Definition at line 34 of file swblocks.hxx.

Constructor & Destructor Documentation

SwBlockName::SwBlockName ( const OUString &  rShort,
const OUString &  rLong 
)

Unformatted text.

Definition at line 50 of file swblocks.cxx.

References SwImpBlocks::Hash(), m_nHashL, and m_nHashS.

SwBlockName::SwBlockName ( const OUString &  rShort,
const OUString &  rLong,
const OUString &  rPackageName 
)

Definition at line 58 of file swblocks.cxx.

References SwImpBlocks::Hash(), m_nHashL, and m_nHashS.

Member Function Documentation

bool SwBlockName::operator< ( const SwBlockName r) const
inline

For sorting in the array.

Definition at line 49 of file swblocks.hxx.

References m_aShort.

Friends And Related Function Documentation

friend class SwImpBlocks
friend

Definition at line 36 of file swblocks.hxx.

Member Data Documentation

OUString SwBlockName::m_aLong

Shortname.

Definition at line 40 of file swblocks.hxx.

Referenced by SwImpBlocks::GetLongIndex().

OUString SwBlockName::m_aPackageName

Longname.

Definition at line 41 of file swblocks.hxx.

OUString SwBlockName::m_aShort

Definition at line 39 of file swblocks.hxx.

Referenced by SwImpBlocks::GetIndex(), SwTextBlocks::IsOnlyTextBlock(), and operator<().

bool SwBlockName::m_bIsOnlyText

Is the Flag valid?

Definition at line 43 of file swblocks.hxx.

Referenced by SwTextBlocks::IsOnlyTextBlock().

bool SwBlockName::m_bIsOnlyTextFlagInit

Package name.

Definition at line 42 of file swblocks.hxx.

Referenced by SwTextBlocks::IsOnlyTextBlock().

sal_uInt16 SwBlockName::m_nHashL
private

Definition at line 37 of file swblocks.hxx.

Referenced by SwImpBlocks::GetLongIndex(), and SwBlockName().

sal_uInt16 SwBlockName::m_nHashS
private

Definition at line 37 of file swblocks.hxx.

Referenced by SwImpBlocks::GetIndex(), and SwBlockName().


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