LibreOffice Module sc (master)
1
|
Public Member Functions | |
ScNotesChildren (ScPreviewShell *pViewShell, ScAccessibleDocumentPagePreview *pAccDoc) | |
~ScNotesChildren () | |
void | Init (const tools::Rectangle &rVisRect, sal_Int32 nOffset) |
sal_Int32 | GetChildrenCount () const |
uno::Reference< XAccessible > | GetChild (sal_Int32 nIndex) const |
uno::Reference< XAccessible > | GetAt (const awt::Point &rPoint) const |
void | DataChanged (const tools::Rectangle &rVisRect) |
Private Types | |
typedef std::vector< ScAccNote > | ScAccNotes |
Private Member Functions | |
::accessibility::AccessibleTextHelper * | CreateTextHelper (const OUString &rString, const tools::Rectangle &rVisRect, const ScAddress &aCellPos, bool bMarkNote, sal_Int32 nChildOffset) const |
sal_Int32 | AddNotes (const ScPreviewLocationData &rData, const tools::Rectangle &rVisRect, bool bMark, ScAccNotes &rNotes) |
sal_Int32 | CheckChanges (const ScPreviewLocationData &rData, const tools::Rectangle &rVisRect, bool bMark, ScAccNotes &rOldNotes, ScAccNotes &rNewNotes, ScXAccVector &rOldParas, ScXAccVector &rNewParas) |
ScDocument * | GetDocument () const |
Static Private Member Functions | |
static sal_Int8 | CompareCell (const ScAddress &aCell1, const ScAddress &aCell2) |
static void | CollectChildren (const ScAccNote &rNote, ScXAccVector &rVector) |
Private Attributes | |
ScPreviewShell * | mpViewShell |
ScAccessibleDocumentPagePreview * | mpAccDoc |
ScAccNotes | maNotes |
ScAccNotes | maMarks |
sal_Int32 | mnParagraphs |
sal_Int32 | mnOffset |
Definition at line 87 of file AccessibleDocumentPagePreview.cxx.
|
private |
Definition at line 103 of file AccessibleDocumentPagePreview.cxx.
ScNotesChildren::ScNotesChildren | ( | ScPreviewShell * | pViewShell, |
ScAccessibleDocumentPagePreview * | pAccDoc | ||
) |
Definition at line 121 of file AccessibleDocumentPagePreview.cxx.
ScNotesChildren::~ScNotesChildren | ( | ) |
Definition at line 129 of file AccessibleDocumentPagePreview.cxx.
|
private |
Definition at line 155 of file AccessibleDocumentPagePreview.cxx.
References CreateTextHelper(), GetDocument(), ScDocument::GetNote(), ScPreviewLocationData::GetNoteCountInRange(), ScPreviewLocationData::GetNoteInRange(), mnOffset, nCount, nIndex, and VALID.
Referenced by Init().
|
private |
Definition at line 330 of file AccessibleDocumentPagePreview.cxx.
References CollectChildren(), CompareCell(), CreateTextHelper(), GetDocument(), ScDocument::GetNote(), ScPreviewLocationData::GetNoteCountInRange(), ScPreviewLocationData::GetNoteInRange(), mnOffset, nCount, nIndex, and VALID.
Referenced by DataChanged().
|
staticprivate |
Definition at line 323 of file AccessibleDocumentPagePreview.cxx.
References i.
Referenced by CheckChanges().
|
staticprivate |
Definition at line 309 of file AccessibleDocumentPagePreview.cxx.
References ScAddress::Col(), ScAddress::Row(), and ScAddress::Tab().
Referenced by CheckChanges().
|
private |
Definition at line 145 of file AccessibleDocumentPagePreview.cxx.
References mpAccDoc, mpViewShell, accessibility::AccessibleTextHelper::SetEventSource(), accessibility::AccessibleTextHelper::SetOffset(), accessibility::AccessibleTextHelper::SetStartIndex(), and tools::Rectangle::TopLeft().
Referenced by AddNotes(), CheckChanges(), GetAt(), and GetChild().
void ScNotesChildren::DataChanged | ( | const tools::Rectangle & | rVisRect | ) |
Definition at line 470 of file AccessibleDocumentPagePreview.cxx.
References CheckChanges(), ScPreviewShell::GetLocationData(), maMarks, maNotes, mnParagraphs, and mpViewShell.
Referenced by ScAccessibleDocumentPagePreview::Notify().
uno::Reference< XAccessible > ScNotesChildren::GetAt | ( | const awt::Point & | rPoint | ) | const |
Definition at line 286 of file AccessibleDocumentPagePreview.cxx.
References CreateTextHelper(), maMarks, maNotes, mnOffset, and Point.
Referenced by ScAccessibleDocumentPagePreview::getAccessibleAtPoint().
uno::Reference< XAccessible > ScNotesChildren::GetChild | ( | sal_Int32 | nIndex | ) | const |
Definition at line 225 of file AccessibleDocumentPagePreview.cxx.
References CreateTextHelper(), accessibility::AccessibleTextHelper::GetChild(), maMarks, maNotes, mnOffset, and mnParagraphs.
Referenced by ScAccessibleDocumentPagePreview::getAccessibleChild().
|
inline |
Definition at line 94 of file AccessibleDocumentPagePreview.cxx.
References mnParagraphs.
|
inlineprivate |
Definition at line 488 of file AccessibleDocumentPagePreview.cxx.
References ScPreviewShell::GetDocument(), and mpViewShell.
Referenced by AddNotes(), and CheckChanges().
void ScNotesChildren::Init | ( | const tools::Rectangle & | rVisRect, |
sal_Int32 | nOffset | ||
) |
Definition at line 194 of file AccessibleDocumentPagePreview.cxx.
References AddNotes(), ScPreviewShell::GetLocationData(), maMarks, maNotes, mnOffset, mnParagraphs, mpViewShell, and rData.
|
mutableprivate |
Definition at line 105 of file AccessibleDocumentPagePreview.cxx.
Referenced by DataChanged(), GetAt(), GetChild(), Init(), and ~ScNotesChildren().
|
mutableprivate |
Definition at line 104 of file AccessibleDocumentPagePreview.cxx.
Referenced by DataChanged(), GetAt(), GetChild(), Init(), and ~ScNotesChildren().
|
private |
Definition at line 107 of file AccessibleDocumentPagePreview.cxx.
Referenced by AddNotes(), CheckChanges(), GetAt(), GetChild(), and Init().
|
private |
Definition at line 106 of file AccessibleDocumentPagePreview.cxx.
Referenced by DataChanged(), GetChild(), GetChildrenCount(), and Init().
|
private |
Definition at line 102 of file AccessibleDocumentPagePreview.cxx.
Referenced by CreateTextHelper().
|
private |
Definition at line 101 of file AccessibleDocumentPagePreview.cxx.
Referenced by CreateTextHelper(), DataChanged(), GetDocument(), and Init().