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
de2785f9
Kaydet (Commit)
de2785f9
authored
Eyl 10, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SfxMacro is useless
üst
a7ca9000
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
70 deletions
+0
-70
macro.hxx
sfx2/inc/macro.hxx
+0
-22
macro.cxx
sfx2/source/control/macro.cxx
+0
-48
No files found.
sfx2/inc/macro.hxx
Dosyayı görüntüle @
de2785f9
...
...
@@ -145,28 +145,6 @@ enum SfxMacroMode
(example:" active document () ") */
};
//====================================================================
struct
SfxMacro_Impl
;
class
SfxMacro
/* [Description]
Through using this class (and in fact its subclasses) the location of a
BASIC function will be discribed (also in which Library, in which module
and the Function name) as well as temporary storing a macro during the
recording.
*/
{
SfxMacro_Impl
*
pImp
;
public
:
SfxMacro
(
SfxMacroMode
eMode
=
SFX_MACRO_RECORDINGRELATIVE
);
virtual
~
SfxMacro
();
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sfx2/source/control/macro.cxx
Dosyayı görüntüle @
de2785f9
...
...
@@ -349,52 +349,4 @@ void SfxMacroStatement::GenerateNameAndArgs_Impl
aStatement
.
InsertAscii
(
"rem "
,
0
);
}
//--------------------------------------------------------------------
SfxMacro
::
SfxMacro
(
SfxMacroMode
eMode
// Purpose of the instance, see <SfxMacroMode>
)
/* [Description]
Constructor of the SfxMacro class. Instances of this class are required
for two purposes in SFx:
1. for recording macros
In this cas is th constructor called with SFX_MACRO_RECORDINGABSOLUTE or
SFX_MACRO_RECORDINGRELATIVE. Should be an instance of a derived class,
in order to acommodate the derivation of information, where the macro
should be saved. Such a macro should, in its destructor, be saved at the
location specified by the user.
2. Assignment of exisiting macros
In this case the constructor is called with SFX_MACRO_EXISTING.
Such a instance is for example needed when macros are to be configured for
events or <SfxControllerItem>s.
*/
:
pImp
(
new
SfxMacro_Impl
)
{
pImp
->
eMode
=
eMode
;
}
//--------------------------------------------------------------------
SfxMacro
::~
SfxMacro
()
/* [Description]
Virtual Destructor of the SfxMacro class. This should be overloaded in
the derived classes to save the recorded source in the mode
SFX_MACRO_RECORDINGABSOLUTE and SFX_MACRO_RECORDINGRELATIVE.
*/
{
delete
pImp
;
}
//--------------------------------------------------------------------
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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