summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2011-10-05 13:38:19 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-10-05 18:51:36 -0500
commit044c1043c05f4acba031ddb90ba1a4890b31ae9a (patch)
tree414628207a7b26fa79ee3e3e3767729b1927bebb
parent79a1c219d96a197c72d7759157dbf6e765f7655e (diff)
accfixes: add SvxTPFilter::SetAccessibleRelationMemberOf
-rw-r--r--svx/inc/svx/ctredlin.hxx23
-rw-r--r--svx/source/dialog/ctredlin.cxx23
2 files changed, 35 insertions, 11 deletions
diff --git a/svx/inc/svx/ctredlin.hxx b/svx/inc/svx/ctredlin.hxx
index 3b7ed86b4b68..553bf5f48d9e 100644
--- a/svx/inc/svx/ctredlin.hxx
+++ b/svx/inc/svx/ctredlin.hxx
@@ -235,14 +235,14 @@ public:
void SetLastTime(const Time &aTime);
void SetDateMode(sal_uInt16 nMode);
- sal_uInt16 GetDateMode();
+ sal_uInt16 GetDateMode();
void ClearAuthors();
void InsertAuthor( const String& rString, sal_uInt16 nPos = LISTBOX_APPEND );
- sal_uInt16 GetSelectedAuthorPos();
+ sal_uInt16 GetSelectedAuthorPos();
String GetSelectedAuthor()const;
void SelectedAuthorPos(sal_uInt16 nPos);
- sal_uInt16 SelectAuthor(const String& aString);
+ sal_uInt16 SelectAuthor(const String& aString);
void SetComment(const String &rComment);
String GetComment()const;
@@ -258,11 +258,11 @@ public:
void HideClocks(sal_Bool bHide=sal_True);
void DisableRef(sal_Bool bFlag);
- sal_Bool IsDate();
- sal_Bool IsAuthor();
- sal_Bool IsRange();
- sal_Bool IsAction();
- sal_Bool IsComment();
+ sal_Bool IsDate();
+ sal_Bool IsAuthor();
+ sal_Bool IsRange();
+ sal_Bool IsAction();
+ sal_Bool IsComment();
void ShowAction(sal_Bool bShow=sal_True);
@@ -299,6 +299,7 @@ public:
void Enable( bool bEnable = true, bool bChild = true );
void Disable( bool bChild = true );
+ void SetAccessibleRelationMemberOf( Window* pWindow);
// } Methods for Calc
};
@@ -364,7 +365,7 @@ public:
void ShowUndo(sal_Bool nFlag=sal_True);
void HideUndo() {ShowUndo(sal_False);}
- sal_Bool IsUndoVisible();
+ sal_Bool IsUndoVisible();
Size GetMinSizePixel();
@@ -413,8 +414,8 @@ public:
void ShowFilterPage();
void ShowViewPage();
- sal_Bool IsFilterPageVisible();
- sal_Bool IsViewPageVisible();
+ sal_Bool IsFilterPageVisible();
+ sal_Bool IsViewPageVisible();
SvxTPFilter* GetFilterPage();
SvxTPView* GetViewPage();
diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx
index af2873f69cc4..a79356d02a0f 100644
--- a/svx/source/dialog/ctredlin.cxx
+++ b/svx/source/dialog/ctredlin.cxx
@@ -1325,6 +1325,29 @@ IMPL_LINK( SvxTPFilter, RefHandle, PushButton*, pRef )
return 0;
}
+void SvxTPFilter::SetAccessibleRelationMemberOf( Window* pWin )
+{
+ aCbDate.SetAccessibleRelationMemberOf(pWin);
+ aLbDate.SetAccessibleRelationMemberOf(pWin);
+ aDfDate.SetAccessibleRelationMemberOf(pWin);
+ aTfDate.SetAccessibleRelationMemberOf(pWin);
+ aIbClock.SetAccessibleRelationMemberOf(pWin);
+ aFtDate2.SetAccessibleRelationMemberOf(pWin);
+ aDfDate2.SetAccessibleRelationMemberOf(pWin);
+ aTfDate2.SetAccessibleRelationMemberOf(pWin);
+ aIbClock2.SetAccessibleRelationMemberOf(pWin);
+ aCbAuthor.SetAccessibleRelationMemberOf(pWin);
+ aLbAuthor.SetAccessibleRelationMemberOf(pWin);
+ aCbRange.SetAccessibleRelationMemberOf(pWin);
+ aEdRange.SetAccessibleRelationMemberOf(pWin);
+ aBtnRange.SetAccessibleRelationMemberOf(pWin);
+ aLbAction.SetAccessibleRelationMemberOf(pWin);
+ aCbComment.SetAccessibleRelationMemberOf(pWin);
+ aEdComment.SetAccessibleRelationMemberOf(pWin);
+}
+
+
+
static Size gDiffSize;
//============================================================================
// class SvxAcceptChgCtr