asposewordscloud
Version:
Aspose.Words Cloud SDK for Node.js
111 lines (110 loc) • 4.12 kB
TypeScript
import { AttributeInfo } from '../internal/attributeInfo';
import { ModelInterface } from './modelInterface';
import { TimeZoneInfoData } from './timeZoneInfoData';
export declare const importsMapSaveOptionsData: {
TimeZoneInfoData: typeof TimeZoneInfoData;
};
/**
* base container class for save options data.
*/
export declare abstract class SaveOptionsData implements ModelInterface {
/**
* Attribute type map
*/
static attributeTypeMap: Array<AttributeInfo>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): AttributeInfo[];
/**
* Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
* Note, Word does not embed PostScript fonts, but can open documents with embedded fonts of this type.
* This option only works when Aspose.Words.Fonts.FontInfoCollection.EmbedTrueTypeFonts of the Aspose.Words.DocumentBase.FontInfos property is set to true.
* The default value is false.
*/
allowEmbeddingPostScriptFonts: boolean;
/**
* Gets or sets CustomTimeZoneInfo.
*/
customTimeZoneInfoData: TimeZoneInfoData;
/**
* Gets or sets the value determining how 3D effects are rendered.
* The default value is Aspose.Words.Saving.Dml3DEffectsRenderingMode.Basic.
*/
dml3DEffectsRenderingMode: SaveOptionsData.Dml3DEffectsRenderingModeEnum;
/**
* Gets or sets the value determining how DrawingML effects are rendered.
* { Simplified | None | Fine }.
* The default value is Simplified.
* This property is used when the document is exported to fixed page formats.
*/
dmlEffectsRenderingMode: SaveOptionsData.DmlEffectsRenderingModeEnum;
/**
* Gets or sets the option that controls how DrawingML shapes are rendered.
* { Fallback | DrawingML }. The default value is Fallback.
* This property is used when the document is exported to fixed page formats.
*/
dmlRenderingMode: SaveOptionsData.DmlRenderingModeEnum;
/**
* Gets or sets the name of destination file.
*/
fileName: string;
/**
* Gets or sets the value determining how ink (InkML) objects are rendered.
* The default value is Aspose.Words.Saving.ImlRenderingMode.InkML.
*/
imlRenderingMode: SaveOptionsData.ImlRenderingModeEnum;
/**
* Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
* Default value is false.
*/
updateCreatedTimeProperty: boolean;
/**
* Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
*/
updateFields: boolean;
/**
* Gets or sets a value indicating whether the Aspose.Words.Properties.BuiltInDocumentProperties.LastPrinted property is updated before saving.
*/
updateLastPrintedProperty: boolean;
/**
* Gets or sets a value indicating whether the Aspose.Words.Properties.BuiltInDocumentProperties.LastSavedTime property is updated before saving.
* The default value is false.
*/
updateLastSavedTimeProperty: boolean;
/**
* Gets or sets a value indicating whether to zip output or not.
* The default value is false.
* When set to true, output files will be zipped.
*/
zipOutput: boolean;
/**
* Gets the format of save.
*/
saveFormat: string;
constructor(init?: Partial<SaveOptionsData>);
collectFilesContent(_resultFilesContent: Array<any>): void;
validate(): void;
}
/**
* Enums for SaveOptionsData
*/
export declare namespace SaveOptionsData {
enum Dml3DEffectsRenderingModeEnum {
Basic,
Advanced
}
enum DmlEffectsRenderingModeEnum {
Simplified,
None,
Fine
}
enum DmlRenderingModeEnum {
Fallback,
DrawingML
}
enum ImlRenderingModeEnum {
Fallback,
InkML
}
}