You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/model/htmlSaveOptionsData.ts
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -140,6 +140,11 @@ export class HtmlSaveOptionsData extends SaveOptionsData {
140
140
baseName: "ExportRoundtripInformation",
141
141
type: "boolean",
142
142
},
143
+
{
144
+
name: "exportShapesAsSvg",
145
+
baseName: "ExportShapesAsSvg",
146
+
type: "boolean",
147
+
},
143
148
{
144
149
name: "exportTextBoxAsSvg",
145
150
baseName: "ExportTextBoxAsSvg",
@@ -349,6 +354,11 @@ export class HtmlSaveOptionsData extends SaveOptionsData {
349
354
*/
350
355
publicexportRoundtripInformation: boolean;
351
356
357
+
/**
358
+
* Gets or sets the flag, that controls whether Aspose.Words.Drawing.Shape nodes are converted to SVG images when saving to HTML, MHTML or EPUB. Default value is false.
359
+
*/
360
+
publicexportShapesAsSvg: boolean;
361
+
352
362
/**
353
363
* Gets or sets the flag, that controls how textboxes represented by Aspose.Words.Drawing.Shape are saved to HTML, MHTML or EPUB. The default value is false.
354
364
* When set to true, exports textboxes as inline "svg" elements. When false, exports as "image" elements.
Copy file name to clipboardExpand all lines: src/model/model.ts
+119Lines changed: 119 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2911,6 +2911,125 @@ export class CopyStyleOnlineRequest implements RequestInterface {
2911
2911
}
2912
2912
}
2913
2913
2914
+
/**
2915
+
* Request model for CopyStylesFromTemplate operation.
2916
+
* Copies styles from the origin document to the target document.
2917
+
*/
2918
+
export class CopyStylesFromTemplateRequest implements RequestInterface {
2919
+
2920
+
public constructor(init?: Partial< CopyStylesFromTemplateRequest >) {
2921
+
Object.assign(this, init);
2922
+
}
2923
+
2924
+
/**
2925
+
* The filename of the target document.
2926
+
*/
2927
+
public name: string;
2928
+
2929
+
/**
2930
+
* The filename of the origin document.
2931
+
*/
2932
+
public templateName: string;
2933
+
2934
+
/**
2935
+
* Original document folder.
2936
+
*/
2937
+
public folder: string;
2938
+
2939
+
/**
2940
+
* Original document storage.
2941
+
*/
2942
+
public storage: string;
2943
+
2944
+
/**
2945
+
* Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
2946
+
*/
2947
+
public loadEncoding: string;
2948
+
2949
+
/**
2950
+
* Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
2951
+
*/
2952
+
public password: string;
2953
+
2954
+
/**
2955
+
* Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
2956
+
*/
2957
+
public encryptedPassword: string;
2958
+
2959
+
/**
2960
+
* Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
2961
+
*/
2962
+
public destFileName: string;
2963
+
2964
+
/**
2965
+
* Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
2966
+
*/
2967
+
public revisionAuthor: string;
2968
+
2969
+
/**
2970
+
* The date and time to use for revisions.
2971
+
*/
2972
+
public revisionDateTime: string;
2973
+
2974
+
/**
2975
+
* create the requst options for this request
2976
+
* @param configuration a configuration for the request
2977
+
* @param data encryptor
2978
+
*/
2979
+
public async createRequestOptions(configuration: Configuration, _encryptor: Encryptor) : Promise<request.OptionsWithUri> {
2980
+
let localVarPath = configuration.getApiBaseUrl() + "/words/{name}/styles/copy_from"
0 commit comments