Using the API in Your ProgramFollow the general steps below to use the Document Composer in your program. Setting the License Before a document can be processed, a valid MathFlow SDK license for the Document Composer must be supplied to the Specifying the Input To pass the input document to be processed into the Document Composer, use the Defining the Output The methods that define where the output document and equation images will generated and what tags and attributes will be generated are:
Setting Rendering Options The methods that determine how the equations will be rendered are:
Using Fonts Java Use this method to select which font mapping file is used (see Java Rendering Engine for more information):
Windows Use these methods to select which fonts are used (see Windows Font Configuration for more information):
When the DocumentComposer DLL (note that this is available in 32- and 64-bit versions for Windows) is first loaded, it looks for the font configuration file and the font info file. If either file is present, it is used in the same way as the analogous configuration file passed via the -fontinfo or -fontconfig parameter by the command line component. Saving Your Options At any point in your program, you can save the options you have defined using Processing a Document Once the parameters have been set, a document can be processed with the Getting Additional Information Use the The | ||||||||
Copyright © 1996-2016 Design Science, Inc. All rights reserved. |