Skip to content

Commit 0b96cc3

Browse files
Prepared the Aspose.HTML for Python via .NET 25.8 release
1 parent 356d4c3 commit 0b96cc3

File tree

9 files changed

+232
-19
lines changed

9 files changed

+232
-19
lines changed

english/python-net/aspose.html.dom.svg.saving/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ format in which document is saved.
1616
| Class | Description |
1717
| :- | :- |
1818
| [`SVGSaveOptions`](/html/python-net/aspose.html.dom.svg.saving/svgsaveoptions) | Represents SVG save options. |
19+
| [`SVGZSaveOptions`](/html/python-net/aspose.html.dom.svg.saving/svgzsaveoptions) | Represents SVGZ save options. |
1920

2021

2122
### Enumerations

english/python-net/aspose.html.dom.svg.saving/svgsaveformat/_index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: SVGSaveFormat enumeration
33
second_title: Aspose.HTML for Python via .NET API References
44
description:
55
type: docs
6-
weight: 20
6+
weight: 30
77
url: /python-net/aspose.html.dom.svg.saving/svgsaveformat/
88
is_root: false
99
---
@@ -20,6 +20,7 @@ The SVGSaveFormat type exposes the following members:
2020
| Field | Description |
2121
| :- | :- |
2222
| SVG | Document will be saved as SVG. |
23+
| SVGZ | Document will be saved as SVGZ. |
2324

2425

2526

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: SVGZSaveOptions constructor
3+
second_title: Aspose.HTML for Python via .NET API References
4+
description:
5+
type: docs
6+
weight: 10
7+
url: /python-net/aspose.html.dom.svg.saving/svgzsaveoptions/__init__/
8+
is_root: false
9+
---
10+
11+
## __init__ {#}
12+
13+
Initializes a new instance of the [`SaveOptions`](/html/python-net/aspose.html.saving/saveoptions) class.
14+
15+
16+
17+
```python
18+
def __init__(self):
19+
...
20+
```
21+
22+
23+
24+
25+
26+
### See Also
27+
* module [`aspose.html.dom.svg.saving`](../../)
28+
* class [`SVGZSaveOptions`](/html/python-net/aspose.html.dom.svg.saving/svgzsaveoptions)
29+
* class [`SaveOptions`](/html/python-net/aspose.html.saving/saveoptions)
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: SVGZSaveOptions class
3+
second_title: Aspose.HTML for Python via .NET API References
4+
description:
5+
type: docs
6+
weight: 20
7+
url: /python-net/aspose.html.dom.svg.saving/svgzsaveoptions/
8+
is_root: false
9+
---
10+
11+
## SVGZSaveOptions class
12+
13+
Represents SVGZ save options.
14+
15+
16+
17+
**Inheritance:** [`SVGZSaveOptions`](/html/python-net/aspose.html.dom.svg.saving/svgzsaveoptions)
18+
[`SaveOptions`](/html/python-net/aspose.html.saving/saveoptions)
19+
20+
21+
22+
The SVGZSaveOptions type exposes the following members:
23+
24+
### Constructors
25+
| Constructor | Description |
26+
| :- | :- |
27+
| [__init__](/html/python-net/aspose.html.dom.svg.saving/svgzsaveoptions/__init__/#) | Initializes a new instance of the [`SaveOptions`](/html/python-net/aspose.html.saving/saveoptions) class. |
28+
29+
30+
### Properties
31+
| Property | Description |
32+
| :- | :- |
33+
| [resource_handling_options](/html/python-net/aspose.html.dom.svg.saving/svgzsaveoptions/resource_handling_options) | Gets a [`ResourceHandlingOptions`](/html/python-net/aspose.html.saving/resourcehandlingoptions) object which is used for configuration of resources handling. |
34+
| [vectorize_text](/html/python-net/aspose.html.dom.svg.saving/svgzsaveoptions/vectorize_text) | Gets or sets whether text elements are replaced with paths. |
35+
36+
37+
38+
### See Also
39+
* module [`aspose.html.dom.svg.saving`](..)
40+
* class [`ResourceHandlingOptions`](/html/python-net/aspose.html.saving/resourcehandlingoptions)
41+
* class [`SVGZSaveOptions`](/html/python-net/aspose.html.dom.svg.saving/svgzsaveoptions)
42+
* class [`SaveOptions`](/html/python-net/aspose.html.saving/saveoptions)
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: resource_handling_options property
3+
second_title: Aspose.HTML for Python via .NET API References
4+
description:
5+
type: docs
6+
weight: 30
7+
url: /python-net/aspose.html.dom.svg.saving/svgzsaveoptions/resource_handling_options/
8+
is_root: false
9+
---
10+
11+
## resource_handling_options property
12+
13+
14+
Gets a [`ResourceHandlingOptions`](/html/python-net/aspose.html.saving/resourcehandlingoptions) object which is used for configuration of resources handling.
15+
### Definition:
16+
```python
17+
@property
18+
def resource_handling_options(self):
19+
...
20+
```
21+
22+
### See Also
23+
* module [`aspose.html.dom.svg.saving`](../../)
24+
* class [`ResourceHandlingOptions`](/html/python-net/aspose.html.saving/resourcehandlingoptions)
25+
* class [`SVGZSaveOptions`](/html/python-net/aspose.html.dom.svg.saving/svgzsaveoptions)
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: vectorize_text property
3+
second_title: Aspose.HTML for Python via .NET API References
4+
description:
5+
type: docs
6+
weight: 40
7+
url: /python-net/aspose.html.dom.svg.saving/svgzsaveoptions/vectorize_text/
8+
is_root: false
9+
---
10+
11+
## vectorize_text property
12+
13+
14+
Gets or sets whether text elements are replaced with paths.
15+
### Definition:
16+
```python
17+
@property
18+
def vectorize_text(self):
19+
...
20+
@vectorize_text.setter
21+
def vectorize_text(self, value):
22+
...
23+
```
24+
25+
### See Also
26+
* module [`aspose.html.dom.svg.saving`](../../)
27+
* class [`SVGZSaveOptions`](/html/python-net/aspose.html.dom.svg.saving/svgzsaveoptions)

english/python-net/aspose.html.dom.svg/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ navigate or render the SVG file as per your requirements.
3333
| [`SVGCursorElement`](/html/python-net/aspose.html.dom.svg/svgcursorelement) | The SVGCursorElement interface corresponds to the ‘cursor’ element. |
3434
| [`SVGDefsElement`](/html/python-net/aspose.html.dom.svg/svgdefselement) | The SVGDefsElement interface corresponds to the ‘defs’ element. |
3535
| [`SVGDescElement`](/html/python-net/aspose.html.dom.svg/svgdescelement) | The SVGDescElement interface corresponds to the ‘desc’ element. |
36-
| [`SVGDocument`](/html/python-net/aspose.html.dom.svg/svgdocument) | An `SVGDocument` is the root of the SVG hierarchy and holds the entire content. Besides providing access to the hierarchy, it also provides some convenience methods for accessing certain sets of information from the document.<br/>When an ‘svg’ element is embedded inline as a component of a document from another namespace, such as when an ‘svg’ element is embedded inline within an XHTML document [XHTML], then an SVGDocument object will not exist; instead, the root object in the document object hierarchy will be a Document object of a different type, such as an HTMLDocument object.<br/>However, an SVGDocument object will indeed exist when the root element of the XML document hierarchy is an ‘svg’ element, such as when viewing a stand-alone SVG file(i.e., a file with MIME type "image/svg+xml"). In this case, the SVGDocument object will be the root object of the document object model hierarchy. |
36+
| [`SVGDocument`](/html/python-net/aspose.html.dom.svg/svgdocument) | An `SVGDocument` is the root of the SVG hierarchy and holds the entire content. Besides providing access to the hierarchy, it also provides some convenience methods for accessing certain sets of information from the document.<br/>In addition to loading standard .svg files, both the constructors and the [`Document.navigate`](/html/python-net/aspose.html.dom/document/navigate) method can load gzip-compressed .svgz files.<br/>When an ‘svg’ element is embedded inline as a component of a document from another namespace, such as when an ‘svg’ element is embedded inline within an XHTML document [XHTML], then an SVGDocument object will not exist; instead, the root object in the document object hierarchy will be a Document object of a different type, such as an HTMLDocument object.<br/>However, an SVGDocument object will indeed exist when the root element of the XML document hierarchy is an ‘svg’ element, such as when viewing a stand-alone SVG file(i.e., a file with MIME type "image/svg+xml"). In this case, the SVGDocument object will be the root object of the document object model hierarchy. |
3737
| [`SVGElement`](/html/python-net/aspose.html.dom.svg/svgelement) | All of the SVG DOM interfaces that correspond directly to elements in the SVG language (such as the SVGPathElement interface for the ‘path’ element) derive from the SVGElement interface. |
3838
| [`SVGElementInstance`](/html/python-net/aspose.html.dom.svg/svgelementinstance) | The root object of each use-element shadow tree implements the SVGUseElementShadowRoot interface. This interface does not currently define any extensions to the properties and methods defined for the ShadowRoot interface and DocumentOrShadowRoot mixin. However, the tree rooted at this node is entirely read-only from the perspective of author scripts. |
3939
| [`SVGEllipseElement`](/html/python-net/aspose.html.dom.svg/svgellipseelement) | The SVGEllipseElement interface corresponds to the ‘ellipse’ element. |

english/python-net/aspose.html.dom.svg/svgdocument/_index.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ is_root: false
1111
## SVGDocument class
1212

1313
An `SVGDocument` is the root of the SVG hierarchy and holds the entire content. Besides providing access to the hierarchy, it also provides some convenience methods for accessing certain sets of information from the document.
14+
In addition to loading standard .svg files, both the constructors and the [`Document.navigate`](/html/python-net/aspose.html.dom/document/navigate) method can load gzip-compressed .svgz files.
1415
When an ‘svg’ element is embedded inline as a component of a document from another namespace, such as when an ‘svg’ element is embedded inline within an XHTML document [XHTML], then an SVGDocument object will not exist; instead, the root object in the document object hierarchy will be a Document object of a different type, such as an HTMLDocument object.
1516
However, an SVGDocument object will indeed exist when the root element of the XML document hierarchy is an ‘svg’ element, such as when viewing a stand-alone SVG file(i.e., a file with MIME type "image/svg+xml"). In this case, the SVGDocument object will be the root object of the document object model hierarchy.
1617

@@ -130,15 +131,18 @@ The SVGDocument type exposes the following members:
130131
| [create_tree_walker](/html/python-net/aspose.html.dom.svg/svgdocument/create_tree_walker/#aspose.html.dom.Node) | Create a new TreeWalker over the subtree rooted at the<br/>specified node. |
131132
| [create_tree_walker](/html/python-net/aspose.html.dom.svg/svgdocument/create_tree_walker/#aspose.html.dom.Node-int) | Create a new TreeWalker over the subtree rooted at the<br/>specified node. |
132133
| [create_tree_walker](/html/python-net/aspose.html.dom.svg/svgdocument/create_tree_walker/#aspose.html.dom.Node-int-aspose.html.dom.traversal.INodeFilter) | Create a new TreeWalker over the subtree rooted at the<br/>specified node. |
133-
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.Url) | Saves the document to local file specified by `url`. All resources used in this document will be saved in <br/>to adjacent folder, whose name will be constructed as: output_file_name + "_files". |
134-
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#str) | Saves the document to local file specified by `path`. All resources used in this document will be saved in <br/>to adjacent folder, whose name will be constructed as: output_file_name + "_files". |
134+
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.Url) | Saves the document to local file specified by `url`. All resources used in this document will be saved in <br/>to adjacent folder, whose name will be constructed as: output_file_name + "_files".<br/>If the specified `url` ends with ".svgz", the document will be saved as a compressed SVGZ file. |
135+
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#str) | Saves the document to local file specified by `path`. All resources used in this document will be saved in <br/>to adjacent folder, whose name will be constructed as: output_file_name + "_files".<br/>If the specified `url` ends with ".svgz", the document will be saved as a compressed SVGZ file. |
135136
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.saving.resourcehandlers.ResourceHandler) | Saves the document content and resources using the [`ResourceHandler`](/html/python-net/aspose.html.saving.resourcehandlers/resourcehandler). |
136137
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#str-aspose.html.dom.svg.saving.SVGSaveFormat) | Saves the document to local file specified by `path`. All resources used in this document will be saved in <br/>to adjacent folder, whose name will be constructed as: output_file_name + "_files". |
137138
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.saving.resourcehandlers.ResourceHandler-aspose.html.dom.svg.saving.SVGSaveFormat) | Saves the document content and resources using the [`ResourceHandler`](/html/python-net/aspose.html.saving.resourcehandlers/resourcehandler). |
138-
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#str-aspose.html.dom.svg.saving.SVGSaveOptions) | Saves the document to local file specified by `path`. All resources used in this document will be saved in <br/>to adjacent folder, whose name will be constructed as: output_file_name + "_files". |
139+
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#str-aspose.html.dom.svg.saving.SVGSaveOptions) | Saves the document as an `.svg` file to the local path specified by<br/>`path`. <br/>Any external resources are written to a sibling folder named<br/>`{output_file_name}_files`. |
139140
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.saving.resourcehandlers.ResourceHandler-aspose.html.dom.svg.saving.SVGSaveOptions) | Saves the document content and resources using the [`ResourceHandler`](/html/python-net/aspose.html.saving.resourcehandlers/resourcehandler). |
140141
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.Url-aspose.html.dom.svg.saving.SVGSaveFormat) | Saves the document to local file specified by `url`. All resources used in this document will be saved in <br/>to adjacent folder, whose name will be constructed as: output_file_name + "_files". |
141-
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.Url-aspose.html.dom.svg.saving.SVGSaveOptions) | Saves the document to local file specified by `url`. All resources used in this document will be saved in <br/>to adjacent folder, whose name will be constructed as: output_file_name + "_files". |
142+
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.Url-aspose.html.dom.svg.saving.SVGSaveOptions) | Saves the document as an `.svg` file to `url`.<br/>All external resources are placed in a sibling folder named<br/>`{output_file_name}_files`. |
143+
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.Url-aspose.html.dom.svg.saving.SVGZSaveOptions) | Saves the document as a compressed `.svgz` file to `url`.<br/>All external resources are placed in a sibling folder named<br/>`{output_file_name}_files`. |
144+
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.saving.resourcehandlers.ResourceHandler-aspose.html.dom.svg.saving.SVGZSaveOptions) | Saves the document content and associated resources using the specified [`ResourceHandler`](/html/python-net/aspose.html.saving.resourcehandlers/resourcehandler). |
145+
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#str-aspose.html.dom.svg.saving.SVGZSaveOptions) | Saves the document as a compressed `.svgz` file to the local path specified by<br/>`path`.<br/>Any external resources are written to a sibling folder named<br/>`{output_file_name}_files`. |
142146
| [get_platform_type](/html/python-net/aspose.html.dom.svg/svgdocument/get_platform_type/#) | This method is used to retrieve the ECMAScript object Type. |
143147
| [dispatch_event](/html/python-net/aspose.html.dom.svg/svgdocument/dispatch_event/#aspose.html.dom.events.Event) | Dispatches an Event at the specified [`IEventTarget`](/html/python-net/aspose.html.dom.events/ieventtarget), (synchronously) invoking<br/>the affected EventListeners in the appropriate order. <br/>The normal event processing rules (including the capturing and optional bubbling phase) also apply to events <br/>dispatched manually with [`IEventTarget.dispatch_event`](/html/python-net/aspose.html.dom.events/ieventtarget/dispatch_event). |
144148
| [has_child_nodes](/html/python-net/aspose.html.dom.svg/svgdocument/has_child_nodes/#) | Returns a boolean value indicating whether the given [`Node`](/html/python-net/aspose.html.dom/node) has child nodes or not. |

0 commit comments

Comments
 (0)