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
43ff7882
Kaydet (Commit)
43ff7882
authored
Mar 04, 2014
tarafından
Markus Mohrhard
Kaydeden (comit)
Markus Mohrhard
Mar 04, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix indentation
Change-Id: Ib4460d6ba59dbe22436fb710ee7a108804df0b86
üst
b9ac62e1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
23 deletions
+60
-23
propertymap.cxx
oox/source/helper/propertymap.cxx
+60
-23
No files found.
oox/source/helper/propertymap.cxx
Dosyayı görüntüle @
43ff7882
...
...
@@ -547,11 +547,14 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
TextHorizontalAdjust
aTextHorizAdj
;
Reference
<
XIndexReplace
>
xNumRule
;
if
(
value
>>=
strValue
)
{
if
(
value
>>=
strValue
)
{
printLevel
(
level
);
fprintf
(
stderr
,
"OUString str =
\"
%s
\"
;
\n
"
,
USS
(
strValue
)
);
return
"Any (str)"
;
}
else
if
(
value
>>=
strArray
)
{
}
else
if
(
value
>>=
strArray
)
{
if
(
strArray
.
getLength
()
==
0
)
return
"Sequence< OUString >(0)"
;
...
...
@@ -564,7 +567,9 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
printLevel
(
level
);
fprintf
(
stderr
,
"};
\n
"
);
return
"createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )"
;
}
else
if
(
value
>>=
propArray
)
{
}
else
if
(
value
>>=
propArray
)
{
printLevel
(
level
);
fprintf
(
stderr
,
"Sequence< PropertyValue > aPropSequence (%"
SAL_PRIdINT32
");
\n
"
,
propArray
.
getLength
());
for
(
int
i
=
0
;
i
<
propArray
.
getLength
();
i
++
)
{
...
...
@@ -579,7 +584,9 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
fprintf
(
stderr
,
"}
\n
"
);
}
return
"aPropSequence"
;
}
else
if
(
value
>>=
sizeArray
)
{
}
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
++
)
{
...
...
@@ -592,7 +599,9 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
fprintf
(
stderr
,
"}
\n
"
);
}
return
"aSizeSequence"
;
}
else
if
(
value
>>=
propArrayArray
)
{
}
else
if
(
value
>>=
propArrayArray
)
{
printLevel
(
level
);
fprintf
(
stderr
,
"Sequence< Sequence < PropertyValue > > aPropSequenceSequence (%"
SAL_PRIdINT32
");
\n
"
,
propArrayArray
.
getLength
());
for
(
int
i
=
0
;
i
<
propArrayArray
.
getLength
();
i
++
)
{
...
...
@@ -605,13 +614,17 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
fprintf
(
stderr
,
"}
\n
"
);
}
return
"aPropSequenceSequence"
;
}
else
if
(
value
>>=
anyArray
)
{
}
else
if
(
value
>>=
anyArray
)
{
fprintf
(
stderr
,
"%s
\n
"
,
USS
(
value
.
getValueTypeName
()));
for
(
int
i
=
0
;
i
<
anyArray
.
getLength
();
i
++
)
{
fprintf
(
stderr
,
"
\t\t\t
[%3d] (%s) "
,
i
,
USS
(
value
.
getValueTypeName
())
);
lclDumpAnyValue
(
anyArray
[
i
]
);
}
}
else
if
(
value
>>=
adjArray
)
{
}
else
if
(
value
>>=
adjArray
)
{
printLevel
(
level
);
fprintf
(
stderr
,
"Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (%"
SAL_PRIdINT32
");
\n
"
,
adjArray
.
getLength
());
for
(
int
i
=
0
;
i
<
adjArray
.
getLength
();
i
++
)
{
...
...
@@ -628,7 +641,9 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
fprintf
(
stderr
,
"}
\n
"
);
}
return
"aAdjSequence"
;
}
else
if
(
value
>>=
segArray
)
{
}
else
if
(
value
>>=
segArray
)
{
if
(
segArray
.
getLength
()
==
0
)
return
"Sequence< EnhancedCustomShapeSegment >(0)"
;
...
...
@@ -644,7 +659,9 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
printLevel
(
level
);
fprintf
(
stderr
,
"};
\n
"
);
return
"createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )"
;
}
else
if
(
value
>>=
segTextFrame
)
{
}
else
if
(
value
>>=
segTextFrame
)
{
printLevel
(
level
);
fprintf
(
stderr
,
"Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (%"
SAL_PRIdINT32
");
\n
"
,
segTextFrame
.
getLength
());
for
(
int
i
=
0
;
i
<
segTextFrame
.
getLength
();
i
++
)
{
...
...
@@ -657,7 +674,9 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
fprintf
(
stderr
,
"}
\n
"
);
}
return
"aTextFrameSeq"
;
}
else
if
(
value
>>=
ppArray
)
{
}
else
if
(
value
>>=
ppArray
)
{
printLevel
(
level
);
if
(
ppArray
.
getLength
()
==
0
)
return
"Sequence< EnhancedCustomShapeParameterPair >(0)"
;
...
...
@@ -671,7 +690,9 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
fprintf
(
stderr
,
"};
\n
"
);
return
"createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)"
;
}
else
if
(
value
>>=
segment
)
{
}
else
if
(
value
>>=
segment
)
{
printLevel
(
level
);
fprintf
(
stderr
,
"EnhancedCustomShapeSegment aSegment;
\n
"
);
printLevel
(
level
);
...
...
@@ -680,7 +701,9 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
printLevel
(
level
);
fprintf
(
stderr
,
"aSegment.Count = %d;
\n
"
,
segment
.
Count
);
return
"aSegment"
;
}
else
if
(
value
>>=
textFrame
)
{
}
else
if
(
value
>>=
textFrame
)
{
printLevel
(
level
);
fprintf
(
stderr
,
"EnhancedCustomShapeTextFrame aTextFrame;
\n
"
);
printLevel
(
level
);
...
...
@@ -704,14 +727,18 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
fprintf
(
stderr
,
"}
\n
"
);
return
"aTextFrame"
;
}
else
if
(
value
>>=
pp
)
{
}
else
if
(
value
>>=
pp
)
{
printLevel
(
level
);
fprintf
(
stderr
,
"static const CustomShapeProvider::ParameterPairData aData =
\n
"
);
printParameterPairData
(
level
,
pp
);
fprintf
(
stderr
,
";
\n
"
);
return
"createParameterPair(&aData)"
;
}
else
if
(
value
>>=
par
)
{
}
else
if
(
value
>>=
par
)
{
printLevel
(
level
);
fprintf
(
stderr
,
"EnhancedCustomShapeParameter aParameter;
\n
"
);
const
char
*
var
=
lclDumpAnyValueCode
(
par
.
Value
,
level
);
...
...
@@ -721,11 +748,14 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
fprintf
(
stderr
,
"aParameter.Type = %s;
\n
"
,
lclGetEnhancedParameterType
(
par
.
Type
));
return
"aParameter"
;
}
else
if
(
value
>>=
longValue
)
{
}
else
if
(
value
>>=
longValue
)
{
printLevel
(
level
);
fprintf
(
stderr
,
"Any aAny ((sal_Int32) %ld);
\n
"
,
longValue
);
return
"aAny"
;
}
else
if
(
value
>>=
intValue
)
}
else
if
(
value
>>=
intValue
)
fprintf
(
stderr
,
"%"
SAL_PRIdINT32
" (hex: %"
SAL_PRIxUINT32
")
\n
"
,
intValue
,
intValue
);
else
if
(
value
>>=
uintValue
)
fprintf
(
stderr
,
"%"
SAL_PRIdINT32
" (hex: %"
SAL_PRIxUINT32
")
\n
"
,
uintValue
,
uintValue
);
...
...
@@ -740,7 +770,8 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
return
"Any ((sal_Bool) sal_True)"
;
else
return
"Any ((sal_Bool) sal_False)"
;
}
else
if
(
value
>>=
xNumRule
)
{
}
else
if
(
value
>>=
xNumRule
)
{
fprintf
(
stderr
,
"XIndexReplace
\n
"
);
for
(
int
k
=
0
;
k
<
xNumRule
->
getCount
();
k
++
)
{
Sequence
<
PropertyValue
>
aBulletPropSeq
;
...
...
@@ -752,7 +783,8 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
}
}
}
}
else
if
(
value
>>=
aWritingMode
)
}
else
if
(
value
>>=
aWritingMode
)
fprintf
(
stderr
,
"%d writing mode
\n
"
,
aWritingMode
);
else
if
(
value
>>=
aTextVertAdj
)
{
const
char
*
s
=
"unknown"
;
...
...
@@ -774,7 +806,8 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
break
;
}
fprintf
(
stderr
,
"%s
\n
"
,
s
);
}
else
if
(
value
>>=
aTextHorizAdj
)
{
}
else
if
(
value
>>=
aTextHorizAdj
)
{
const
char
*
s
=
"unknown"
;
switch
(
aTextHorizAdj
)
{
case
TextHorizontalAdjust_LEFT
:
...
...
@@ -794,9 +827,11 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
break
;
}
fprintf
(
stderr
,
"%s
\n
"
,
s
);
}
else
if
(
value
>>=
spacing
)
{
}
else
if
(
value
>>=
spacing
)
{
fprintf
(
stderr
,
"mode: %d value: %d
\n
"
,
spacing
.
Mode
,
spacing
.
Height
);
}
else
if
(
value
>>=
rect
)
{
}
else
if
(
value
>>=
rect
)
{
printLevel
(
level
);
fprintf
(
stderr
,
"awt::Rectangle aRectangle;
\n
"
);
printLevel
(
level
);
...
...
@@ -808,7 +843,8 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
printLevel
(
level
);
fprintf
(
stderr
,
"aRectangle.Height = %"
SAL_PRIdINT32
";
\n
"
,
rect
.
Height
);
return
"aRectangle"
;
}
else
if
(
value
>>=
size
)
{
}
else
if
(
value
>>=
size
)
{
printLevel
(
level
);
fprintf
(
stderr
,
"awt::Size aSize;
\n
"
);
printLevel
(
level
);
...
...
@@ -816,7 +852,8 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
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
"
);
}
else
...
...
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