diff options
Diffstat (limited to 'source/text/shared/01/06130000.xhp')
-rw-r--r-- | source/text/shared/01/06130000.xhp | 106 |
1 files changed, 7 insertions, 99 deletions
diff --git a/source/text/shared/01/06130000.xhp b/source/text/shared/01/06130000.xhp index a0f7861755..0f3d82a03f 100644 --- a/source/text/shared/01/06130000.xhp +++ b/source/text/shared/01/06130000.xhp @@ -22,7 +22,7 @@ <meta> <topic id="textshared0106130000xml" indexer="include"> -<title id="tit" xml-lang="en-US">Macro</title> +<title id="tit" xml-lang="en-US">Basic Macros</title> <filename>/text/shared/01/06130000.xhp</filename> </topic> </meta> @@ -30,7 +30,7 @@ <bookmark xml-lang="en-US" branch="hid/.uno:MacroDialog" id="bm_id870519" localize="false"/> <bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/BasicMacroDialog" id="bm_id3149948" localize="false"/> <bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/@@nowidget@@" id="bm_id3149948" localize="false"/> -<h1 id="hd_id3157552">Macro</h1> +<h1 id="hd_id3157552"><variable id="basicmacros"><link href="text/shared/01/06130000.xhp" name="%PRODUCTNAME Basic Macros">%PRODUCTNAME Basic Macros</link></variable></h1> <paragraph role="paragraph" id="par_id3148765" xml-lang="en-US"><variable id="makro"><ahelp hid=".uno:MacroDialog">Opens a dialog to organize macros.</ahelp> </variable><comment>UFI: it is not the dialog to run a macro</comment></paragraph> <section id="howtoget"> @@ -41,7 +41,6 @@ <paragraph role="paragraph" id="par_id3150040" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/macronameedit">Displays the name of the selected macro. To create or to change the name of a macro, enter a name here.</ahelp></paragraph> <bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/macros" id="bm_id3149283" localize="false"/> <paragraph role="paragraph" id="par_id3150902" xml-lang="en-US"><ahelp hid="." visibility="hidden">Lists the macros that are contained in the module selected in the <emph>Macro from </emph>list.</ahelp></paragraph> -<paragraph role="paragraph" id="par_idN10642" xml-lang="en-US" localize="false"><comment>UFI: Important: do not add Help IDS for SELECTOR_COMMANDS and SELECTOR_CATEGORIES, because they are reused for Customize dialog and will lead to display errors there if assigned. See #i51556#</comment></paragraph> <bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/libraries" id="bm_id3152867" localize="false"/> <h2 id="hd_id3153750">Macro from / Save macro in</h2> <paragraph role="paragraph" id="par_id3153394" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/libraries">Lists the libraries and the modules where you can open or save your macros. To save a macro with a particular document, open the document, and then open this dialog.</ahelp></paragraph> @@ -57,9 +56,10 @@ <paragraph role="paragraph" id="par_id3150355" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/edit">Starts the $[officename] Basic editor and opens the selected macro or dialog for editing.</ahelp></paragraph> <bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/delete" id="bm_id3155393" localize="false"/> <h2 id="hd_id3150772">New / Delete</h2> -<paragraph role="paragraph" id="par_id3153257" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/delete">Creates a new macro, or deletes the selected macro.</ahelp></paragraph> -<paragraph role="paragraph" id="par_id3154514" xml-lang="en-US">To create a new macro, select the "Standard" module in the <emph>Macro from</emph> list, and then click <emph>New</emph>.</paragraph> -<paragraph role="paragraph" id="par_id3148474" xml-lang="en-US">To delete a macro, select it, and then click <emph>Delete</emph>.</paragraph> +<paragraph role="paragraph" id="par_id3153257" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/delete">Creates a new macro, creates a new module or deletes the selected macro or selected module.</ahelp></paragraph> +<paragraph role="paragraph" id="par_id3154514" xml-lang="en-US">To create a new macro in your document, select the "Standard" module in the <emph>Macro from</emph> list, and then click <widget>New</widget>.</paragraph> +<paragraph role="paragraph" id="par_id51571312108555">To create a new module in a library of the <emph>My Macros</emph> container, select the proper library and press <widget>New</widget>. The $[officename] Basic editor opens.</paragraph> +<paragraph role="paragraph" id="par_id3148474" xml-lang="en-US">To delete a macro or module, select it, and then click <widget>Delete</widget>.</paragraph> <bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/newlibrary" id="bm_id3152910" localize="false"/> <h2 id="hd_id3159342">New Library</h2> <paragraph role="paragraph" id="par_id3154897" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/newlibrary">Saves the recorded macro in a new library.</ahelp></paragraph> @@ -67,100 +67,8 @@ <h2 id="hd_id3154173">New Module</h2> <paragraph role="paragraph" id="par_id3155628" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/newmodule">Saves the recorded macro in a new module.</ahelp></paragraph> <bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/organize" id="bm_id3150118" localize="false"/> -<h2 id="hd_id3153665">Organizer</h2> +<h2 id="hd_id3153665"><link href="text/shared/01/06130300.xhp" name="organizer">Organizer</link></h2> <paragraph role="paragraph" id="par_id3147618" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/organize">Opens the <emph>Macro Organizer</emph> dialog, where you can add, edit, or delete existing macro modules, dialogs, and libraries.</ahelp></paragraph> -<h3 id="hd_id3145609">Module/Dialog tab page</h3> -<paragraph role="paragraph" id="par_id3155923" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/organize">Lets you manage modules or dialog boxes.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/modulepage/ModulePage" id="bm_id3147304" localize="false"/> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/modulepage/@@nowidget@@" id="bm_id3147304" localize="false"/> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/modulepage/library" id="bm_id3147304" localize="false"/> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/dialogpage/DialogPage" id="bm_id3547305" localize="false"/> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/dialogpage/@@nowidget@@" id="bm_id3547305" localize="false"/> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/dialogpage/library" id="bm_id3147305" localize="false"/> -<h3 id="hd_id3148944">Module/Dialog</h3> -<paragraph role="paragraph" id="par_id3145068" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/modulepage/library">Lists the existing macros and dialogs.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/modulepage/edit" id="bm_id3153779" localize="false"/> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/dialogpage/edit" id="bm_id3153780" localize="false"/> -<h3 id="hd_id3150398">Edit</h3> -<paragraph role="paragraph" id="par_id3150543" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/modulepage/edit">Opens the selected macro or dialog for editing.</ahelp></paragraph> -<embed href="text/shared/00/00000001.xhp#schliessen"/> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/modulepage/newmodule" id="bm_id3156080" localize="false"/> -<h3 id="hd_id3151210">New<comment>UFI: i40875</comment></h3> -<paragraph role="paragraph" id="par_id3149291" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/modulepage/newmodule">Opens the editor and creates a new module.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/dialogpage/newdialog" id="bm_id3150496" localize="false"/> -<h3 id="hd_id3145173">New</h3> -<paragraph role="paragraph" id="par_id3150767" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/dialogpage/newdialog">Opens the editor and creates a new dialog.</ahelp></paragraph> -<embed href="text/shared/00/00000001.xhp#loeschen"/> -<h3 id="hd_id3151177">Libraries tab page</h3><comment>the three tab pages have no Help button, so no need to have three help pages</comment> -<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/dialogpage/delete">Lets you manage the macro libraries for the current application and any open documents.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/libpage/LibPage" id="bm_id3150650" localize="false"/> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/libpage/@@nowidget@@" id="bm_id3150650" localize="false"/> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/libpage/location" id="bm_id3150650" localize="false"/> -<h3 id="hd_id3144760">Location</h3> -<paragraph role="paragraph" id="par_id3150290" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/location">Select the application or the document containing the macro libraries that you want to organize.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/libpage/library" id="bm_id3154910" localize="false"/> -<h3 id="hd_id3159149">Library</h3> -<paragraph role="paragraph" id="par_id3147500" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/library">Lists the existing macro libraries for the current application and any open documents.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/libpage/edit" id="bm_id3156212" localize="false"/> -<h3 id="hd_id3157320">Edit</h3> -<paragraph role="paragraph" id="par_id3150868" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/edit">Opens the $[officename] Basic editor so that you can modify the selected library.</ahelp></paragraph> -<embed href="text/shared/00/00000001.xhp#schliessen"/> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/libpage/password" id="bm_id3148561" localize="false"/> -<h3 id="hd_id3153104">Password</h3> -<paragraph role="paragraph" id="par_id3154299" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/password">Assigns or edits the <link href="text/shared/01/06130100.xhp" name="password">password</link> for the selected library.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/libpage/new" id="bm_id3153056" localize="false"/> -<h3 id="hd_id3147502">New</h3> -<paragraph role="paragraph" id="par_id3149560" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/new">Creates a new library.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/newlibdialog/NewLibDialog" id="bm_id3154985" localize="false"/> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/newlibdialog/@@nowidget@@" id="bm_id3154985" localize="false"/> -<h3 id="hd_id3153770">Name</h3> -<paragraph role="paragraph" id="par_id3153726" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/newlibdialog/NewLibDialog">Enter a name for the new library or module.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/libpage/import" id="bm_id3153951" localize="false"/> -<h3 id="hd_id3154693">Import<comment>changed in #i64102</comment></h3> -<paragraph role="paragraph" id="par_id3147441" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/import">Locate that $[officename] Basic library that you want to add to the current list, and then click Open.</ahelp></paragraph> -<embed href="text/shared/00/00000001.xhp#loeschen"/> -<h1 id="par_idN10A39"><variable id="script">Scripts</variable></h1> -<section id="howtoget"> - <embed href="text/shared/00/00000406.xhp#beanshell"/> - <embed href="text/shared/00/00000406.xhp#javascript"/> - <embed href="text/shared/00/00000406.xhp#python"/> -</section> -<h2 id="hd_id6963408">Export</h2> -<paragraph role="paragraph" id="par_id8968169" xml-lang="en-US"><ahelp hid=".">Opens a dialog to export the selected library either as an extension or as a Basic library.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/cui/ui/scriptorganizer/ScriptOrganizerDialog" id="bm_id7982421" localize="false"/> -<bookmark xml-lang="en-US" branch="hid/cui/ui/scriptorganizer/@@nowidget@@" id="bm_id7982421" localize="false"/> -<h2 id="par_idN109BE">Macros</h2> -<paragraph role="paragraph" id="par_idN109C2" xml-lang="en-US"><ahelp hid="cui/ui/scriptorganizer/ScriptOrganizerDialog">Select a macro or script from <emph>My Macros</emph>, <emph>%PRODUCTNAME Macros</emph>, or an open document. To view the available macros or scripts, double-click an entry.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/cui/ui/scriptorganizer/run" id="bm_id8628498" localize="false"/> -<h3 id="par_idN109CD">Run</h3> -<paragraph role="paragraph" id="par_idN109D1" xml-lang="en-US"><ahelp hid="cui/ui/scriptorganizer/run">To run a script, select a script in the list, and then click Run.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/cui/ui/scriptorganizer/create" id="bm_id6405835" localize="false"/> -<h3 id="par_idN109E8">Create</h3> -<paragraph role="paragraph" id="par_idN109EC" xml-lang="en-US"><ahelp hid="cui/ui/scriptorganizer/create">Creates a new script.</ahelp> The default script editor opens after you enter a name for the script.</paragraph> -<paragraph role="paragraph" id="par_idN10A04" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/newlibdialog/NewLibDialog">Enter a name for the script.</ahelp><comment>UFI: called from Create and from Rename</comment></paragraph> -<bookmark xml-lang="en-US" branch="hid/cui/ui/scriptorganizer/edit" id="bm_id1055330" localize="false"/> -<h3 id="par_idN10A2F">Edit</h3> -<paragraph role="paragraph" id="par_idN10A33" xml-lang="en-US"><ahelp hid="cui/ui/scriptorganizer/edit">Opens the default script editor for your operating system.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/cui/ui/scriptorganizer/rename" id="bm_id9843745.00000001" localize="false"/> -<h3 id="par_idN10A4B">Rename</h3> -<paragraph role="paragraph" id="par_idN10A4F" xml-lang="en-US"><ahelp hid="cui/ui/scriptorganizer/rename">Opens a dialog where you can change the name of the selected script.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/cui/ui/scriptorganizer/delete" id="bm_id4198736" localize="false"/> -<h3 id="par_idN10A66">Delete</h3> -<paragraph role="paragraph" id="par_idN10A6A" xml-lang="en-US"><ahelp hid="cui/ui/scriptorganizer/delete">Prompts you to delete the selected script.</ahelp></paragraph> -<paragraph role="paragraph" id="par_idN10AE5" xml-lang="en-US">The Macro Selector dialog contains two list boxes, namely the Library list box and the Macro name list box.</paragraph> -<h3 id="par_idN10AFC">Library</h3> -<paragraph role="paragraph" id="par_idN10B00" xml-lang="en-US">Select a macro or script from <emph>My Macros</emph>, <emph>%PRODUCTNAME Macros</emph>, or an open document. To view the contents of a library, double-click an entry in the list.</paragraph> -<h3 id="par_idN10B17">Macro name</h3> -<paragraph role="paragraph" id="par_idN10B1B" xml-lang="en-US">Click a script, and then click a command button.</paragraph> -<h1 id="par_id381543352048115" xml-lang="en-US">Python</h1> -<section id="howtoget"> - <embed href="text/shared/00/00000406.xhp#python"/> -</section> -<h2 id="par_idN109as">Python Macros</h2> -<paragraph role="paragraph" id="par_idN134C2" xml-lang="en-US"><ahelp hid="cui/ui/scriptorganizer/ScriptOrganizerDialog">Select a macro or script from <emph>My Macros</emph>, <emph>%PRODUCTNAME Macros</emph>, or an open document.</ahelp></paragraph> -<h3 id="par_id641543351777423">Run</h3> -<paragraph role="paragraph" id="par_id31543351781865" xml-lang="en-US"><ahelp hid="cui/ui/scriptorganizer/run">To run a script, select a script in the list, and then click Run.</ahelp></paragraph> - <section id="relatedtopics"> <embed href="text/shared/guide/scripting.xhp#scripting"/> <embed href="text/shared/guide/macro_recording.xhp#macro_recording"/> |