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
530db757
Kaydet (Commit)
530db757
authored
Haz 17, 2014
tarafından
matteocam
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Changed BColor to Color in TextFooPrimitive2D classes
Change-Id: I4f29ec307f7f86e0a43d661785f90601e24a16ce
üst
fe0b0c06
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
11 deletions
+18
-11
metafileprimitive2d.cxx
drawinglayer/source/primitive2d/metafileprimitive2d.cxx
+2
-2
textdecoratedprimitive2d.cxx
drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx
+1
-1
textprimitive2d.cxx
drawinglayer/source/primitive2d/textprimitive2d.cxx
+1
-1
textdecoratedprimitive2d.hxx
...ude/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx
+1
-1
textprimitive2d.hxx
include/drawinglayer/primitive2d/textprimitive2d.hxx
+11
-3
svdotextdecomposition.cxx
svx/source/svdraw/svdotextdecomposition.cxx
+2
-3
No files found.
drawinglayer/source/primitive2d/metafileprimitive2d.cxx
Dosyayı görüntüle @
530db757
...
@@ -1293,7 +1293,7 @@ namespace
...
@@ -1293,7 +1293,7 @@ namespace
// prepare FontColor and Locale
// prepare FontColor and Locale
const
basegfx
::
BColor
aFontColor
(
rProperty
.
getTextColor
());
const
basegfx
::
BColor
aFontColor
(
rProperty
.
getTextColor
());
const
basegfx
::
BColor
aBFillColor
(
rFont
.
GetFillColor
().
getB
Color
());
const
Color
aFillColor
(
rFont
.
GetFill
Color
());
const
com
::
sun
::
star
::
lang
::
Locale
aLocale
(
LanguageTag
(
rProperty
.
getLanguageType
()).
getLocale
());
const
com
::
sun
::
star
::
lang
::
Locale
aLocale
(
LanguageTag
(
rProperty
.
getLanguageType
()).
getLocale
());
const
bool
bWordLineMode
(
rFont
.
IsWordLineMode
());
const
bool
bWordLineMode
(
rFont
.
IsWordLineMode
());
...
@@ -1355,7 +1355,7 @@ namespace
...
@@ -1355,7 +1355,7 @@ namespace
aFontAttribute
,
aFontAttribute
,
aLocale
,
aLocale
,
aFontColor
,
aFontColor
,
a
B
FillColor
,
aFillColor
,
// attributes for TextDecoratedPortionPrimitive2D
// attributes for TextDecoratedPortionPrimitive2D
rProperty
.
getOverlineColorActive
()
?
rProperty
.
getOverlineColor
()
:
aFontColor
,
rProperty
.
getOverlineColorActive
()
?
rProperty
.
getOverlineColor
()
:
aFontColor
,
...
...
drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx
Dosyayı görüntüle @
530db757
...
@@ -317,7 +317,7 @@ namespace drawinglayer
...
@@ -317,7 +317,7 @@ namespace drawinglayer
const
attribute
::
FontAttribute
&
rFontAttribute
,
const
attribute
::
FontAttribute
&
rFontAttribute
,
const
::
com
::
sun
::
star
::
lang
::
Locale
&
rLocale
,
const
::
com
::
sun
::
star
::
lang
::
Locale
&
rLocale
,
const
basegfx
::
BColor
&
rFontColor
,
const
basegfx
::
BColor
&
rFontColor
,
const
basegfx
::
B
Color
&
rFillColor
,
const
Color
&
rFillColor
,
// local parameters
// local parameters
const
basegfx
::
BColor
&
rOverlineColor
,
const
basegfx
::
BColor
&
rOverlineColor
,
...
...
drawinglayer/source/primitive2d/textprimitive2d.cxx
Dosyayı görüntüle @
530db757
...
@@ -229,7 +229,7 @@ namespace drawinglayer
...
@@ -229,7 +229,7 @@ namespace drawinglayer
const
basegfx
::
BColor
&
rFontColor
,
const
basegfx
::
BColor
&
rFontColor
,
bool
bFilled
,
bool
bFilled
,
long
nWidthToFill
,
long
nWidthToFill
,
const
basegfx
::
B
Color
&
rFillColor
)
const
Color
&
rFillColor
)
:
BufferedDecompositionPrimitive2D
(),
:
BufferedDecompositionPrimitive2D
(),
maTextTransform
(
rNewTransform
),
maTextTransform
(
rNewTransform
),
maText
(
rText
),
maText
(
rText
),
...
...
include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx
Dosyayı görüntüle @
530db757
...
@@ -94,7 +94,7 @@ namespace drawinglayer
...
@@ -94,7 +94,7 @@ namespace drawinglayer
const
attribute
::
FontAttribute
&
rFontAttribute
,
const
attribute
::
FontAttribute
&
rFontAttribute
,
const
::
com
::
sun
::
star
::
lang
::
Locale
&
rLocale
,
const
::
com
::
sun
::
star
::
lang
::
Locale
&
rLocale
,
const
basegfx
::
BColor
&
rFontColor
,
const
basegfx
::
BColor
&
rFontColor
,
const
basegfx
::
B
Color
&
rFillColor
,
const
Color
&
rFillColor
,
/// local parameters
/// local parameters
const
basegfx
::
BColor
&
rOverlineColor
,
const
basegfx
::
BColor
&
rOverlineColor
,
...
...
include/drawinglayer/primitive2d/textprimitive2d.hxx
Dosyayı görüntüle @
530db757
...
@@ -89,6 +89,14 @@ namespace drawinglayer
...
@@ -89,6 +89,14 @@ namespace drawinglayer
@param rFontColor
@param rFontColor
The font color to use
The font color to use
@param bFilled
@param nWidthToFill
@param rFillColor
Text background color (has nothing to do with bFilled and nWidthToFill)
*/
*/
class
DRAWINGLAYER_DLLPUBLIC
TextSimplePortionPrimitive2D
:
public
BufferedDecompositionPrimitive2D
class
DRAWINGLAYER_DLLPUBLIC
TextSimplePortionPrimitive2D
:
public
BufferedDecompositionPrimitive2D
{
{
...
@@ -124,7 +132,7 @@ namespace drawinglayer
...
@@ -124,7 +132,7 @@ namespace drawinglayer
long
mnWidthToFill
;
// the width to fill
long
mnWidthToFill
;
// the width to fill
/// The fill color of the text
/// The fill color of the text
basegfx
::
B
Color
maTextFillColor
;
Color
maTextFillColor
;
protected
:
protected
:
/// local decomposition.
/// local decomposition.
...
@@ -143,7 +151,7 @@ namespace drawinglayer
...
@@ -143,7 +151,7 @@ namespace drawinglayer
const
basegfx
::
BColor
&
rFontColor
,
const
basegfx
::
BColor
&
rFontColor
,
bool
bFilled
=
false
,
bool
bFilled
=
false
,
long
nWidthToFill
=
0
,
long
nWidthToFill
=
0
,
const
basegfx
::
BColor
&
rFillColor
=
Color
(
COL_TRANSPARENT
).
getBColor
()
);
const
Color
&
rFillColor
=
COL_TRANSPARENT
);
/// helpers
/// helpers
/** get text outlines as polygons and their according ObjectTransformation. Handles all
/** get text outlines as polygons and their according ObjectTransformation. Handles all
...
@@ -160,7 +168,7 @@ namespace drawinglayer
...
@@ -160,7 +168,7 @@ namespace drawinglayer
const
attribute
::
FontAttribute
&
getFontAttribute
()
const
{
return
maFontAttribute
;
}
const
attribute
::
FontAttribute
&
getFontAttribute
()
const
{
return
maFontAttribute
;
}
const
::
com
::
sun
::
star
::
lang
::
Locale
&
getLocale
()
const
{
return
maLocale
;
}
const
::
com
::
sun
::
star
::
lang
::
Locale
&
getLocale
()
const
{
return
maLocale
;
}
const
basegfx
::
BColor
&
getFontColor
()
const
{
return
maFontColor
;
}
const
basegfx
::
BColor
&
getFontColor
()
const
{
return
maFontColor
;
}
const
basegfx
::
B
Color
&
getTextFillColor
()
const
{
return
maTextFillColor
;
}
const
Color
&
getTextFillColor
()
const
{
return
maTextFillColor
;
}
bool
isFilled
()
const
{
return
mbFilled
;
}
bool
isFilled
()
const
{
return
mbFilled
;
}
long
getWidthToFill
()
const
{
return
mnWidthToFill
;
}
long
getWidthToFill
()
const
{
return
mnWidthToFill
;
}
...
...
svx/source/svdraw/svdotextdecomposition.cxx
Dosyayı görüntüle @
530db757
...
@@ -260,7 +260,6 @@ namespace
...
@@ -260,7 +260,6 @@ namespace
const
basegfx
::
BColor
aBFontColor
(
aFontColor
.
getBColor
());
const
basegfx
::
BColor
aBFontColor
(
aFontColor
.
getBColor
());
const
Color
aTextFillColor
(
rInfo
.
mrFont
.
GetFillColor
());
const
Color
aTextFillColor
(
rInfo
.
mrFont
.
GetFillColor
());
const
basegfx
::
BColor
aBTextFillColor
(
aTextFillColor
.
getBColor
());
// prepare wordLineMode (for underline and strikeout)
// prepare wordLineMode (for underline and strikeout)
// NOT for bullet texts. It is set (this may be an error by itself), but needs to be suppressed to hinder e.g. '1)'
// NOT for bullet texts. It is set (this may be an error by itself), but needs to be suppressed to hinder e.g. '1)'
...
@@ -340,7 +339,7 @@ namespace
...
@@ -340,7 +339,7 @@ namespace
aFontAttribute
,
aFontAttribute
,
rInfo
.
mpLocale
?
*
rInfo
.
mpLocale
:
::
com
::
sun
::
star
::
lang
::
Locale
(),
rInfo
.
mpLocale
?
*
rInfo
.
mpLocale
:
::
com
::
sun
::
star
::
lang
::
Locale
(),
aBFontColor
,
aBFontColor
,
a
B
TextFillColor
,
aTextFillColor
,
// attributes for TextDecoratedPortionPrimitive2D
// attributes for TextDecoratedPortionPrimitive2D
aBOverlineColor
,
aBOverlineColor
,
...
@@ -370,7 +369,7 @@ namespace
...
@@ -370,7 +369,7 @@ namespace
aBFontColor
,
aBFontColor
,
rInfo
.
mbFilled
,
rInfo
.
mbFilled
,
rInfo
.
mnWidthToFill
,
rInfo
.
mnWidthToFill
,
a
B
TextFillColor
);
aTextFillColor
);
}
}
if
(
rInfo
.
mbEndOfBullet
)
if
(
rInfo
.
mbEndOfBullet
)
...
...
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