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
b84dca7c
Kaydet (Commit)
b84dca7c
authored
Şub 23, 2016
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sfx2 classification: add interface to set category name
Change-Id: I289b46f5f57ef000de5f482b5c8ed7bcaa89ddab
üst
02a32077
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
classificationhelper.hxx
include/sfx2/classificationhelper.hxx
+2
-0
classificationhelper.cxx
sfx2/source/view/classificationhelper.cxx
+4
-0
edfcol.cxx
sw/source/core/edit/edfcol.cxx
+9
-2
No files found.
include/sfx2/classificationhelper.hxx
Dosyayı görüntüle @
b84dca7c
...
...
@@ -34,6 +34,8 @@ public:
SfxClassificationHelper
(
SfxObjectShell
&
rObjectShell
);
~
SfxClassificationHelper
();
OUString
GetBACName
();
/// Setting this sets all the other properties, based on the policy.
void
SetBACName
(
const
OUString
&
rName
);
/// If GetImpactLevelColor() will return something meaningful.
bool
HasImpactLevel
();
basegfx
::
BColor
GetImpactLevelColor
();
...
...
sfx2/source/view/classificationhelper.cxx
Dosyayı görüntüle @
b84dca7c
...
...
@@ -150,4 +150,8 @@ OUString SfxClassificationHelper::GetDocumentWatermark()
return
OUString
();
}
void
SfxClassificationHelper
::
SetBACName
(
const
OUString
&
/*rName*/
)
{
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sw/source/core/edit/edfcol.cxx
Dosyayı görüntüle @
b84dca7c
...
...
@@ -19,6 +19,7 @@
#include <hintids.hxx>
#include <editeng/formatbreakitem.hxx>
#include <sfx2/classificationhelper.hxx>
#include <editsh.hxx>
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
...
...
@@ -31,6 +32,7 @@
#include <numrule.hxx>
#include <swundo.hxx>
#include <docary.hxx>
#include <docsh.hxx>
SwTextFormatColl
&
SwEditShell
::
GetDfltTextFormatColl
()
const
{
...
...
@@ -47,9 +49,14 @@ SwTextFormatColl& SwEditShell::GetTextFormatColl( sal_uInt16 nFormatColl) const
return
*
((
*
(
GetDoc
()
->
GetTextFormatColls
()))[
nFormatColl
]);
}
void
SwEditShell
::
SetClassification
(
const
OUString
&
/*rName*/
)
void
SwEditShell
::
SetClassification
(
const
OUString
&
rName
)
{
(
void
)
this
;
//TODO
SwDocShell
*
pDocShell
=
GetDoc
()
->
GetDocShell
();
if
(
!
pDocShell
)
return
;
SfxClassificationHelper
aHelper
(
*
pDocShell
);
aHelper
.
SetBACName
(
rName
);
}
// #i62675#
...
...
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