Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
Methods' Summary
startRecording
initializes the recorder by passing the frame for which all
macro statements shall be recorded
endRecording
stops the recording process
recordDispatch
records a single dispatch call identified by its command URL
recordDispatchAsComment
records a single dispatch call identified by its command URL, but
comments it out
getRecordedMacro
returns the recorded source code
Methods' Details
startRecording
void
startRecording (
[in] XFrame
Frame );
Description
initializes the recorder by passing the frame for which all
macro statements shall be recorded
Parameter Frame
it includes the document on which such requests shall be recorded
endRecording
Description
stops the recording process
Must be called in pairs with XDispatchRecorder ::startRecording() .
@attention The recorder uses this method to control the lifetime of its internal
used macro buffer. It will be cleared here. So the macro must be fetched
before endRecording() is called.
See also
getRecordedMacro()
recordDispatch
void
recordDispatch (
[in] ::com::sun::star::util ::URL
URL,
[in] sequence< ::com::sun::star::beans ::PropertyValue >
Arguments );
Description
records a single dispatch call identified by its command URL
Parameter URL
the full parsed command URL
Parameter Arguments
optional arguments for the command URL
(see ::com::sun::star::document ::MediaDescriptor
for further informations)
recordDispatchAsComment
void
recordDispatchAsComment (
[in] ::com::sun::star::util ::URL
URL,
[in] sequence< ::com::sun::star::beans ::PropertyValue >
Arguments );
Description
records a single dispatch call identified by its command URL, but
comments it out
This way calls that failed on execution can be documented.
Parameter URL
the full parsed command URL
Parameter Arguments
optional arguments for the command URL
(see ::com::sun::star::document ::MediaDescriptor
for further informations)
getRecordedMacro
string
getRecordedMacro ();
Description
returns the recorded source code
This method must be used before endRecording() is called!
Otherwhise the macro will be relased.
Returns
the recorded data as a string which can be interpreted as a script
Top of Page Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.