#include <accessibility.hxx>
Collaboration diagram for SmTextForwarder:
Public Member Functions | |
SmTextForwarder (SmEditAccessible &rAcc, SmEditSource &rSource) | |
virtual | ~SmTextForwarder () |
virtual USHORT | GetParagraphCount () const |
virtual USHORT | GetTextLen (USHORT nParagraph) const |
virtual String | GetText (const ESelection &rSel) const |
virtual SfxItemSet | GetAttribs (const ESelection &rSel, BOOL bOnlyHardAttrib=EditEngineAttribs_All) const |
virtual SfxItemSet | GetParaAttribs (USHORT nPara) const |
virtual void | SetParaAttribs (USHORT nPara, const SfxItemSet &rSet) |
virtual void | GetPortions (USHORT nPara, SvUShorts &rList) const |
virtual USHORT | GetItemState (const ESelection &rSel, USHORT nWhich) const |
virtual USHORT | GetItemState (USHORT nPara, USHORT nWhich) const |
virtual void | QuickInsertText (const String &rText, const ESelection &rSel) |
virtual void | QuickInsertField (const SvxFieldItem &rFld, const ESelection &rSel) |
virtual void | QuickSetAttribs (const SfxItemSet &rSet, const ESelection &rSel) |
virtual void | QuickInsertLineBreak (const ESelection &rSel) |
virtual SfxItemPool * | GetPool () const |
virtual XubString | CalcFieldValue (const SvxFieldItem &rField, USHORT nPara, USHORT nPos, Color *&rpTxtColor, Color *&rpFldColor) |
virtual BOOL | IsValid () const |
virtual LanguageType | GetLanguage (USHORT, USHORT) const |
virtual USHORT | GetFieldCount (USHORT nPara) const |
virtual EFieldInfo | GetFieldInfo (USHORT nPara, USHORT nField) const |
virtual EBulletInfo | GetBulletInfo (USHORT nPara) const |
virtual Rectangle | GetCharBounds (USHORT nPara, USHORT nIndex) const |
virtual Rectangle | GetParaBounds (USHORT nPara) const |
virtual MapMode | GetMapMode () const |
virtual OutputDevice * | GetRefDevice () const |
virtual sal_Bool | GetIndexAtPoint (const Point &, USHORT &nPara, USHORT &nIndex) const |
virtual sal_Bool | GetWordIndices (USHORT nPara, USHORT nIndex, USHORT &nStart, USHORT &nEnd) const |
virtual sal_Bool | GetAttributeRun (USHORT &nStartIndex, USHORT &nEndIndex, USHORT nPara, USHORT nIndex) const |
virtual USHORT | GetLineCount (USHORT nPara) const |
virtual USHORT | GetLineLen (USHORT nPara, USHORT nLine) const |
virtual sal_Bool | Delete (const ESelection &) |
virtual sal_Bool | InsertText (const String &, const ESelection &) |
virtual sal_Bool | QuickFormatDoc (BOOL bFull=FALSE) |
virtual USHORT | GetDepth (USHORT nPara) const |
virtual sal_Bool | SetDepth (USHORT nPara, USHORT nNewDepth) |
virtual const SfxItemSet * | GetEmptyItemSetPtr () |
virtual void | AppendParagraph () |
virtual xub_StrLen | AppendTextPortion (USHORT nPara, const String &rText, const SfxItemSet &rSet) |
Private Member Functions | |
DECL_LINK (NotifyHdl, EENotify *) | |
SmTextForwarder (const SmTextForwarder &) | |
SmTextForwarder & | operator= (const SmTextForwarder &) |
Private Attributes | |
SmEditAccessible & | rEditAcc |
SmEditSource & | rEditSource |
Definition at line 247 of file accessibility.hxx.
SmTextForwarder::SmTextForwarder | ( | const SmTextForwarder & | ) | [private] |
SmTextForwarder::SmTextForwarder | ( | SmEditAccessible & | rAcc, | |
SmEditSource & | rSource | |||
) |
Definition at line 1054 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
SmTextForwarder::~SmTextForwarder | ( | ) | [virtual] |
Definition at line 1063 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
SmTextForwarder::DECL_LINK | ( | NotifyHdl | , | |
EENotify * | ||||
) | [private] |
SmTextForwarder& SmTextForwarder::operator= | ( | const SmTextForwarder & | ) | [private] |
USHORT SmTextForwarder::GetParagraphCount | ( | ) | const [virtual] |
Definition at line 1082 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
USHORT SmTextForwarder::GetTextLen | ( | USHORT | nParagraph | ) | const [virtual] |
Definition at line 1088 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
String SmTextForwarder::GetText | ( | const ESelection & | rSel | ) | const [virtual] |
Definition at line 1094 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
SfxItemSet SmTextForwarder::GetAttribs | ( | const ESelection & | rSel, | |
BOOL | bOnlyHardAttrib = EditEngineAttribs_All | |||
) | const [virtual] |
Definition at line 1104 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
SfxItemSet SmTextForwarder::GetParaAttribs | ( | USHORT | nPara | ) | const [virtual] |
Definition at line 1134 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
void SmTextForwarder::SetParaAttribs | ( | USHORT | nPara, | |
const SfxItemSet & | rSet | |||
) | [virtual] |
Definition at line 1155 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
void SmTextForwarder::GetPortions | ( | USHORT | nPara, | |
SvUShorts & | rList | |||
) | const [virtual] |
Definition at line 1168 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
USHORT SmTextForwarder::GetItemState | ( | const ESelection & | rSel, | |
USHORT | nWhich | |||
) | const [virtual] |
Definition at line 1352 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), GetSvxEditEngineItemState(), and rEditAcc.
USHORT SmTextForwarder::GetItemState | ( | USHORT | nPara, | |
USHORT | nWhich | |||
) | const [virtual] |
Definition at line 1361 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
void SmTextForwarder::QuickInsertText | ( | const String & | rText, | |
const ESelection & | rSel | |||
) | [virtual] |
Definition at line 1175 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
void SmTextForwarder::QuickInsertField | ( | const SvxFieldItem & | rFld, | |
const ESelection & | rSel | |||
) | [virtual] |
Definition at line 1189 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
void SmTextForwarder::QuickSetAttribs | ( | const SfxItemSet & | rSet, | |
const ESelection & | rSel | |||
) | [virtual] |
Definition at line 1196 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
void SmTextForwarder::QuickInsertLineBreak | ( | const ESelection & | rSel | ) | [virtual] |
Definition at line 1182 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
SfxItemPool * SmTextForwarder::GetPool | ( | ) | const [virtual] |
Definition at line 1162 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
XubString SmTextForwarder::CalcFieldValue | ( | const SvxFieldItem & | rField, | |
USHORT | nPara, | |||
USHORT | nPos, | |||
Color *& | rpTxtColor, | |||
Color *& | rpFldColor | |||
) | [virtual] |
Definition at line 1211 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
BOOL SmTextForwarder::IsValid | ( | ) | const [virtual] |
Definition at line 1203 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
LanguageType SmTextForwarder::GetLanguage | ( | USHORT | , | |
USHORT | ||||
) | const [virtual] |
Definition at line 1373 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
USHORT SmTextForwarder::GetFieldCount | ( | USHORT | nPara | ) | const [virtual] |
Definition at line 1379 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
EFieldInfo SmTextForwarder::GetFieldInfo | ( | USHORT | nPara, | |
USHORT | nField | |||
) | const [virtual] |
Definition at line 1385 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
EBulletInfo SmTextForwarder::GetBulletInfo | ( | USHORT | nPara | ) | const [virtual] |
Definition at line 1391 of file accessibility.cxx.
Rectangle SmTextForwarder::GetCharBounds | ( | USHORT | nPara, | |
USHORT | nIndex | |||
) | const [virtual] |
Definition at line 1396 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
Rectangle SmTextForwarder::GetParaBounds | ( | USHORT | nPara | ) | const [virtual] |
Definition at line 1420 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
MapMode SmTextForwarder::GetMapMode | ( | ) | const [virtual] |
Definition at line 1436 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
OutputDevice * SmTextForwarder::GetRefDevice | ( | ) | const [virtual] |
Definition at line 1442 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
sal_Bool SmTextForwarder::GetIndexAtPoint | ( | const Point & | , | |
USHORT & | nPara, | |||
USHORT & | nIndex | |||
) | const [virtual] |
Definition at line 1448 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
sal_Bool SmTextForwarder::GetWordIndices | ( | USHORT | nPara, | |
USHORT | nIndex, | |||
USHORT & | nStart, | |||
USHORT & | nEnd | |||
) | const [virtual] |
Definition at line 1462 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
sal_Bool SmTextForwarder::GetAttributeRun | ( | USHORT & | nStartIndex, | |
USHORT & | nEndIndex, | |||
USHORT | nPara, | |||
USHORT | nIndex | |||
) | const [virtual] |
Definition at line 1483 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
USHORT SmTextForwarder::GetLineCount | ( | USHORT | nPara | ) | const [virtual] |
Definition at line 1491 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
USHORT SmTextForwarder::GetLineLen | ( | USHORT | nPara, | |
USHORT | nLine | |||
) | const [virtual] |
Definition at line 1497 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
sal_Bool SmTextForwarder::Delete | ( | const ESelection & | ) | [virtual] |
Definition at line 1527 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
sal_Bool SmTextForwarder::InsertText | ( | const String & | , | |
const ESelection & | ||||
) | [virtual] |
Definition at line 1540 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
sal_Bool SmTextForwarder::QuickFormatDoc | ( | BOOL | bFull = FALSE |
) | [virtual] |
Definition at line 1503 of file accessibility.cxx.
References SmEditAccessible::GetEditEngine(), and rEditAcc.
USHORT SmTextForwarder::GetDepth | ( | USHORT | nPara | ) | const [virtual] |
Definition at line 1515 of file accessibility.cxx.
sal_Bool SmTextForwarder::SetDepth | ( | USHORT | nPara, | |
USHORT | nNewDepth | |||
) | [virtual] |
Definition at line 1521 of file accessibility.cxx.
const SfxItemSet * SmTextForwarder::GetEmptyItemSetPtr | ( | ) | [virtual] |
Definition at line 1553 of file accessibility.cxx.
void SmTextForwarder::AppendParagraph | ( | ) | [virtual] |
Definition at line 1558 of file accessibility.cxx.
xub_StrLen SmTextForwarder::AppendTextPortion | ( | USHORT | nPara, | |
const String & | rText, | |||
const SfxItemSet & | rSet | |||
) | [virtual] |
Definition at line 1562 of file accessibility.cxx.
SmEditAccessible& SmTextForwarder::rEditAcc [private] |
Definition at line 250 of file accessibility.hxx.
Referenced by CalcFieldValue(), Delete(), GetAttribs(), GetAttributeRun(), GetCharBounds(), GetFieldCount(), GetFieldInfo(), GetIndexAtPoint(), GetItemState(), GetLanguage(), GetLineCount(), GetLineLen(), GetMapMode(), GetParaAttribs(), GetParaBounds(), GetParagraphCount(), GetPool(), GetPortions(), GetRefDevice(), GetText(), GetTextLen(), GetWordIndices(), InsertText(), IsValid(), QuickFormatDoc(), QuickInsertField(), QuickInsertLineBreak(), QuickInsertText(), QuickSetAttribs(), SetParaAttribs(), SmTextForwarder(), and ~SmTextForwarder().
SmEditSource& SmTextForwarder::rEditSource [private] |
Definition at line 251 of file accessibility.hxx.