Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
2f973aa9
Kaydet (Commit)
2f973aa9
authored
Kas 26, 2013
tarafından
Steve Yin
Kaydeden (comit)
Caolán McNamara
Kas 26, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Integrate branch of IAccessible2
Change-Id: Id8c4ff1d10eccda2d7279d625822759c1f520a46
üst
1da6609e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
1 deletion
+23
-1
ControlHelper.hxx
formula/source/ui/dlg/ControlHelper.hxx
+1
-0
formdlgs.src
formula/source/ui/dlg/formdlgs.src
+2
-1
funcutl.cxx
formula/source/ui/dlg/funcutl.cxx
+16
-0
parawin.cxx
formula/source/ui/dlg/parawin.cxx
+4
-0
No files found.
formula/source/ui/dlg/ControlHelper.hxx
Dosyayı görüntüle @
2f973aa9
...
...
@@ -176,6 +176,7 @@ public:
void
Hide
();
void
Show
();
void
UpdateAccessibleNames
();
};
}
...
...
formula/source/ui/dlg/formdlgs.src
Dosyayı görüntüle @
2f973aa9
...
...
@@ -189,11 +189,12 @@ ModalDialog RID_FORMULADLG_FORMULA_MODAL
Right = TRUE ;
Text [ en-US ] = "Function result" ;
};
Window
WND_RESULT
FixedText
WND_RESULT
{
Border = TRUE ;
Pos = MAP_APPFONT ( 255 , 4 ) ;
Size = MAP_APPFONT ( 60 , 12 ) ;
Text [ en-US ] = "Function result" ;
};
FixedText FT_FORMULA_RESULT
{
...
...
formula/source/ui/dlg/funcutl.cxx
Dosyayı görüntüle @
2f973aa9
...
...
@@ -26,6 +26,7 @@
#include "ControlHelper.hxx"
#include "ModuleHelper.hxx"
#include "ForResId.hrc"
#include "com/sun/star/accessibility/AccessibleRole.hpp"
namespace
formula
...
...
@@ -61,6 +62,7 @@ ValWnd::ValWnd( Window* pParent, const ResId& rId ) : Window( pParent, rId )
aRectOut
=
Rectangle
(
Point
(
1
,
(
nDiff
<
2
)
?
1
:
nDiff
/
2
),
Size
(
aSzWnd
.
Width
()
-
2
,
nHeight
)
);
SetClipRegion
(
Region
(
aRectOut
)
);
SetAccessibleRole
(
::
com
::
sun
::
star
::
accessibility
::
AccessibleRole
::
LABEL
);
}
//----------------------------------------------------------------------------
...
...
@@ -421,6 +423,20 @@ void ArgInput::Show()
}
}
void
ArgInput
::
UpdateAccessibleNames
()
{
OUString
aArgName
(
":"
);
aArgName
+=
pFtArg
->
GetText
();
OUString
aName
=
pBtnFx
->
GetQuickHelpText
();
aName
+=
aArgName
;
pBtnFx
->
SetAccessibleName
(
aName
);
aName
=
pRefBtn
->
GetQuickHelpText
();
aName
+=
aArgName
;
pRefBtn
->
SetAccessibleName
(
aName
);
}
/*************************************************************************
#* Member: FxClick Date:13.01.97
#*------------------------------------------------------------------------
...
...
formula/source/ui/dlg/parawin.cxx
Dosyayı görüntüle @
2f973aa9
...
...
@@ -353,6 +353,7 @@ void ParaWin::SetEditDesc(const OUString& aText)
void
ParaWin
::
SetArgName
(
sal_uInt16
no
,
const
OUString
&
aText
)
{
aArgInput
[
no
].
SetArgName
(
aText
);
aArgInput
[
no
].
UpdateAccessibleNames
();
}
void
ParaWin
::
SetArgNameFont
(
sal_uInt16
no
,
const
Font
&
aFont
)
...
...
@@ -398,6 +399,7 @@ void ParaWin::InitArgInput( sal_uInt16 nPos, FixedText& rFtArg, ImageButton& rBt
aArgInput
[
nPos
].
SetFxFocusHdl
(
LINK
(
this
,
ParaWin
,
GetFxFocusHdl
)
);
aArgInput
[
nPos
].
SetEdFocusHdl
(
LINK
(
this
,
ParaWin
,
GetEdFocusHdl
)
);
aArgInput
[
nPos
].
SetEdModifyHdl
(
LINK
(
this
,
ParaWin
,
ModifyHdl
)
);
aArgInput
[
nPos
].
UpdateAccessibleNames
();
}
void
ParaWin
::
ClearAll
()
...
...
@@ -494,6 +496,7 @@ void ParaWin::SliderMoved()
aArgInput
[
nEdFocus
].
SetArgSelection
(
Selection
(
0
,
SELECTION_MAX
));
nActiveLine
=
nEdFocus
+
nOffset
;
ArgumentModified
();
aArgInput
[
nEdFocus
].
UpdateAccessibleNames
();
}
aScrollLink
.
Call
(
this
);
}
...
...
@@ -574,6 +577,7 @@ IMPL_LINK( ParaWin, GetEdFocusHdl, ArgInput*, pPtr )
UpdateArgDesc
(
nEdFocus
);
nActiveLine
=
nEdFocus
+
nOffset
;
ArgumentModified
();
aArgInput
[
nEdFocus
].
UpdateAccessibleNames
();
}
return
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment