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

List of converters available in OOo 2.0 (1.9.x)?

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting
View previous topic :: View next topic  
Author Message
lightsup55
Power User
Power User


Joined: 24 Jun 2005
Posts: 91
Location: Maryland, USA

PostPosted: Fri Jun 24, 2005 7:15 pm    Post subject: List of converters available in OOo 2.0 (1.9.x)? Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Sat Jun 25, 2005 10:24 am    Post subject: Reply with quote

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....

  1. Create a new document (doesn't matter what kind)
  2. Tools --> Macros --> Organize Macros --> OpenOffice.org Basic
    (The OpenOffice.org Basic Macros dialog box appears)
  3. 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)
  4. Click on Standard, hilighting it.
  5. 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.)
  6. Click OK.
    (The Basic IDE appears.)
  7. The IDE already has some text like...
    Code:
    REM  *****  BASIC  *****

    Sub Main

    End Sub

    Remove this text.
  8. Paste in the text of the macro you want to run.
  9. 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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting 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