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
14f07803
Kaydet (Commit)
14f07803
authored
Ock 19, 2012
tarafından
Radek Doulik
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
updated custom shapes presets generator to use new SubViewSize property
üst
684fe8a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
generatePresetsCXX.pl
oox/source/drawingml/customshapes/generatePresetsCXX.pl
+1
-0
propertymap.cxx
oox/source/helper/propertymap.cxx
+24
-0
No files found.
oox/source/drawingml/customshapes/generatePresetsCXX.pl
Dosyayı görüntüle @
14f07803
...
@@ -62,6 +62,7 @@ sub startSource
...
@@ -62,6 +62,7 @@ sub startSource
#include \"oox/drawingml/customshapeproperties.hxx\"
#include \"oox/drawingml/customshapeproperties.hxx\"
#include \"oox/token/tokenmap.hxx\"
#include \"oox/token/tokenmap.hxx\"
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>
...
...
oox/source/helper/propertymap.cxx
Dosyayı görüntüle @
14f07803
...
@@ -44,6 +44,7 @@ using ::com::sun::star::text::WritingMode;
...
@@ -44,6 +44,7 @@ using ::com::sun::star::text::WritingMode;
#include <com/sun/star/beans/XPropertySetInfo.hpp>
#include <com/sun/star/beans/XPropertySetInfo.hpp>
#include <com/sun/star/container/XIndexReplace.hpp>
#include <com/sun/star/container/XIndexReplace.hpp>
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/drawing/TextHorizontalAdjust.hpp>
#include <com/sun/star/drawing/TextHorizontalAdjust.hpp>
#include <com/sun/star/drawing/TextVerticalAdjust.hpp>
#include <com/sun/star/drawing/TextVerticalAdjust.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp>
...
@@ -471,6 +472,7 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
...
@@ -471,6 +472,7 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
OUString
strValue
;
OUString
strValue
;
Sequence
<
OUString
>
strArray
;
Sequence
<
OUString
>
strArray
;
Sequence
<
Any
>
anyArray
;
Sequence
<
Any
>
anyArray
;
Sequence
<
awt
::
Size
>
sizeArray
;
Sequence
<
PropertyValue
>
propArray
;
Sequence
<
PropertyValue
>
propArray
;
Sequence
<
Sequence
<
PropertyValue
>
>
propArrayArray
;
Sequence
<
Sequence
<
PropertyValue
>
>
propArrayArray
;
Sequence
<
EnhancedCustomShapeAdjustmentValue
>
adjArray
;
Sequence
<
EnhancedCustomShapeAdjustmentValue
>
adjArray
;
...
@@ -482,6 +484,7 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
...
@@ -482,6 +484,7 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
EnhancedCustomShapeParameterPair
pp
;
EnhancedCustomShapeParameterPair
pp
;
EnhancedCustomShapeParameter
par
;
EnhancedCustomShapeParameter
par
;
awt
::
Rectangle
rect
;
awt
::
Rectangle
rect
;
awt
::
Size
size
;
sal_Int32
intValue
=
0
;
sal_Int32
intValue
=
0
;
sal_uInt32
uintValue
=
0
;
sal_uInt32
uintValue
=
0
;
sal_Int16
int16Value
=
0
;
sal_Int16
int16Value
=
0
;
...
@@ -523,6 +526,19 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
...
@@ -523,6 +526,19 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
fprintf
(
stderr
,
"}
\n
"
);
fprintf
(
stderr
,
"}
\n
"
);
}
}
return
"aPropSequence"
;
return
"aPropSequence"
;
}
else
if
(
value
>>=
sizeArray
)
{
printLevel
(
level
);
fprintf
(
stderr
,
"Sequence< awt::Size > aSizeSequence (%"
SAL_PRIdINT32
");
\n
"
,
sizeArray
.
getLength
());
for
(
int
i
=
0
;
i
<
sizeArray
.
getLength
();
i
++
)
{
printLevel
(
level
);
fprintf
(
stderr
,
"{
\n
"
);
const
char
*
var
=
lclDumpAnyValueCode
(
makeAny
(
sizeArray
[
i
]),
level
+
1
);
printLevel
(
level
+
1
);
fprintf
(
stderr
,
"aSizeSequence [%d] = %s;
\n
"
,
i
,
var
);
printLevel
(
level
);
fprintf
(
stderr
,
"}
\n
"
);
}
return
"aSizeSequence"
;
}
else
if
(
value
>>=
propArrayArray
)
{
}
else
if
(
value
>>=
propArrayArray
)
{
printLevel
(
level
);
printLevel
(
level
);
fprintf
(
stderr
,
"Sequence< Sequence < PropertyValue > > aPropSequenceSequence (%"
SAL_PRIdINT32
");
\n
"
,
propArrayArray
.
getLength
());
fprintf
(
stderr
,
"Sequence< Sequence < PropertyValue > > aPropSequenceSequence (%"
SAL_PRIdINT32
");
\n
"
,
propArrayArray
.
getLength
());
...
@@ -807,6 +823,14 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
...
@@ -807,6 +823,14 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
printLevel
(
level
);
printLevel
(
level
);
fprintf
(
stderr
,
"aRectangle.Height = %"
SAL_PRIdINT32
";
\n
"
,
rect
.
Height
);
fprintf
(
stderr
,
"aRectangle.Height = %"
SAL_PRIdINT32
";
\n
"
,
rect
.
Height
);
return
"aRectangle"
;
return
"aRectangle"
;
}
else
if
(
value
>>=
size
)
{
printLevel
(
level
);
fprintf
(
stderr
,
"awt::Size aSize;
\n
"
);
printLevel
(
level
);
fprintf
(
stderr
,
"aSize.Width = %"
SAL_PRIdINT32
";
\n
"
,
size
.
Width
);
printLevel
(
level
);
fprintf
(
stderr
,
"aSize.Height = %"
SAL_PRIdINT32
";
\n
"
,
size
.
Height
);
return
"aSize"
;
}
else
if
(
value
.
isExtractableTo
(
::
getCppuType
((
const
sal_Int32
*
)
0
)))
{
}
else
if
(
value
.
isExtractableTo
(
::
getCppuType
((
const
sal_Int32
*
)
0
)))
{
fprintf
(
stderr
,
"is extractable to int32
\n
"
);
fprintf
(
stderr
,
"is extractable to int32
\n
"
);
}
}
...
...
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