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
547c58a6
Kaydet (Commit)
547c58a6
authored
Nis 04, 2015
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix OOXML vs MSO2007 in chart import in one more place
Change-Id: I96bafad0cc73b27c2a08b5205a35b10b4901afb9
üst
b326270f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
seriescontext.cxx
oox/source/drawingml/chart/seriescontext.cxx
+6
-5
No files found.
oox/source/drawingml/chart/seriescontext.cxx
Dosyayı görüntüle @
547c58a6
...
@@ -36,13 +36,12 @@ using ::oox::core::ContextHandlerRef;
...
@@ -36,13 +36,12 @@ using ::oox::core::ContextHandlerRef;
namespace
{
namespace
{
ContextHandlerRef
lclDataLabelSharedCreateContext
(
ContextHandler2
&
rContext
,
ContextHandlerRef
lclDataLabelSharedCreateContext
(
ContextHandler2
&
rContext
,
sal_Int32
nElement
,
const
AttributeList
&
rAttribs
,
DataLabelModelBase
&
orModel
)
sal_Int32
nElement
,
const
AttributeList
&
rAttribs
,
DataLabelModelBase
&
orModel
,
bool
bMSO2007
)
{
{
if
(
rContext
.
isRootElement
()
)
switch
(
nElement
)
if
(
rContext
.
isRootElement
()
)
switch
(
nElement
)
{
{
case
C_TOKEN
(
delete
):
case
C_TOKEN
(
delete
):
// default is 'false', not 'true' as specified
orModel
.
mbDeleted
=
rAttribs
.
getBool
(
XML_val
,
bMSO2007
?
false
:
true
);
orModel
.
mbDeleted
=
rAttribs
.
getBool
(
XML_val
,
false
);
return
0
;
return
0
;
case
C_TOKEN
(
dLblPos
):
case
C_TOKEN
(
dLblPos
):
orModel
.
monLabelPos
=
rAttribs
.
getToken
(
XML_val
,
XML_TOKEN_INVALID
);
orModel
.
monLabelPos
=
rAttribs
.
getToken
(
XML_val
,
XML_TOKEN_INVALID
);
...
@@ -108,7 +107,8 @@ ContextHandlerRef DataLabelContext::onCreateContext( sal_Int32 nElement, const A
...
@@ -108,7 +107,8 @@ ContextHandlerRef DataLabelContext::onCreateContext( sal_Int32 nElement, const A
case
C_TOKEN
(
tx
):
case
C_TOKEN
(
tx
):
return
new
TextContext
(
*
this
,
mrModel
.
mxText
.
create
()
);
return
new
TextContext
(
*
this
,
mrModel
.
mxText
.
create
()
);
}
}
return
lclDataLabelSharedCreateContext
(
*
this
,
nElement
,
rAttribs
,
mrModel
);
bool
bMSO2007
=
getFilter
().
isMSO2007Document
();
return
lclDataLabelSharedCreateContext
(
*
this
,
nElement
,
rAttribs
,
mrModel
,
bMSO2007
);
}
}
void
DataLabelContext
::
onCharacters
(
const
OUString
&
rChars
)
void
DataLabelContext
::
onCharacters
(
const
OUString
&
rChars
)
...
@@ -138,7 +138,8 @@ ContextHandlerRef DataLabelsContext::onCreateContext( sal_Int32 nElement, const
...
@@ -138,7 +138,8 @@ ContextHandlerRef DataLabelsContext::onCreateContext( sal_Int32 nElement, const
mrModel
.
mbShowLeaderLines
=
rAttribs
.
getBool
(
XML_val
,
false
);
mrModel
.
mbShowLeaderLines
=
rAttribs
.
getBool
(
XML_val
,
false
);
return
0
;
return
0
;
}
}
return
lclDataLabelSharedCreateContext
(
*
this
,
nElement
,
rAttribs
,
mrModel
);
bool
bMSO2007
=
getFilter
().
isMSO2007Document
();
return
lclDataLabelSharedCreateContext
(
*
this
,
nElement
,
rAttribs
,
mrModel
,
bMSO2007
);
}
}
void
DataLabelsContext
::
onCharacters
(
const
OUString
&
rChars
)
void
DataLabelsContext
::
onCharacters
(
const
OUString
&
rChars
)
...
...
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