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
e27fc9b6
Kaydet (Commit)
e27fc9b6
authored
Eyl 11, 2012
tarafından
Noel Power
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
disable scrollable Frame ( not working well )
Change-Id: I09dc7b656c7ff19b937936e0b8436022d287cc87
üst
7c7267e8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
5 deletions
+8
-5
axcontrol.cxx
oox/source/ole/axcontrol.cxx
+2
-2
vclxtoolkit.cxx
toolkit/source/awt/vclxtoolkit.cxx
+2
-0
dialogcontrol.cxx
toolkit/source/controls/dialogcontrol.cxx
+0
-3
xmldlg_expmodels.cxx
xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx
+2
-0
xmldlg_impmodels.cxx
xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
+2
-0
No files found.
oox/source/ole/axcontrol.cxx
Dosyayı görüntüle @
e27fc9b6
...
@@ -2445,8 +2445,9 @@ void AxFrameModel::convertProperties( PropertyMap& rPropMap, const ControlConver
...
@@ -2445,8 +2445,9 @@ void AxFrameModel::convertProperties( PropertyMap& rPropMap, const ControlConver
{
{
rPropMap
.
setProperty
(
PROP_Label
,
maCaption
);
rPropMap
.
setProperty
(
PROP_Label
,
maCaption
);
rPropMap
.
setProperty
(
PROP_Enabled
,
getFlag
(
mnFlags
,
AX_CONTAINER_ENABLED
)
);
rPropMap
.
setProperty
(
PROP_Enabled
,
getFlag
(
mnFlags
,
AX_CONTAINER_ENABLED
)
);
printf
(
"Frame, converting scroll bits
\n
"
);
#if SCROLLABLEFRAME
rConv
.
convertScrollabilitySettings
(
rPropMap
,
maScrollPos
,
maLogicalSize
,
mnScrollBars
);
rConv
.
convertScrollabilitySettings
(
rPropMap
,
maScrollPos
,
maLogicalSize
,
mnScrollBars
);
#endif
AxContainerModelBase
::
convertProperties
(
rPropMap
,
rConv
);
AxContainerModelBase
::
convertProperties
(
rPropMap
,
rConv
);
}
}
...
@@ -2509,7 +2510,6 @@ void AxUserFormModel::convertProperties( PropertyMap& rPropMap, const ControlCon
...
@@ -2509,7 +2510,6 @@ void AxUserFormModel::convertProperties( PropertyMap& rPropMap, const ControlCon
rPropMap
.
setProperty
(
PROP_Title
,
maCaption
);
rPropMap
.
setProperty
(
PROP_Title
,
maCaption
);
rConv
.
convertColor
(
rPropMap
,
PROP_BackgroundColor
,
mnBackColor
);
rConv
.
convertColor
(
rPropMap
,
PROP_BackgroundColor
,
mnBackColor
);
rConv
.
convertAxPicture
(
rPropMap
,
maPictureData
,
AX_PICPOS_CENTER
);
rConv
.
convertAxPicture
(
rPropMap
,
maPictureData
,
AX_PICPOS_CENTER
);
printf
(
"UserForm, converting scroll bits
\n
"
);
rConv
.
convertScrollabilitySettings
(
rPropMap
,
maScrollPos
,
maLogicalSize
,
mnScrollBars
);
rConv
.
convertScrollabilitySettings
(
rPropMap
,
maScrollPos
,
maLogicalSize
,
mnScrollBars
);
AxContainerModelBase
::
convertProperties
(
rPropMap
,
rConv
);
AxContainerModelBase
::
convertProperties
(
rPropMap
,
rConv
);
}
}
...
...
toolkit/source/awt/vclxtoolkit.cxx
Dosyayı görüntüle @
e27fc9b6
...
@@ -724,11 +724,13 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp,
...
@@ -724,11 +724,13 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp,
break
;
break
;
case
WINDOW_GROUPBOX
:
case
WINDOW_GROUPBOX
:
{
{
#if SCROLLABLEFRAME
if
(
bFrameControl
)
if
(
bFrameControl
)
{
{
pNewWindow
=
new
toolkit
::
ScrollableWrapper
<
GroupBox
>
(
pParent
,
nWinBits
|
WB_VSCROLL
);
pNewWindow
=
new
toolkit
::
ScrollableWrapper
<
GroupBox
>
(
pParent
,
nWinBits
|
WB_VSCROLL
);
}
}
else
else
#endif
pNewWindow
=
new
GroupBox
(
pParent
,
nWinBits
);
pNewWindow
=
new
GroupBox
(
pParent
,
nWinBits
);
if
(
bFrameControl
)
if
(
bFrameControl
)
{
{
...
...
toolkit/source/controls/dialogcontrol.cxx
Dosyayı görüntüle @
e27fc9b6
...
@@ -361,9 +361,6 @@ void UnoDialogControl::createPeer( const Reference< XToolkit > & rxToolkit, cons
...
@@ -361,9 +361,6 @@ void UnoDialogControl::createPeer( const Reference< XToolkit > & rxToolkit, cons
// there must be a better way than doing this, we can't
// there must be a better way than doing this, we can't
// process the scrolltop & scrollleft in XDialog because
// process the scrolltop & scrollleft in XDialog because
// the children haven't been added when those props are applied
// the children haven't been added when those props are applied
Reference
<
XPropertySet
>
xDlgProps
(
getModel
(),
UNO_QUERY
);
Reference
<
XPropertySet
>
xPeerProps
(
getPeer
(),
uno
::
UNO_QUERY
);
ImplSetPeerProperty
(
GetPropertyName
(
BASEPROPERTY_SCROLLTOP
),
ImplGetPropertyValue
(
GetPropertyName
(
BASEPROPERTY_SCROLLTOP
)
)
);
ImplSetPeerProperty
(
GetPropertyName
(
BASEPROPERTY_SCROLLTOP
),
ImplGetPropertyValue
(
GetPropertyName
(
BASEPROPERTY_SCROLLTOP
)
)
);
ImplSetPeerProperty
(
GetPropertyName
(
BASEPROPERTY_SCROLLLEFT
),
ImplGetPropertyValue
(
GetPropertyName
(
BASEPROPERTY_SCROLLLEFT
)
)
);
ImplSetPeerProperty
(
GetPropertyName
(
BASEPROPERTY_SCROLLLEFT
),
ImplGetPropertyValue
(
GetPropertyName
(
BASEPROPERTY_SCROLLLEFT
)
)
);
...
...
xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx
Dosyayı görüntüle @
e27fc9b6
...
@@ -124,7 +124,9 @@ void ElementDescriptor::readFrameModel( StyleBag * all_styles )
...
@@ -124,7 +124,9 @@ void ElementDescriptor::readFrameModel( StyleBag * all_styles )
title
->
addAttribute
(
XMLNS_DIALOGS_PREFIX
":value"
,
aTitle
);
title
->
addAttribute
(
XMLNS_DIALOGS_PREFIX
":value"
,
aTitle
);
addSubElement
(
title
);
addSubElement
(
title
);
}
}
#if SCROLLABLEFRAME
readScrollableSettings
();
readScrollableSettings
();
#endif
uno
::
Reference
<
container
::
XNameContainer
>
xControlContainer
(
_xProps
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
container
::
XNameContainer
>
xControlContainer
(
_xProps
,
uno
::
UNO_QUERY
);
if
(
xControlContainer
.
is
()
&&
xControlContainer
->
getElementNames
().
getLength
()
)
if
(
xControlContainer
.
is
()
&&
xControlContainer
->
getElementNames
().
getLength
()
)
{
{
...
...
xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
Dosyayı görüntüle @
e27fc9b6
...
@@ -97,7 +97,9 @@ void Frame::endElement()
...
@@ -97,7 +97,9 @@ void Frame::endElement()
{
{
xControlModel
->
setPropertyValue
(
"Label"
,
makeAny
(
_label
)
);
xControlModel
->
setPropertyValue
(
"Label"
,
makeAny
(
_label
)
);
}
}
#if SCROLLABLEFRAME
ctx
.
importScollableSettings
(
_xAttributes
);
ctx
.
importScollableSettings
(
_xAttributes
);
#endif
ctx
.
importEvents
(
_events
);
ctx
.
importEvents
(
_events
);
// avoid ring-reference:
// avoid ring-reference:
// vector< event elements > holding event elements holding this (via _pParent)
// vector< event elements > holding event elements holding this (via _pParent)
...
...
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