Sdl.MultiTerm.TMO.Interop.ExportDefinition class
Name
Sdl.MultiTerm.TMO.Interop.ExportDefinition — Provides programmatic access to a particular export definition.
Description
Export definitions contain an XSL stylesheet that transforms MultiTerm XML into the specified export format, e.g. TXT, HTML, RTF, etc. Via this class you can retrieve information on a particular export definition, e.g. the export definition description, the content (i.e. the export definition 'source code'), etc. In addition you can also use this class to edit an existing export definition with the export definition wizard.
Properties
- Content: Returns the export definition content.
- Description: Returns the export definition description.
- Name: Returns the name of the export definition.
- Owner: Returns the owner name for a particular export definition.
- ReadOnly: Returns whether a particular export definition is read-only.
Methods
- Delete: Removes the export definition from the collection.
- Load: Updates the selected export definition from an external export definition file.
- ProcessExport: Carries out the actual export process.
- Save: Saves the export definition to an external file.
- StartWizard: Calls up the export wizard for editing a particular export definition.
Sample
//select termbase
Termbase oTb = oTbs["Termbase name"];
//select an export definition
ExportDefinitions oExpDefs = oTb.ExportDefinitions;
ExportDefinition oExpDef = oExpDefs["Default export definition"];
Debug.WriteLine(oExpDef.Description);