| View previous topic :: View next topic |
| Author |
Message |
lightsup55 Power User


Joined: 24 Jun 2005 Posts: 91 Location: Maryland, USA
|
Posted: Fri Jun 24, 2005 7:15 pm Post subject: List of converters available in OOo 2.0 (1.9.x)? |
|
|
Besides the converters already available in OOo 1.x (Microsoft Office and StarOffice) that are more than likely to be in OOo 2.0 (1.9.x), what other converters will be available in OOo 2.0 (1.9.x)?
Examples:
Microsoft Works (Word Processor, Spreadsheet, and Database)
-- Older versions of Microsoft Works had Drawing, but that might have only been on the Macintosh version.
ClarisWorks (Word Processor, Spreadsheet, Database, and Drawing)
AppleWorks (Word Processor, Spreadsheet, Database, Drawing, Painting, and Presentations)
Corel WordPerfect (word processor)
Corel Quattro Pro (spreadsheet)
Corel Presentations
Corel Paradox (database) _________________

Last edited by lightsup55 on Thu Sep 28, 2006 8:08 am; edited 1 time in total |
|
| Back to top |
|
 |
DannyB Moderator


Joined: 02 Apr 2003 Posts: 4021 Location: Lawrence, Kansas, USA
|
Posted: Sat Jun 25, 2005 10:24 am Post subject: |
|
|
If you run this macro
| Code: | Sub Main
oFF = createUnoService( "com.sun.star.document.FilterFactory" )
oFilterNames = oFF.getElementNames()
' Now print the filter names.
' For i = LBound( oFilterNames ) To UBound( oFilterNames )
' Print oFilterNames(i)
' Next
' Create a Writer doc and save the filter names to it.
oDoc = StarDesktop.loadComponentFromURL( "private:factory/swriter", "_blank", 0, Array() )
oText = oDoc.getText()
oCursor = oText.createTextCursor()
oCursor.gotoEnd( False )
' Print the filter names into a Writer document.
For i = LBound( oFilterNames ) To UBound( oFilterNames )
oText.insertString( oCursor, oFilterNames(i), False )
oText.insertControlCharacter( oCursor, com.sun.star.text.ControlCharacter.PARAGRAPH_BREAK, False )
Next
End Sub
|
in OOo 2, you will get the answer to your question in the form of a Writer document.
Running this macro instead will produce a more detailed listing in the form of a Writer document.
The exact answer depends upon what options you installed when you first installed OOo, and possibly on whether you also have setup Java with OOo (under the Tools --> Options dialog).
To get the answer for your particular installation....
- Create a new document (doesn't matter what kind)
- Tools --> Macros --> Organize Macros --> OpenOffice.org Basic
(The OpenOffice.org Basic Macros dialog box appears)
- In the left hand side of the dialog, under "Macro from" locate your document. Let's say it is called Untitled37. Click the little [-] minus sign beside your Untitled37 document.
(You now see Standard underneath of Untitled37)
- Click on Standard, hilighting it.
- Click the New button at the right hand side of the dialog.
(The New Module dialog appears. It suggests a default module name of Module1.)
- Click OK.
(The Basic IDE appears.)
- The IDE already has some text like...
| Code: | REM ***** BASIC *****
Sub Main
End Sub
|
Remove this text.
Paste in the text of the macro you want to run.
Click the RUN button. (It is the 2nd button from the left on the toolbar. It looks like a little green arrow pointing to the right.)
(The macro runs, generating a new Writer document that lists the filters available in your particular installation.)
Sadly, I don't see ClarisWorks or AppleWorks listed. If those were available, I would jump for joy. _________________ Want to make OOo Drawings like the colored flower design to the left? |
|
| Back to top |
|
 |
|
|
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
|