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 (OUString aType, WrongListType listType, css::uno::Reference< css::container::XStringKeyMap > const &xPropertyBag, sal_Int32 nPos, sal_Int32 nLen)
 
 SwWrongArea (OUString aType, css::uno::Reference< css::container::XStringKeyMap > const &xPropertyBag, sal_Int32 nPos, sal_Int32 nLen, SwWrongList *pSubList)
 

Public Attributes

OUString maType
 
css::uno::Reference< css::container::XStringKeyMap > mxPropertyBag
 
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 65 of file wrong.hxx.

Constructor & Destructor Documentation

◆ SwWrongArea() [1/2]

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

Definition at line 29 of file wrong.cxx.

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

◆ SwWrongArea() [2/2]

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

Member Function Documentation

◆ getGrammarColor()

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

Definition at line 90 of file wrong.hxx.

References SwViewOption::GetGrammarColor().

Referenced by getWrongAreaColor().

◆ getGrammarLineType()

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

Definition at line 115 of file wrong.hxx.

References WRONGAREA_BOLD, WRONGAREA_BOLDWAVE, WRONGAREA_DASHED, and WRONGAREA_WAVE.

Referenced by getWrongAreaLineType().

◆ getSmartColor()

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

Definition at line 156 of file wrong.hxx.

References SwViewOption::GetSmarttagColor().

Referenced by getWrongAreaColor().

◆ getSmartLineType()

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

Definition at line 181 of file wrong.hxx.

References WRONGAREA_BOLD, WRONGAREA_BOLDWAVE, WRONGAREA_DASHED, and WRONGAREA_WAVE.

Referenced by getWrongAreaLineType().

◆ getWrongAreaColor()

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

◆ getWrongAreaLineType()

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

Member Data Documentation

◆ maType

OUString SwWrongArea::maType

Definition at line 68 of file wrong.hxx.

Referenced by lcl_FillRecognizerData().

◆ mColor

Color SwWrongArea::mColor

Definition at line 74 of file wrong.hxx.

Referenced by lcl_DrawLineForWrongListData(), and SwWrongArea().

◆ mLineType

WrongAreaLineType SwWrongArea::mLineType

Definition at line 75 of file wrong.hxx.

Referenced by lcl_DrawLineForWrongListData(), and SwWrongArea().

◆ mnLen

sal_Int32 SwWrongArea::mnLen

◆ mnPos

sal_Int32 SwWrongArea::mnPos

◆ mpSubList

SwWrongList* SwWrongArea::mpSubList

Definition at line 72 of file wrong.hxx.

◆ mxPropertyBag

css::uno::Reference< css::container::XStringKeyMap > SwWrongArea::mxPropertyBag

Definition at line 69 of file wrong.hxx.

Referenced by lcl_FillRecognizerData().


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