Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: MathType and DOORS
Topic Summary:
Created On: 29-Oct-2002 17:21
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 29-Oct-2002 17:21
User is offline View Users Profile Print this message


Gyan Penrose-Kafka

Posts: 10
Joined: 12-Sep-2002

Has anyone written an integration for MathType and DOORS?

-------------------------
Gyan Penrose-Kafka
Requirements Management Consultant
gyan@zenmonkey.net
Report this to a Moderator Report this to a Moderator
 4-Nov-2002 13:27
User is offline View Users Profile Print this message


Walter Roscello

Posts: 3
Joined: 1-Nov-2002

Gyan,

Mathtype uses OLE to exchange the equation graphics with other programs. So, you can use Mathtype with DOORS by selecting Insert OLE object in DOORS, then choosing to make a new Mathtype equation as the OLE type.

Is this what you were looking for, or did you need something more?

Walt Roscello
Report this to a Moderator Report this to a Moderator
 4-Nov-2002 17:18
User is offline View Users Profile Print this message


Gyan Penrose-Kafka

Posts: 10
Joined: 12-Sep-2002

What I want to do with MathType is use DXL to do what you suggest below. In MSWord, when you insert an equation, MathType understands that you're working in Word and when you finish the equation it updates the OLE object in your document.

If I double click on an equation already in a DOORS module, MathType understands that it's working with DOORS, and likewise updates the equation in the DOORS module.

However, I want to have the user be able to click on an icon on the tool bar or menu that opens MathType to edit an equation but in a way so that it knows to return and update the equation in the DOORS module. I don't understand how to control MathType from within DOORS to do this.

Instead, what I've done is kind of a kludge--I have a read-only module in an folder that has a blank equation in its one and only object. I open that module, copy the blank equation OLE, close the module and then paste the blank equation into the object from which I called the DXL. Through DXL I then open the blank equation OLE, edit it, and when I'm finished, MathType updates the DOORS object. The kludge is essentially the part about having a blank equation stored in a module. It would be so much better if I could somehow control MathType to paste a blank equation in and then open it like it does in Word.



<< Gyan,

Mathtype uses OLE to exchange the equation graphics with other programs. So, you can use Mathtype with DOORS by selecting Insert OLE object in DOORS, then choosing to make a new Mathtype equation as the OLE type.

Is this what you were looking for, or did you need something more?

Walt Roscello
>>



-------------------------
Gyan Penrose-Kafka
Requirements Management Consultant
gyan@zenmonkey.net
Report this to a Moderator Report this to a Moderator
 4-Nov-2002 22:27
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

I installed MathType 5.1 (30 day eval). After the install, the Windows Registry indicates the OLE Programmatic Identifier is:

VersionIndependentProgID = "DSEquations"

Unfortunately, the DOORS command that should return a handle to the application:

OleAutoObj objApp = oleCreateAutoObject( "DSEquations" )

returns a null value.

To date, I have only done OLE automation to Microsoft Applications ( "Word.Application" , "Excel.Application", etc.)., where the OLE Programmatic Identifier is spelled out in the documentation for that application. I'm not sure what is different about MathType.

You should ask MathType what the "OLE Programmatic Identifier" for their application is supposed to be.

A "MathType Server" is appearing in my System Tray. Perhaps there is a way to connect to that, instead of the traditional Microsoft Automation methods.

-------------------------
Michael Sutherland
michael@galactic-solutions.com
http://galactic-solutions.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.