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
7c20a8ed
Kaydet (Commit)
7c20a8ed
authored
Eki 03, 2011
tarafından
Noel Power
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix morph control export also fix toggle button state export
üst
deb2d9b1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
18 deletions
+8
-18
axbinarywriter.hxx
oox/inc/oox/ole/axbinarywriter.hxx
+1
-1
axbinarywriter.cxx
oox/source/ole/axbinarywriter.cxx
+1
-1
axcontrol.cxx
oox/source/ole/axcontrol.cxx
+6
-16
No files found.
oox/inc/oox/ole/axbinarywriter.hxx
Dosyayı görüntüle @
7c20a8ed
...
@@ -109,7 +109,7 @@ public:
...
@@ -109,7 +109,7 @@ public:
{
if
(
startNextProperty
()
)
maOutStrm
.
writeAligned
<
StreamType
>
(
ornValue
);
}
{
if
(
startNextProperty
()
)
maOutStrm
.
writeAligned
<
StreamType
>
(
ornValue
);
}
/** Write a boolean property value to the stream, the
/** Write a boolean property value to the stream, the
respective flag in the property mask is set. */
respective flag in the property mask is set. */
void
writeBoolProperty
(
bool
&
orbValue
,
bool
bReverse
=
false
);
void
writeBoolProperty
(
bool
orbValue
,
bool
bReverse
=
false
);
/** Write a pair property the stream, the respective flag in
/** Write a pair property the stream, the respective flag in
the property mask is set. */
the property mask is set. */
void
writePairProperty
(
AxPairData
&
orPairData
);
void
writePairProperty
(
AxPairData
&
orPairData
);
...
...
oox/source/ole/axbinarywriter.cxx
Dosyayı görüntüle @
7c20a8ed
...
@@ -164,7 +164,7 @@ AxBinaryPropertyWriter::AxBinaryPropertyWriter( BinaryOutputStream& rOutStrm, bo
...
@@ -164,7 +164,7 @@ AxBinaryPropertyWriter::AxBinaryPropertyWriter( BinaryOutputStream& rOutStrm, bo
mnNextProp
=
1
;
mnNextProp
=
1
;
}
}
void
AxBinaryPropertyWriter
::
writeBoolProperty
(
bool
&
orbValue
,
bool
bReverse
)
void
AxBinaryPropertyWriter
::
writeBoolProperty
(
bool
orbValue
,
bool
bReverse
)
{
{
// orbValue ^ bReverse true then we want to set the bit, e.g. don't skip
// orbValue ^ bReverse true then we want to set the bit, e.g. don't skip
startNextProperty
(
!
(
(
orbValue
^
bReverse
)
>=
1
)
);
startNextProperty
(
!
(
(
orbValue
^
bReverse
)
>=
1
)
);
...
...
oox/source/ole/axcontrol.cxx
Dosyayı görüntüle @
7c20a8ed
...
@@ -540,26 +540,16 @@ void ControlConverter::convertAxState( PropertyMap& rPropMap,
...
@@ -540,26 +540,16 @@ void ControlConverter::convertAxState( PropertyMap& rPropMap,
}
}
void
ControlConverter
::
convertToAxState
(
PropertySet
&
rPropSet
,
void
ControlConverter
::
convertToAxState
(
PropertySet
&
rPropSet
,
OUString
&
rValue
,
sal_Int32
&
nMultiSelect
,
ApiDefaultStateMode
eDefStateMode
,
bool
bAwtModel
)
const
OUString
&
rValue
,
sal_Int32
&
nMultiSelect
,
ApiDefaultStateMode
eDefStateMode
,
bool
/*bAwtModel*/
)
const
{
{
bool
bBooleanState
=
eDefStateMode
==
API_DEFAULTSTATE_BOOLEAN
;
bool
bSupportsTriState
=
eDefStateMode
==
API_DEFAULTSTATE_TRISTATE
;
bool
bSupportsTriState
=
eDefStateMode
==
API_DEFAULTSTATE_TRISTATE
;
sal_Int32
nPropId
=
bAwtModel
?
PROP_State
:
PROP_DefaultState
;
sal_Int16
nState
=
API_STATE_DONTKNOW
;
sal_Int16
nState
=
API_STATE_DONTKNOW
;
sal_Bool
bTmp
=
sal_False
;
sal_Bool
bTmp
=
sal_False
;
// need to use State for current state ( I think this is regardless of whether
if
(
bBooleanState
)
// control is awt or not )
{
rPropSet
.
getProperty
(
nState
,
PROP_State
);
rPropSet
.
getProperty
(
bTmp
,
nPropId
);
if
(
bTmp
)
nState
=
API_STATE_CHECKED
;
else
nState
=
API_STATE_UNCHECKED
;
}
else
rPropSet
.
getProperty
(
nState
,
nPropId
);
rValue
=
rtl
::
OUString
();
// empty e.g. 'don't know'
rValue
=
rtl
::
OUString
();
// empty e.g. 'don't know'
if
(
nState
==
API_STATE_UNCHECKED
)
if
(
nState
==
API_STATE_UNCHECKED
)
...
@@ -1475,7 +1465,7 @@ void AxMorphDataModelBase::exportBinaryModel( BinaryOutputStream& rOutStrm )
...
@@ -1475,7 +1465,7 @@ void AxMorphDataModelBase::exportBinaryModel( BinaryOutputStream& rOutStrm )
aWriter
.
skipProperty
();
aWriter
.
skipProperty
();
aWriter
.
skipProperty
();
// drop down style
aWriter
.
skipProperty
();
// drop down style
aWriter
.
writeIntProperty
<
sal_uInt8
>
(
mnMultiSelect
);
aWriter
.
writeIntProperty
<
sal_uInt8
>
(
mnMultiSelect
);
aWriter
.
skipProperty
();
// maValue
;
aWriter
.
writeStringProperty
(
maValue
)
;
aWriter
.
writeStringProperty
(
maCaption
);
aWriter
.
writeStringProperty
(
maCaption
);
aWriter
.
skipProperty
();
// mnPicturePos );
aWriter
.
skipProperty
();
// mnPicturePos );
aWriter
.
writeIntProperty
<
sal_uInt32
>
(
mnBorderColor
);
aWriter
.
writeIntProperty
<
sal_uInt32
>
(
mnBorderColor
);
...
@@ -1484,7 +1474,7 @@ void AxMorphDataModelBase::exportBinaryModel( BinaryOutputStream& rOutStrm )
...
@@ -1484,7 +1474,7 @@ void AxMorphDataModelBase::exportBinaryModel( BinaryOutputStream& rOutStrm )
aWriter
.
skipProperty
();
// maPictureData
aWriter
.
skipProperty
();
// maPictureData
aWriter
.
skipProperty
();
// accelerator
aWriter
.
skipProperty
();
// accelerator
aWriter
.
skipProperty
();
// undefined
aWriter
.
skipProperty
();
// undefined
aWriter
.
skipProperty
();
// some bool
aWriter
.
writeBoolProperty
(
true
);
// must be 1 for morph
aWriter
.
writeStringProperty
(
maGroupName
);
aWriter
.
writeStringProperty
(
maGroupName
);
aWriter
.
finalizeExport
();
aWriter
.
finalizeExport
();
AxFontDataModel
::
exportBinaryModel
(
rOutStrm
);
AxFontDataModel
::
exportBinaryModel
(
rOutStrm
);
...
...
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