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
d3fb83cb
Kaydet (Commit)
d3fb83cb
authored
Ock 27, 2015
tarafından
Tsutomu Uchino
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#i85241# store settings about value highlighting in document
üst
350c4f9a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
ViewSettingsSequenceDefines.hxx
sc/inc/ViewSettingsSequenceDefines.hxx
+9
-8
viewdata.cxx
sc/source/ui/view/viewdata.cxx
+4
-0
No files found.
sc/inc/ViewSettingsSequenceDefines.hxx
Dosyayı görüntüle @
d3fb83cb
...
...
@@ -27,7 +27,7 @@
// this are the defines for the position of the settings in the
// ViewSettingsSequence
#define SC_VIEWSETTINGS_COUNT 2
3
#define SC_VIEWSETTINGS_COUNT 2
4
#define SC_VIEW_ID 0
#define SC_TABLE_VIEWSETTINGS 1
...
...
@@ -45,13 +45,14 @@
#define SC_COLROWHDR 13
#define SC_SHEETTABS 14
#define SC_OUTLSYMB 15
#define SC_SNAPTORASTER 16
#define SC_RASTERVIS 17
#define SC_RASTERRESX 18
#define SC_RASTERRESY 19
#define SC_RASTERSUBX 20
#define SC_RASTERSUBY 21
#define SC_RASTERSYNC 22
#define SC_VALUE_HIGHLIGHTING 16
#define SC_SNAPTORASTER 17
#define SC_RASTERVIS 18
#define SC_RASTERRESX 19
#define SC_RASTERRESY 20
#define SC_RASTERSUBX 21
#define SC_RASTERSUBY 22
#define SC_RASTERSYNC 23
// this are the defines for the position of the settings in the
...
...
sc/source/ui/view/viewdata.cxx
Dosyayı görüntüle @
d3fb83cb
...
...
@@ -2766,6 +2766,8 @@ void ScViewData::WriteUserDataSequence(uno::Sequence <beans::PropertyValue>& rSe
ScUnoHelpFunctions
::
SetBoolInAny
(
pSettings
[
SC_SHEETTABS
].
Value
,
pOptions
->
GetOption
(
VOPT_TABCONTROLS
)
);
pSettings
[
SC_OUTLSYMB
].
Name
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SC_UNO_OUTLSYMB
));
ScUnoHelpFunctions
::
SetBoolInAny
(
pSettings
[
SC_OUTLSYMB
].
Value
,
pOptions
->
GetOption
(
VOPT_OUTLINER
)
);
pSettings
[
SC_VALUE_HIGHLIGHTING
].
Name
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SC_UNO_VALUEHIGH
)
);
ScUnoHelpFunctions
::
SetBoolInAny
(
pSettings
[
SC_VALUE_HIGHLIGHTING
].
Value
,
pOptions
->
GetOption
(
VOPT_SYNTAX
)
);
const
ScGridOptions
&
aGridOpt
=
pOptions
->
GetGridOptions
();
pSettings
[
SC_SNAPTORASTER
].
Name
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SC_UNO_SNAPTORASTER
));
...
...
@@ -2916,6 +2918,8 @@ void ScViewData::ReadUserDataSequence(const uno::Sequence <beans::PropertyValue>
if
(
rSettings
[
i
].
Value
>>=
nTemp16
)
pOptions
->
SetObjMode
(
VOBJ_TYPE_DRAW
,
(
nTemp16
==
1
)
?
VOBJ_MODE_HIDE
:
VOBJ_MODE_SHOW
);
}
else
if
(
sName
.
compareToAscii
(
SC_UNO_VALUEHIGH
)
==
0
)
pOptions
->
SetOption
(
VOPT_SYNTAX
,
ScUnoHelpFunctions
::
GetBoolFromAny
(
rSettings
[
i
].
Value
)
);
else
{
ScGridOptions
aGridOpt
(
pOptions
->
GetGridOptions
());
...
...
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