Skip to content

Commit 9c12546

Browse files
SDK regenerated by CI server [ci skip]
1 parent 4dc7920 commit 9c12546

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

Sources/AsposeWordsCloud/Model/HtmlSaveOptionsData.swift

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,18 @@ public class HtmlSaveOptionsData : SaveOptionsData {
384384
}
385385
}
386386

387+
// Field of exportShapesAsSvg. Container class for html save options.
388+
private var _exportShapesAsSvg : Bool? = nil;
389+
390+
public var exportShapesAsSvg : Bool? {
391+
get {
392+
return self._exportShapesAsSvg;
393+
}
394+
set {
395+
self._exportShapesAsSvg = newValue;
396+
}
397+
}
398+
387399
// Field of exportTextBoxAsSvg. Container class for html save options.
388400
private var _exportTextBoxAsSvg : Bool? = nil;
389401

@@ -642,6 +654,7 @@ public class HtmlSaveOptionsData : SaveOptionsData {
642654
case exportPageSetup = "ExportPageSetup";
643655
case exportRelativeFontSize = "ExportRelativeFontSize";
644656
case exportRoundtripInformation = "ExportRoundtripInformation";
657+
case exportShapesAsSvg = "ExportShapesAsSvg";
645658
case exportTextBoxAsSvg = "ExportTextBoxAsSvg";
646659
case exportTextInputFormFieldAsText = "ExportTextInputFormFieldAsText";
647660
case exportTocPageNumbers = "ExportTocPageNumbers";
@@ -691,6 +704,7 @@ public class HtmlSaveOptionsData : SaveOptionsData {
691704
self.exportPageSetup = try container.decodeIfPresent(Bool.self, forKey: .exportPageSetup);
692705
self.exportRelativeFontSize = try container.decodeIfPresent(Bool.self, forKey: .exportRelativeFontSize);
693706
self.exportRoundtripInformation = try container.decodeIfPresent(Bool.self, forKey: .exportRoundtripInformation);
707+
self.exportShapesAsSvg = try container.decodeIfPresent(Bool.self, forKey: .exportShapesAsSvg);
694708
self.exportTextBoxAsSvg = try container.decodeIfPresent(Bool.self, forKey: .exportTextBoxAsSvg);
695709
self.exportTextInputFormFieldAsText = try container.decodeIfPresent(Bool.self, forKey: .exportTextInputFormFieldAsText);
696710
self.exportTocPageNumbers = try container.decodeIfPresent(Bool.self, forKey: .exportTocPageNumbers);
@@ -775,6 +789,9 @@ public class HtmlSaveOptionsData : SaveOptionsData {
775789
if (self.exportRoundtripInformation != nil) {
776790
try container.encode(self.exportRoundtripInformation, forKey: .exportRoundtripInformation);
777791
}
792+
if (self.exportShapesAsSvg != nil) {
793+
try container.encode(self.exportShapesAsSvg, forKey: .exportShapesAsSvg);
794+
}
778795
if (self.exportTextBoxAsSvg != nil) {
779796
try container.encode(self.exportTextBoxAsSvg, forKey: .exportTextBoxAsSvg);
780797
}
@@ -1074,6 +1091,18 @@ public class HtmlSaveOptionsData : SaveOptionsData {
10741091
}
10751092

10761093

1094+
// Sets exportShapesAsSvg. 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.
1095+
public func setExportShapesAsSvg(exportShapesAsSvg : Bool?) -> HtmlSaveOptionsData {
1096+
self.exportShapesAsSvg = exportShapesAsSvg;
1097+
return self;
1098+
}
1099+
1100+
// Gets exportShapesAsSvg. 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.
1101+
public func getExportShapesAsSvg() -> Bool? {
1102+
return self.exportShapesAsSvg;
1103+
}
1104+
1105+
10771106
// Sets exportTextBoxAsSvg. 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. When set to true, exports textboxes as inline "svg" elements. When false, exports as "image" elements.
10781107
public func setExportTextBoxAsSvg(exportTextBoxAsSvg : Bool?) -> HtmlSaveOptionsData {
10791108
self.exportTextBoxAsSvg = exportTextBoxAsSvg;

0 commit comments

Comments
 (0)