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 const aShort
 
OUString aLong
 Shortname. More...
 
OUString const aPackageName
 Longname. More...
 
bool bIsOnlyTextFlagInit: 1
 Package name. More...
 
bool bIsOnlyText: 1
 Is the Flag valid? More...
 

Private Attributes

sal_uInt16 nHashS
 
sal_uInt16 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 58 of file swblocks.cxx.

References SwImpBlocks::Hash(), nHashL, and nHashS.

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

Definition at line 66 of file swblocks.cxx.

References SwImpBlocks::Hash(), nHashL, and 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 aShort.

Friends And Related Function Documentation

friend class SwImpBlocks
friend

Definition at line 36 of file swblocks.hxx.

Member Data Documentation

OUString SwBlockName::aLong

Shortname.

Definition at line 40 of file swblocks.hxx.

Referenced by SwImpBlocks::GetLongIndex().

OUString const SwBlockName::aPackageName

Longname.

Definition at line 41 of file swblocks.hxx.

OUString const SwBlockName::aShort

Definition at line 39 of file swblocks.hxx.

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

bool SwBlockName::bIsOnlyText

Is the Flag valid?

Definition at line 43 of file swblocks.hxx.

Referenced by SwTextBlocks::IsOnlyTextBlock().

bool SwBlockName::bIsOnlyTextFlagInit

Package name.

Definition at line 42 of file swblocks.hxx.

Referenced by SwTextBlocks::IsOnlyTextBlock().

sal_uInt16 SwBlockName::nHashL
private

Definition at line 37 of file swblocks.hxx.

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

sal_uInt16 SwBlockName::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: