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
c8620de6
Kaydet (Commit)
c8620de6
authored
Mar 14, 2012
tarafından
Maxime de Roucy
Kaydeden (comit)
Cédric Bosdonnat
Mar 15, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add comments in formatclipboard.hxx
üst
cc804794
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
formatclipboard.hxx
sw/source/ui/inc/formatclipboard.hxx
+30
-0
No files found.
sw/source/ui/inc/formatclipboard.hxx
Dosyayı görüntüle @
c8620de6
...
@@ -46,24 +46,54 @@ public:
...
@@ -46,24 +46,54 @@ public:
SwFormatClipboard
();
SwFormatClipboard
();
~
SwFormatClipboard
();
~
SwFormatClipboard
();
/**
* Test if the object contains text or paragraph attribute
*/
bool
HasContent
()
const
;
bool
HasContent
()
const
;
bool
HasContentForThisType
(
int
nSelectionType
)
const
;
bool
HasContentForThisType
(
int
nSelectionType
)
const
;
bool
CanCopyThisType
(
int
nSelectionType
)
const
;
bool
CanCopyThisType
(
int
nSelectionType
)
const
;
/**
* Store/Backup the text and paragraph attribute of the current selection.
*
* @param bPersistentCopy
* input parameter - specify if the Paste function will erase the current object.
*/
void
Copy
(
SwWrtShell
&
rWrtShell
,
SfxItemPool
&
rPool
,
bool
bPersistentCopy
=
false
);
void
Copy
(
SwWrtShell
&
rWrtShell
,
SfxItemPool
&
rPool
,
bool
bPersistentCopy
=
false
);
/**
* Paste the stored text and paragraph attributes on the current selection and current paragraph.
*
* @param bNoCharacterFormats
* Do not paste the character formats.
*
* @param bNoParagraphFormats
* Do not paste the paragraph formats.
*/
void
Paste
(
SwWrtShell
&
rWrtShell
,
SfxStyleSheetBasePool
*
pPool
void
Paste
(
SwWrtShell
&
rWrtShell
,
SfxStyleSheetBasePool
*
pPool
,
bool
bNoCharacterFormats
=
false
,
bool
bNoParagraphFormats
=
false
);
,
bool
bNoCharacterFormats
=
false
,
bool
bNoParagraphFormats
=
false
);
/**
* Clear the currently stored text and paragraph attributes.
*/
void
Erase
();
void
Erase
();
private
:
private
:
int
m_nSelectionType
;
int
m_nSelectionType
;
/** automatic/named character and paragraph attribute set */
SfxItemSet
*
m_pItemSet
;
SfxItemSet
*
m_pItemSet
;
/** table attribute set */
SfxItemSet
*
m_pTableItemSet
;
SfxItemSet
*
m_pTableItemSet
;
/** name of the character format (if it exist) */
String
m_aCharStyle
;
String
m_aCharStyle
;
/** name of the paragraph format (if it exist) */
String
m_aParaStyle
;
String
m_aParaStyle
;
//no frame style because it contains position information
//no frame style because it contains position information
/** specify if the Paste function have to clear the current object */
bool
m_bPersistentCopy
;
bool
m_bPersistentCopy
;
};
};
...
...
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