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

#include <wrong.hxx>

Collaboration diagram for SwWrongArea:
[legend]

Public Member Functions

 SwWrongArea (const OUString &rType, WrongListType listType, css::uno::Reference< css::container::XStringKeyMap > const &xPropertyBag, sal_Int32 nPos, sal_Int32 nLen)
 
 SwWrongArea (const OUString &rType, css::uno::Reference< css::container::XStringKeyMap > const &xPropertyBag, sal_Int32 nPos, sal_Int32 nLen, SwWrongList *pSubList)
 

Public Attributes

OUString maType
 
sal_Int32 mnPos
 
sal_Int32 mnLen
 
SwWrongListmpSubList
 
Color mColor
 
WrongAreaLineType mLineType
 

Static Private Member Functions

static Color getGrammarColor (css::uno::Reference< css::container::XStringKeyMap > const &xPropertyBag)
 
static WrongAreaLineType getGrammarLineType (css::uno::Reference< css::container::XStringKeyMap > const &xPropertyBag)
 
static Color getSmartColor (css::uno::Reference< css::container::XStringKeyMap > const &xPropertyBag)
 
static WrongAreaLineType getSmartLineType (css::uno::Reference< css::container::XStringKeyMap > const &xPropertyBag)
 
static Color getWrongAreaColor (WrongListType listType, css::uno::Reference< css::container::XStringKeyMap > const &xPropertyBag)
 
static WrongAreaLineType getWrongAreaLineType (WrongListType listType, css::uno::Reference< css::container::XStringKeyMap > const &xPropertyBag)
 

Detailed Description

Definition at line 66 of file wrong.hxx.

Constructor & Destructor Documentation

SwWrongArea::SwWrongArea ( const OUString &  rType,
WrongListType  listType,
css::uno::Reference< css::container::XStringKeyMap > const &  xPropertyBag,
sal_Int32  nPos,
sal_Int32  nLen 
)

Definition at line 28 of file wrong.cxx.

References getWrongAreaColor(), getWrongAreaLineType(), maType, mColor, and mLineType.

SwWrongArea::SwWrongArea ( const OUString &  rType,
css::uno::Reference< css::container::XStringKeyMap > const &  xPropertyBag,
sal_Int32  nPos,
sal_Int32  nLen,
SwWrongList pSubList 
)

Member Function Documentation

static Color SwWrongArea::getGrammarColor ( css::uno::Reference< css::container::XStringKeyMap > const &  xPropertyBag)
inlinestaticprivate

Definition at line 90 of file wrong.hxx.

References COL_LIGHTBLUE().

Referenced by getWrongAreaColor().

static WrongAreaLineType SwWrongArea::getGrammarLineType ( css::uno::Reference< css::container::XStringKeyMap > const &  xPropertyBag)
inlinestaticprivate

Definition at line 116 of file wrong.hxx.

References WRONGAREA_BOLD, WRONGAREA_BOLDWAVE, WRONGAREA_DASHED, and WRONGAREA_WAVE.

Referenced by getWrongAreaLineType().

static Color SwWrongArea::getSmartColor ( css::uno::Reference< css::container::XStringKeyMap > const &  xPropertyBag)
inlinestaticprivate

Definition at line 158 of file wrong.hxx.

References SwViewOption::GetSmarttagColor().

Referenced by getWrongAreaColor().

static WrongAreaLineType SwWrongArea::getSmartLineType ( css::uno::Reference< css::container::XStringKeyMap > const &  xPropertyBag)
inlinestaticprivate

Definition at line 184 of file wrong.hxx.

References WRONGAREA_BOLD, WRONGAREA_BOLDWAVE, WRONGAREA_DASHED, and WRONGAREA_WAVE.

Referenced by getWrongAreaLineType().

static Color SwWrongArea::getWrongAreaColor ( WrongListType  listType,
css::uno::Reference< css::container::XStringKeyMap > const &  xPropertyBag 
)
inlinestaticprivate
static WrongAreaLineType SwWrongArea::getWrongAreaLineType ( WrongListType  listType,
css::uno::Reference< css::container::XStringKeyMap > const &  xPropertyBag 
)
inlinestaticprivate

Member Data Documentation

OUString SwWrongArea::maType

Definition at line 69 of file wrong.hxx.

Referenced by lcl_FillRecognizerData().

Color SwWrongArea::mColor

Definition at line 74 of file wrong.hxx.

Referenced by lcl_DrawLineForWrongListData(), and SwWrongArea().

WrongAreaLineType SwWrongArea::mLineType

Definition at line 75 of file wrong.hxx.

Referenced by lcl_DrawLineForWrongListData(), and SwWrongArea().

sal_Int32 SwWrongArea::mnLen

Definition at line 71 of file wrong.hxx.

Referenced by SwWrongList::RemoveEntry().

sal_Int32 SwWrongArea::mnPos

Definition at line 70 of file wrong.hxx.

Referenced by SwWrongList::RemoveEntry().

SwWrongList* SwWrongArea::mpSubList

Definition at line 72 of file wrong.hxx.


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