OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Exporting ooBasic Macros Code As Extension or As Basic ?

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Code Snippets
View previous topic :: View next topic  
Author Message
akhil999in
General User
General User


Joined: 14 Feb 2007
Posts: 17
Location: India, New Delhi (was Calcutta)

PostPosted: Tue Sep 14, 2010 11:44 pm    Post subject: Exporting ooBasic Macros Code As Extension or As Basic ? Reply with quote

11:38 AM 9/15/2010

Exporting ooBasic Macros Code As Extension or As Basic ?
- - - - - - - - -

(AA)

What is the meaning of these two ways of Exporting ooMacros:

As Extension
As Basic

What is the practical difference in their use ?

- - - - - - - - -

(BB)

I use ooBasic Macros through assignments in Custom Toolbars in ooWrite or ooCalc.
Need quick and sure process to separately keep copy of the complete ooBasic Macros Code.

When restored into ooWrite or ooCalc from the backup copies,
each ooBasic Macro's Code should copy into its original Module and Library.


Possible uses:

(1) To read or print the ooBasic Macros
(2) To transport the ooBasic Macros to Forums or Community
(3) To reuse the ooBasic Macros in a different computer or ooWrite or ooCalc document
(4) To edit and create ooBasic Macros Code separately when not actually working in ooWrite or ooCalc.

- - - - - - - - -

(CC)

My present method is very crude:

For each Module of each Library,

(a) SelectAll, Copy the Code from IDE,
(b) Paste in new text documents (.txt or .ODT, etc., a new file for each Module of each Library),
(c) Some times for large Modules, all the Code does not get pasted at once,
( IDE seems to have built in limit on memorising Code during SelectAll Copy),
so the process has to be repeated several times for such a Module!!
(d) Write some extra " rem " lines in the Document, like:
rem 15Sep2010 hrs 1123
rem Library4.Module1
(e) Save that document.
(f) Transport a copy of that document to a safe place, like Pen Drive, Internet, etc.
(g) To use the backedup Code in a new place,

Physically bring the saved .txt or .odt Code files,
Open in text editor or ooWrite,
SelectAll, Copy,
Open ooWrite or ooCalc,
Open ooBasic IDE,
Choose Library and Module (create New ones if not existing),
Select Edit,
Paste (from Code files) into IDE,
etc.

- - - - - - - - -

(DD)

How to use oOffice.org Extension Manager to avoid above work?
_________________
a m
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Code Snippets All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group