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

#include <swblocks.hxx>

Public Member Functions

 SwBlockName (const OUString &rShort, const OUString &rLong)
 Unformatted text. More...
 
 SwBlockName (const OUString &rShort, const OUString &rLong, OUString aPackageName)
 
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() [1/2]

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

Unformatted text.

Definition at line 51 of file swblocks.cxx.

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

◆ SwBlockName() [2/2]

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

Definition at line 59 of file swblocks.cxx.

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

Member Function Documentation

◆ operator<()

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

◆ SwImpBlocks

friend class SwImpBlocks
friend

Definition at line 36 of file swblocks.hxx.

Member Data Documentation

◆ m_aLong

OUString SwBlockName::m_aLong

Shortname.

Definition at line 40 of file swblocks.hxx.

◆ m_aPackageName

OUString SwBlockName::m_aPackageName

Longname.

Definition at line 41 of file swblocks.hxx.

◆ m_aShort

OUString SwBlockName::m_aShort

Definition at line 39 of file swblocks.hxx.

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

◆ m_bIsOnlyText

bool SwBlockName::m_bIsOnlyText

Is the Flag valid?

Definition at line 43 of file swblocks.hxx.

Referenced by SwTextBlocks::IsOnlyTextBlock().

◆ m_bIsOnlyTextFlagInit

bool SwBlockName::m_bIsOnlyTextFlagInit

Package name.

Definition at line 42 of file swblocks.hxx.

Referenced by SwTextBlocks::IsOnlyTextBlock().

◆ m_nHashL

sal_uInt16 SwBlockName::m_nHashL
private

Definition at line 37 of file swblocks.hxx.

Referenced by SwBlockName().

◆ m_nHashS

sal_uInt16 SwBlockName::m_nHashS
private

Definition at line 37 of file swblocks.hxx.

Referenced by SwBlockName().


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