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
b49b1e4c
Kaydet (Commit)
b49b1e4c
authored
Mar 09, 2014
tarafından
Norbert Thiebaud
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
lotuswordpro: use native OUString api rather than a wrapper
Change-Id: Id670e3cb4982a67d096f548b6d105b97582e1958
üst
025498dd
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
19 deletions
+6
-19
lwptoc.cxx
lotuswordpro/source/filter/lwptoc.cxx
+1
-1
xfframestyle.cxx
lotuswordpro/source/filter/xfilter/xfframestyle.cxx
+1
-1
xfliststyle.cxx
lotuswordpro/source/filter/xfilter/xfliststyle.cxx
+3
-3
xfnumfmt.hxx
lotuswordpro/source/filter/xfilter/xfnumfmt.hxx
+1
-1
xfutil.cxx
lotuswordpro/source/filter/xfilter/xfutil.cxx
+0
-11
xfutil.hxx
lotuswordpro/source/filter/xfilter/xfutil.hxx
+0
-2
No files found.
lotuswordpro/source/filter/lwptoc.cxx
Dosyayı görüntüle @
b49b1e4c
...
@@ -219,7 +219,7 @@ void LwpTocSuperLayout::XFConvert(XFContentContainer* pCont)
...
@@ -219,7 +219,7 @@ void LwpTocSuperLayout::XFConvert(XFContentContainer* pCont)
pTemplate
->
AddEntry
(
enumXFIndexTemplatePage
,
"TOC Page Number Text Style"
);
pTemplate
->
AddEntry
(
enumXFIndexTemplatePage
,
"TOC Page Number Text Style"
);
}
}
pToc
->
AddTemplate
(
Int16ToOUString
(
i
),
m_pFoundry
->
FindActuralStyleName
(
pLevel
->
GetSearchStyle
()),
pTemplate
);
pToc
->
AddTemplate
(
OUString
::
number
((
sal_Int32
)
i
),
m_pFoundry
->
FindActuralStyleName
(
pLevel
->
GetSearchStyle
()),
pTemplate
);
bInserted
=
sal_True
;
bInserted
=
sal_True
;
}
}
...
...
lotuswordpro/source/filter/xfilter/xfframestyle.cxx
Dosyayı görüntüle @
b49b1e4c
...
@@ -176,7 +176,7 @@ void XFFrameStyle::ToXml(IXFStream *pStrm)
...
@@ -176,7 +176,7 @@ void XFFrameStyle::ToXml(IXFStream *pStrm)
if
(
m_aBackColor
.
IsValid
()
)
if
(
m_aBackColor
.
IsValid
()
)
{
{
pAttrList
->
AddAttribute
(
"fo:background-color"
,
m_aBackColor
.
ToString
()
);
pAttrList
->
AddAttribute
(
"fo:background-color"
,
m_aBackColor
.
ToString
()
);
pAttrList
->
AddAttribute
(
"style:background-transparency"
,
Int16ToOUString
(
m_nTransparency
)
+
"%"
);
pAttrList
->
AddAttribute
(
"style:background-transparency"
,
OUString
::
number
((
sal_Int32
)
m_nTransparency
)
+
"%"
);
}
}
//pad
//pad
...
...
lotuswordpro/source/filter/xfilter/xfliststyle.cxx
Dosyayı görüntüle @
b49b1e4c
...
@@ -79,11 +79,11 @@ void XFListlevelNumber::ToXml(IXFStream *pStrm)
...
@@ -79,11 +79,11 @@ void XFListlevelNumber::ToXml(IXFStream *pStrm)
IXFAttrList
*
pAttrList
=
pStrm
->
GetAttrList
();
IXFAttrList
*
pAttrList
=
pStrm
->
GetAttrList
();
pAttrList
->
Clear
();
pAttrList
->
Clear
();
pAttrList
->
AddAttribute
(
"text:level"
,
Int16ToOUString
(
m_nLevel
)
);
pAttrList
->
AddAttribute
(
"text:level"
,
OUString
::
number
((
sal_Int32
)
m_nLevel
)
);
//text:style-name,ignore now.
//text:style-name,ignore now.
m_aNumFmt
.
ToXml
(
pStrm
);
m_aNumFmt
.
ToXml
(
pStrm
);
if
(
m_nDisplayLevel
)
if
(
m_nDisplayLevel
)
pAttrList
->
AddAttribute
(
"text:display-levels"
,
Int16ToOUString
(
m_nDisplayLevel
)
);
pAttrList
->
AddAttribute
(
"text:display-levels"
,
OUString
::
number
((
sal_Int32
)
m_nDisplayLevel
)
);
pStrm
->
StartElement
(
"text:list-level-style-number"
);
pStrm
->
StartElement
(
"text:list-level-style-number"
);
...
@@ -114,7 +114,7 @@ void XFListLevelBullet::ToXml(IXFStream *pStrm)
...
@@ -114,7 +114,7 @@ void XFListLevelBullet::ToXml(IXFStream *pStrm)
IXFAttrList
*
pAttrList
=
pStrm
->
GetAttrList
();
IXFAttrList
*
pAttrList
=
pStrm
->
GetAttrList
();
pAttrList
->
Clear
();
pAttrList
->
Clear
();
pAttrList
->
AddAttribute
(
"text:level"
,
Int16ToOUString
(
m_nLevel
)
);
pAttrList
->
AddAttribute
(
"text:level"
,
OUString
::
number
((
sal_Int32
)
m_nLevel
)
);
//text:style-name,ignore now.
//text:style-name,ignore now.
m_aNumFmt
.
ToXml
(
pStrm
);
m_aNumFmt
.
ToXml
(
pStrm
);
//bullet-char
//bullet-char
...
...
lotuswordpro/source/filter/xfilter/xfnumfmt.hxx
Dosyayı görüntüle @
b49b1e4c
...
@@ -137,7 +137,7 @@ public:
...
@@ -137,7 +137,7 @@ public:
pAttrList
->
AddAttribute
(
"style:num-suffix"
,
m_strSuffix
);
pAttrList
->
AddAttribute
(
"style:num-suffix"
,
m_strSuffix
);
pAttrList
->
AddAttribute
(
"style:num-format"
,
m_strFormat
);
pAttrList
->
AddAttribute
(
"style:num-format"
,
m_strFormat
);
if
(
m_nStartValue
!=
0
)
if
(
m_nStartValue
!=
0
)
pAttrList
->
AddAttribute
(
"text:start-value"
,
Int16ToOUString
(
m_nStartValue
)
);
pAttrList
->
AddAttribute
(
"text:start-value"
,
OUString
::
number
((
sal_Int32
)
m_nStartValue
)
);
}
}
private
:
private
:
OUString
m_strPrefix
;
OUString
m_strPrefix
;
...
...
lotuswordpro/source/filter/xfilter/xfutil.cxx
Dosyayı görüntüle @
b49b1e4c
...
@@ -64,17 +64,6 @@
...
@@ -64,17 +64,6 @@
#include <rtl/ustrbuf.hxx>
#include <rtl/ustrbuf.hxx>
#include <sstream>
#include <sstream>
OUString
Int16ToOUString
(
sal_Int16
num
)
{
/*std::stringstream sstrm;
sstrm<<(int)num;
return OUString::createFromAscii(sstrm.str().c_str());
*/
sal_Int32
nNum
=
static_cast
<
sal_Int32
>
(
num
);
return
OUString
::
number
(
nNum
);
}
OUString
FloatToOUString
(
float
num
,
sal_Int32
/*precision*/
)
OUString
FloatToOUString
(
float
num
,
sal_Int32
/*precision*/
)
{
{
/*std::stringstream sstrm;
/*std::stringstream sstrm;
...
...
lotuswordpro/source/filter/xfilter/xfutil.hxx
Dosyayı görüntüle @
b49b1e4c
...
@@ -65,8 +65,6 @@
...
@@ -65,8 +65,6 @@
#include <rtl/ustring.hxx>
#include <rtl/ustring.hxx>
#include <string>
#include <string>
OUString
Int16ToOUString
(
sal_Int16
num
);
OUString
FloatToOUString
(
float
num
,
sal_Int32
precision
=
6
);
OUString
FloatToOUString
(
float
num
,
sal_Int32
precision
=
6
);
OUString
DateTimeToOUString
(
XFDateTime
&
dt
);
OUString
DateTimeToOUString
(
XFDateTime
&
dt
);
...
...
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