View Single Post
  #6   Report Post  
Posted to microsoft.public.word.pagelayout
Vladislav Yerokhin Vladislav Yerokhin is offline
external usenet poster
 
Posts: 2
Default Baseline info in MathType and Equation OLE objects

Hi Bob!

Help me please! How can I extract baseline information from MathType and Equation OLE objects? I read MathType SDK documentation section about extracting this information from WMF, but I can?t find how to extract baseline info from OLE objects.

Here is text from MathType SDK documentation:

Applications that support baseline positioning can process all objects at import/editing time by either scanning the metafile as described above or, if the object is an OLE object (Microsoft?s Object Linking and Embedding technology), performance may be increased by checking first to see if the object is a MathType/Equation Editor equation object.

Thanks for your answers.
Vladislav Erokhin




Bob Mathews wrote:

The "size" issue is because the equation editor is not able to keepstyles
01-Mar-10

The "size" issue is because the equation editor is not able to keep
styles separately for each equation, the way that MathType can. You
may be successful when inserting equations, to have them set to
several different font & size styles, but as you discovered, when you
save and reopen the document, it is not as you left it.

Copying a large Word document and pasting it into another is probably
not ever a good idea, even if the new document starts out as a blank
document. If you absolutely have to keep it as one document, there are
a few things you can do to reduce the file size, but you should give
primary consideration to making several smaller documents in place of
the large one. You've seen one problem that can arise with the
equations, but as a rule we do not recommend copying an equation from
one document and pasting into another (or even within the same one).
Actually that will work out all right some of the time, and perhaps even
most of the time, but at some point Word will lose some of the OLE
information in the equation object (that is the information that tells
it the object came from Equation Editor). If that happens, you will
probably not know it right away; you will only discover it when you try
to edit the equation, but Word thinks it is a picture, and will not open
it up in Equation Editor. The way to prevent this is to copy the
equation, open Equation Editor as if you were going to create a new
equation, then paste the equation inside the equation editing space
and close Equation Editor.

None of these are perfect solutions, but keeping the document size
"small" to begin with is the closest you will come to a perfect
solution. The definition of "small" all depends on how many objects
are in the document -- equations, pictures, charts, etc. -- and how
it is formatted.

--
Bob Mathews
Director of Training
Design Science, Inc.
bobm at dessci.com
http://www.dessci.com/free.asp?free=news
FREE fully-functional 30-day evaluation of MathType
MathType, MathFlow, MathPlayer, MathDaisy, Equation Editor

On 28-Feb-2010, ion wrote:

Previous Posts In This Thread:


Submitted via EggHeadCafe - Software Developer Portal of Choice
WPF Custom Validation Using the Enterprise Library
http://www.eggheadcafe.com/tutorials...ation-usi.aspx