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
bf8279d8
Kaydet (Commit)
bf8279d8
authored
Agu 26, 2014
tarafından
Markus Mohrhard
Kaydeden (comit)
Markus Mohrhard
Agu 28, 2015
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
import font underline
Change-Id: I4857d9d49b9f6ef1b92a1d5f61f9f9e852620949
üst
0bd4408a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
2 deletions
+21
-2
orcusinterface.hxx
sc/source/filter/inc/orcusinterface.hxx
+2
-0
interface.cxx
sc/source/filter/orcus/interface.cxx
+19
-2
No files found.
sc/source/filter/inc/orcusinterface.hxx
Dosyayı görüntüle @
bf8279d8
...
...
@@ -14,6 +14,7 @@
#include "documentimport.hxx"
#include <tools/color.hxx>
#include <tools/fontenum.hxx>
#include "sharedformulagroups.hxx"
...
...
@@ -170,6 +171,7 @@ private:
OUString
maName
;
double
mnSize
;
Color
maColor
;
FontUnderline
meUnderline
;
font
();
...
...
sc/source/filter/orcus/interface.cxx
Dosyayı görüntüle @
bf8279d8
...
...
@@ -24,6 +24,7 @@
#include <editeng/postitem.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/udlnitem.hxx>
#include <formula/token.hxx>
#include <tools/datetime.hxx>
...
...
@@ -485,7 +486,8 @@ ScOrcusStyles::ScOrcusStyles(ScDocument& rDoc):
ScOrcusStyles
::
font
::
font
()
:
mbBold
(
false
),
mbItalic
(
false
),
mnSize
(
10
)
mnSize
(
10
),
meUnderline
(
UNDERLINE_NONE
)
{
}
...
...
@@ -498,6 +500,7 @@ void ScOrcusStyles::font::applyToItemSet(SfxItemSet& rSet) const
rSet
.
Put
(
SvxWeightItem
(
eWeight
,
ATTR_FONT_WEIGHT
));
rSet
.
Put
(
SvxColorItem
(
maColor
,
ATTR_FONT_COLOR
));
rSet
.
Put
(
SvxUnderlineItem
(
meUnderline
,
ATTR_FONT_UNDERLINE
));
}
ScOrcusStyles
::
protection
::
protection
()
:
...
...
@@ -593,8 +596,22 @@ void ScOrcusStyles::set_font_size(double point)
maCurrentFont
.
mnSize
=
point
;
}
void
ScOrcusStyles
::
set_font_underline
(
orcus
::
spreadsheet
::
underline_t
/*e*/
)
void
ScOrcusStyles
::
set_font_underline
(
orcus
::
spreadsheet
::
underline_t
e
)
{
switch
(
e
)
{
case
orcus
:
:
spreadsheet
::
underline_single
:
case
orcus
:
:
spreadsheet
::
underline_single_accounting
:
maCurrentFont
.
meUnderline
=
UNDERLINE_SINGLE
;
break
;
case
orcus
:
:
spreadsheet
::
underline_double
:
case
orcus
:
:
spreadsheet
::
underline_double_accounting
:
maCurrentFont
.
meUnderline
=
UNDERLINE_DOUBLE
;
break
;
case
orcus
:
:
spreadsheet
::
underline_none
:
maCurrentFont
.
meUnderline
=
UNDERLINE_NONE
;
break
;
}
}
void
ScOrcusStyles
::
set_font_color
(
orcus
::
spreadsheet
::
color_elem_t
alpha
,
...
...
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