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
dc3ef6db
Kaydet (Commit)
dc3ef6db
authored
Kas 27, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
restore GetChild, etc. we will need them again
Change-Id: Ic6da34e58975d85c84ded96fa90873558589f54a
üst
06b3ccf8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
66 additions
and
0 deletions
+66
-0
AccessibleShapeTreeInfo.hxx
include/svx/AccessibleShapeTreeInfo.hxx
+6
-0
dlgctrl.hxx
include/svx/dlgctrl.hxx
+1
-0
AccessibleShapeTreeInfo.cxx
svx/source/accessibility/AccessibleShapeTreeInfo.cxx
+9
-0
ChildrenManagerImpl.cxx
svx/source/accessibility/ChildrenManagerImpl.cxx
+16
-0
ChildrenManagerImpl.hxx
svx/source/accessibility/ChildrenManagerImpl.hxx
+18
-0
svxrectctaccessiblecontext.cxx
svx/source/accessibility/svxrectctaccessiblecontext.cxx
+6
-0
dlgctrl.cxx
svx/source/dialog/dlgctrl.cxx
+7
-0
svxrectctaccessiblecontext.hxx
svx/source/inc/svxrectctaccessiblecontext.hxx
+3
-0
No files found.
include/svx/AccessibleShapeTreeInfo.hxx
Dosyayı görüntüle @
dc3ef6db
...
...
@@ -70,6 +70,12 @@ public:
void
SetDocumentWindow
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
accessibility
::
XAccessibleComponent
>&
rxViewWindow
);
/** Deprecated. Don't use this method.
*/
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
accessibility
::
XAccessibleComponent
>
GetDocumentWindow
(
void
)
const
;
/** Deprecated. Use the correctly named SetModelBroadcaster method
instead.
*/
...
...
include/svx/dlgctrl.hxx
Dosyayı görüntüle @
dc3ef6db
...
...
@@ -198,6 +198,7 @@ public:
Color
GetPixelColor
()
const
{
return
aPixelColor
;
}
Color
GetBackgroundColor
()
const
{
return
aBackgroundColor
;
}
sal_uInt16
GetBitmapPixel
(
const
sal_uInt16
nPixelNumber
);
sal_uInt16
*
GetBitmapPixelPtr
()
{
return
pPixel
;
}
void
SetPaintable
(
sal_Bool
bTmp
)
{
bPaintable
=
bTmp
;
}
...
...
svx/source/accessibility/AccessibleShapeTreeInfo.cxx
Dosyayı görüntüle @
dc3ef6db
...
...
@@ -86,6 +86,15 @@ void AccessibleShapeTreeInfo::SetDocumentWindow (
uno
::
Reference
<
XAccessibleComponent
>
AccessibleShapeTreeInfo
::
GetDocumentWindow
(
void
)
const
{
return
mxDocumentWindow
;
}
void
AccessibleShapeTreeInfo
::
SetControllerBroadcaster
(
const
uno
::
Reference
<
document
::
XEventBroadcaster
>&
rxControllerBroadcaster
)
{
...
...
svx/source/accessibility/ChildrenManagerImpl.cxx
Dosyayı görüntüle @
dc3ef6db
...
...
@@ -175,6 +175,22 @@ uno::Reference<XAccessible>
uno
::
Reference
<
XAccessible
>
ChildrenManagerImpl
::
GetChild
(
const
uno
::
Reference
<
drawing
::
XShape
>&
xShape
)
throw
(
uno
::
RuntimeException
)
{
ChildDescriptorListType
::
iterator
I
,
aEnd
=
maVisibleChildren
.
end
();
for
(
I
=
maVisibleChildren
.
begin
();
I
!=
aEnd
;
++
I
)
{
if
(
I
->
mxShape
.
get
()
==
xShape
.
get
()
)
return
I
->
mxAccessibleShape
;
}
return
uno
::
Reference
<
XAccessible
>
();
}
/** Find all shapes among the specified shapes that lie fully or partially
inside the visible area. Put those shapes into the cleared cache. The
corresponding accessible objects will be created on demand.
...
...
svx/source/accessibility/ChildrenManagerImpl.hxx
Dosyayı görüntüle @
dc3ef6db
...
...
@@ -155,6 +155,24 @@ public:
GetChild
(
ChildDescriptor
&
aChildDescriptor
,
sal_Int32
_nIndex
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
/** Return the requested accessible child given a shape. This method
searches the list of descriptors for the one that holds the
association of the given shape to the requested accessible object
and returns that. If no such descriptor is found that is
interpreted so that the specified shape is not visible at the moment.
@param xShape
The shape for which to return the associated accessible object.
@return
Returns a reference to the requested accessible child. The
reference is empty if there is no shape descriptor that
associates the shape with an accessible object.
*/
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
accessibility
::
XAccessible
>
GetChild
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>&
xShape
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
/** Update the child manager. Take care of a modified set of children
and modified visible area. This method can optimize the update
process with respect separate updates of a modified children list
...
...
svx/source/accessibility/svxrectctaccessiblecontext.cxx
Dosyayı görüntüle @
dc3ef6db
...
...
@@ -644,6 +644,12 @@ void SvxRectCtlAccessibleContext::selectChild( RECT_POINT eButton )
selectChild
(
PointToIndex
(
eButton
,
mbAngleMode
)
);
}
void
SvxRectCtlAccessibleContext
::
CommitChange
(
const
AccessibleEventObject
&
rEvent
)
{
if
(
mnClientId
)
comphelper
::
AccessibleEventNotifier
::
addEvent
(
mnClientId
,
rEvent
);
}
void
SAL_CALL
SvxRectCtlAccessibleContext
::
disposing
()
{
if
(
!
rBHelper
.
bDisposed
)
...
...
svx/source/dialog/dlgctrl.cxx
Dosyayı görüntüle @
dc3ef6db
...
...
@@ -923,6 +923,13 @@ void SvxPixelCtl::SetXBitmap( const BitmapEx& rBitmapEx )
}
}
// Returns a specific pixel
sal_uInt16
SvxPixelCtl
::
GetBitmapPixel
(
const
sal_uInt16
nPixel
)
{
return
(
*
(
pPixel
+
nPixel
)
);
}
// Resets to the original state of the control
void
SvxPixelCtl
::
Reset
()
...
...
svx/source/inc/svxrectctaccessiblecontext.hxx
Dosyayı görüntüle @
dc3ef6db
...
...
@@ -261,6 +261,9 @@ protected:
/// @Return the object's current bounding box relative to the parent object.
virtual
Rectangle
GetBoundingBox
(
void
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
/// Calls all Listener to tell they the change.
void
CommitChange
(
const
com
::
sun
::
star
::
accessibility
::
AccessibleEventObject
&
rEvent
);
virtual
void
SAL_CALL
disposing
();
/// @returns true if it's disposed or in disposing
...
...
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