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
abe49a84
Kaydet (Commit)
abe49a84
authored
Eyl 16, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert CPPCANVAS module from String to OUString
Change-Id: I12a219a50cc3a9b07c9852cc0d417f71797b9e15
üst
e6d91ff2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
14 deletions
+13
-14
implrenderer.hxx
cppcanvas/source/inc/implrenderer.hxx
+1
-1
emfplus.cxx
cppcanvas/source/mtfrenderer/emfplus.cxx
+2
-2
implrenderer.cxx
cppcanvas/source/mtfrenderer/implrenderer.cxx
+6
-6
textaction.cxx
cppcanvas/source/mtfrenderer/textaction.cxx
+3
-3
textaction.hxx
cppcanvas/source/mtfrenderer/textaction.hxx
+1
-2
No files found.
cppcanvas/source/inc/implrenderer.hxx
Dosyayı görüntüle @
abe49a84
...
...
@@ -263,7 +263,7 @@ static float GetSwapFloat( SvStream& rSt )
bool
bSubsettableActions
);
void
createTextAction
(
const
::
Point
&
rStartPoint
,
const
String
rString
,
const
OUString
rString
,
int
nIndex
,
int
nLength
,
const
sal_Int32
*
pCharWidths
,
...
...
cppcanvas/source/mtfrenderer/emfplus.cxx
Dosyayı görüntüle @
abe49a84
...
...
@@ -750,7 +750,7 @@ namespace cppcanvas
if
(
width
==
0
)
{
// non native formats
GraphicFilter
filter
;
filter
.
ImportGraphic
(
graphic
,
String
(),
s
);
filter
.
ImportGraphic
(
graphic
,
OUString
(),
s
);
SAL_INFO
(
"cppcanvas.emf"
,
"EMF+
\t
bitmap width: "
<<
graphic
.
GetBitmap
().
GetSizePixel
().
Width
()
<<
" height: "
<<
graphic
.
GetBitmap
().
GetSizePixel
().
Height
());
}
...
...
@@ -764,7 +764,7 @@ namespace cppcanvas
// workaround buggy metafiles, which have wrong mfSize set (n#705956 for example)
SvMemoryStream
mfStream
(((
char
*
)
s
.
GetData
())
+
s
.
Tell
(),
bUseWholeStream
?
s
.
remainingSize
()
:
dataSize
-
16
,
STREAM_READ
);
filter
.
ImportGraphic
(
graphic
,
String
(),
mfStream
);
filter
.
ImportGraphic
(
graphic
,
OUString
(),
mfStream
);
// debug code - write the stream to debug file /tmp/emf-stream.emf
#if OSL_DEBUG_LEVEL > 1
...
...
cppcanvas/source/mtfrenderer/implrenderer.cxx
Dosyayı görüntüle @
abe49a84
...
...
@@ -849,14 +849,14 @@ namespace cppcanvas
// create text effects such as shadow/relief/embossed
void
ImplRenderer
::
createTextAction
(
const
::
Point
&
rStartPoint
,
const
String
rString
,
const
OUString
rString
,
int
nIndex
,
int
nLength
,
const
sal_Int32
*
pCharWidths
,
const
ActionFactoryParameters
&
rParms
,
bool
bSubsettableActions
)
{
ENSURE_OR_THROW
(
nIndex
>=
0
&&
nLength
<=
rString
.
Len
()
+
nIndex
,
ENSURE_OR_THROW
(
nIndex
>=
0
&&
nLength
<=
rString
.
getLength
()
+
nIndex
,
"ImplRenderer::createTextWithEffectsAction(): Invalid text index"
);
if
(
!
nLength
)
...
...
@@ -975,11 +975,11 @@ namespace cppcanvas
nMaxWidth
+=
nWidth
+
1
;
long
nFullStrikeoutWidth
=
0
;
String
aStrikeoutText
;
OU
String
aStrikeoutText
;
while
(
(
nFullStrikeoutWidth
+=
nStrikeoutWidth
)
<
nMaxWidth
+
1
)
aStrikeoutText
+=
pChars
[
0
]
;
aStrikeoutText
+=
OUString
(
pChars
[
0
])
;
xub_StrLen
nLen
=
aStrikeoutText
.
Len
();
sal_Int32
nLen
=
aStrikeoutText
.
getLength
();
if
(
nLen
)
{
...
...
@@ -1008,7 +1008,7 @@ namespace cppcanvas
aShadowColor
,
aStrikeoutText
,
nStartPos
,
aStrikeoutText
.
Len
(),
aStrikeoutText
.
getLength
(),
pStrikeoutCharWidths
,
rParms
.
mrVDev
,
rParms
.
mrCanvas
,
...
...
cppcanvas/source/mtfrenderer/textaction.cxx
Dosyayı görüntüle @
abe49a84
...
...
@@ -189,7 +189,7 @@ namespace cppcanvas
return
aCharWidthSeq
;
}
uno
::
Sequence
<
double
>
setupDXArray
(
const
::
String
&
rText
,
uno
::
Sequence
<
double
>
setupDXArray
(
const
OU
String
&
rText
,
sal_Int32
nStartPos
,
sal_Int32
nLen
,
VirtualDevice
&
rVDev
,
...
...
@@ -1935,7 +1935,7 @@ namespace cppcanvas
const
::
Color
&
rReliefColor
,
const
::
basegfx
::
B2DSize
&
rShadowOffset
,
const
::
Color
&
rShadowColor
,
const
String
&
rText
,
const
OUString
&
rText
,
sal_Int32
nStartPos
,
sal_Int32
nLen
,
const
sal_Int32
*
pDXArray
,
...
...
@@ -2085,7 +2085,7 @@ namespace cppcanvas
const
::
Color
&
rReliefColor
,
const
::
Size
&
rShadowOffset
,
const
::
Color
&
rShadowColor
,
const
String
&
rText
,
const
OUString
&
rText
,
sal_Int32
nStartPos
,
sal_Int32
nLen
,
const
sal_Int32
*
pDXArray
,
...
...
cppcanvas/source/mtfrenderer/textaction.hxx
Dosyayı görüntüle @
abe49a84
...
...
@@ -31,7 +31,6 @@ class VirtualDevice;
class
Point
;
class
Size
;
class
Color
;
class
String
;
/* Definition of internal::TextActionFactory class */
...
...
@@ -71,7 +70,7 @@ namespace cppcanvas
const
::
Color
&
rReliefColor
,
const
::
Size
&
rShadowOffset
,
const
::
Color
&
rShadowColor
,
const
::
String
&
rText
,
const
OU
String
&
rText
,
sal_Int32
nStartPos
,
sal_Int32
nLen
,
const
sal_Int32
*
pDXArray
,
...
...
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