diff --git a/english/python-net/aspose.words.layout/revisionoptions/inserted_text_effect/_index.md b/english/python-net/aspose.words.layout/revisionoptions/inserted_text_effect/_index.md index 341d7473a7f..fdfe7fa2ac5 100644 --- a/english/python-net/aspose.words.layout/revisionoptions/inserted_text_effect/_index.md +++ b/english/python-net/aspose.words.layout/revisionoptions/inserted_text_effect/_index.md @@ -31,7 +31,7 @@ def inserted_text_effect(self, value: aspose.words.layout.RevisionTextEffect): | exception | condition | | --- | --- | -| RuntimeError (Proxy error(ArgumentOutOfRangeException)) | Values of [RevisionTextEffect.HIDDEN](../../revisiontexteffect/#HIDDEN) and [RevisionTextEffect.DOUBLE_STRIKE_THROUGH](../../revisiontexteffect/#DOUBLE_STRIKE_THROUGH) are not allowed. | +| RuntimeError (Proxy error(ArgumentOutOfRangeException)) | Value of [RevisionTextEffect.HIDDEN](../../revisiontexteffect/#HIDDEN) is not allowed. | ### Examples diff --git a/english/python-net/aspose.words.layout/revisionoptions/moved_to_text_effect/_index.md b/english/python-net/aspose.words.layout/revisionoptions/moved_to_text_effect/_index.md index 728e9e98121..399f11987ca 100644 --- a/english/python-net/aspose.words.layout/revisionoptions/moved_to_text_effect/_index.md +++ b/english/python-net/aspose.words.layout/revisionoptions/moved_to_text_effect/_index.md @@ -31,7 +31,7 @@ def moved_to_text_effect(self, value: aspose.words.layout.RevisionTextEffect): | exception | condition | | --- | --- | -| RuntimeError (Proxy error(ArgumentOutOfRangeException)) | Values of [RevisionTextEffect.HIDDEN](../../revisiontexteffect/#HIDDEN) and [RevisionTextEffect.DOUBLE_STRIKE_THROUGH](../../revisiontexteffect/#DOUBLE_STRIKE_THROUGH) are not allowed. | +| RuntimeError (Proxy error(ArgumentOutOfRangeException)) | Value of [RevisionTextEffect.HIDDEN](../../revisiontexteffect/#HIDDEN) is not allowed. | ### Examples diff --git a/english/python-net/aspose.words.layout/revisionoptions/revision_bars_position/_index.md b/english/python-net/aspose.words.layout/revisionoptions/revision_bars_position/_index.md index 1ad0d2d5bd5..3dd976de7c1 100644 --- a/english/python-net/aspose.words.layout/revisionoptions/revision_bars_position/_index.md +++ b/english/python-net/aspose.words.layout/revisionoptions/revision_bars_position/_index.md @@ -31,7 +31,7 @@ def revision_bars_position(self, value: aspose.words.drawing.HorizontalAlignment | exception | condition | | --- | --- | -| RuntimeError (Proxy error(ArgumentOutOfRangeException)) | Values of [HorizontalAlignment.CENTER](../../../aspose.words.drawing/horizontalalignment/#CENTER) and [HorizontalAlignment.INSIDE](../../../aspose.words.drawing/horizontalalignment/#INSIDE) are not allowed. | +| RuntimeError (Proxy error(ArgumentOutOfRangeException)) | Values of [HorizontalAlignment.CENTER](../../../aspose.words.drawing/horizontalalignment/#CENTER) and [HorizontalAlignment.INSIDE](../../../aspose.words.drawing/horizontalalignment/#INSIDE) are not allowed. | ### Examples diff --git a/english/python-net/aspose.words.saving/_index.md b/english/python-net/aspose.words.saving/_index.md index 2f600096819..d35859ad2e3 100644 --- a/english/python-net/aspose.words.saving/_index.md +++ b/english/python-net/aspose.words.saving/_index.md @@ -119,6 +119,7 @@ allow to specify additional options for saving or converting documents. | [TableContentAlignment](./tablecontentalignment/) | Allows to specify the alignment of the content of the table to be used when exporting into Markdown format. | | [TiffCompression](./tiffcompression/) | Specifies what type of compression to apply when saving page images into a TIFF file. | | [TxtExportHeadersFootersMode](./txtexportheadersfootersmode/) | Specifies the way headers and footers are exported to plain text format. | +| [TxtOfficeMathExportMode](./txtofficemathexportmode/) | Specifies how Aspose.Words exports OfficeMath to [SaveFormat.TEXT](../aspose.words/saveformat/#TEXT). | | [XlsxDateTimeParsingMode](./xlsxdatetimeparsingmode/) | Specifies how document text is parsed to identify date and time values. | | [XlsxSectionMode](./xlsxsectionmode/) | Specifies how sections are handled when saving a document in the XLSX format. | | [Zip64Mode](./zip64mode/) | Specifies when to use ZIP64 format extensions for OOXML files. | diff --git a/english/python-net/aspose.words.saving/htmlelementsizeoutputmode/_index.md b/english/python-net/aspose.words.saving/htmlelementsizeoutputmode/_index.md index bf30ab2faa0..c6241645776 100644 --- a/english/python-net/aspose.words.saving/htmlelementsizeoutputmode/_index.md +++ b/english/python-net/aspose.words.saving/htmlelementsizeoutputmode/_index.md @@ -57,11 +57,11 @@ options.table_width_output_mode = aw.saving.HtmlElementSizeOutputMode.RELATIVE_O doc.save(file_name=ARTIFACTS_DIR + 'HtmlSaveOptions.NegativeIndent.html', save_options=options) out_doc_contents = system_helper.io.File.read_all_text(ARTIFACTS_DIR + 'HtmlSaveOptions.NegativeIndent.html') if allow_negative_indent: - self.assertTrue('' in out_doc_contents) - self.assertTrue('
' in out_doc_contents) + self.assertTrue('
' in out_doc_contents) + self.assertTrue('
' in out_doc_contents) else: - self.assertTrue('
' in out_doc_contents) - self.assertTrue('
' in out_doc_contents) + self.assertTrue('
' in out_doc_contents) + self.assertTrue('
' in out_doc_contents) ``` ### See Also diff --git a/english/python-net/aspose.words.saving/htmlsaveoptions/allow_negative_indent/_index.md b/english/python-net/aspose.words.saving/htmlsaveoptions/allow_negative_indent/_index.md index 6b5ff00bee4..bd2fe2d4b6c 100644 --- a/english/python-net/aspose.words.saving/htmlsaveoptions/allow_negative_indent/_index.md +++ b/english/python-net/aspose.words.saving/htmlsaveoptions/allow_negative_indent/_index.md @@ -71,11 +71,11 @@ options.table_width_output_mode = aw.saving.HtmlElementSizeOutputMode.RELATIVE_O doc.save(file_name=ARTIFACTS_DIR + 'HtmlSaveOptions.NegativeIndent.html', save_options=options) out_doc_contents = system_helper.io.File.read_all_text(ARTIFACTS_DIR + 'HtmlSaveOptions.NegativeIndent.html') if allow_negative_indent: - self.assertTrue('
' in out_doc_contents) - self.assertTrue('
' in out_doc_contents) + self.assertTrue('
' in out_doc_contents) + self.assertTrue('
' in out_doc_contents) else: - self.assertTrue('
' in out_doc_contents) - self.assertTrue('
' in out_doc_contents) + self.assertTrue('
' in out_doc_contents) + self.assertTrue('
' in out_doc_contents) ``` ### See Also diff --git a/english/python-net/aspose.words.saving/htmlsaveoptions/export_roundtrip_information/_index.md b/english/python-net/aspose.words.saving/htmlsaveoptions/export_roundtrip_information/_index.md index 964f897183d..8454d18a99d 100644 --- a/english/python-net/aspose.words.saving/htmlsaveoptions/export_roundtrip_information/_index.md +++ b/english/python-net/aspose.words.saving/htmlsaveoptions/export_roundtrip_information/_index.md @@ -64,7 +64,7 @@ doc = aw.Document(file_name=ARTIFACTS_DIR + 'HtmlSaveOptions.RoundTripInformatio if export_roundtrip_information: self.assertTrue('
' in out_doc_contents) self.assertTrue(' ' in out_doc_contents) - self.assertTrue('td colspan="2" style="width:210.6pt; border-style:solid; border-width:0.75pt 6pt 0.75pt 0.75pt; ' + 'padding-right:2.4pt; padding-left:5.03pt; vertical-align:top; ' + '-aw-border-bottom:0.5pt single; -aw-border-left:0.5pt single; -aw-border-top:0.5pt single">' in out_doc_contents) + self.assertTrue('td colspan="2" style="width:210.6pt; border-style:solid; border-width:0.75pt 6pt 0.75pt 0.75pt; ' + 'padding-right:2.4pt; padding-left:5.03pt; vertical-align:top; -aw-border-bottom:0.5pt single #000000; ' + '-aw-border-left:0.5pt single #000000; -aw-border-top:0.5pt single #000000">' in out_doc_contents) self.assertTrue('
  • ' in out_doc_contents) self.assertTrue('' in out_doc_contents) self.assertTrue('Page number ' + '' + '' + '' + '1' + '' in out_doc_contents) diff --git a/english/python-net/aspose.words.saving/htmlsaveoptions/table_width_output_mode/_index.md b/english/python-net/aspose.words.saving/htmlsaveoptions/table_width_output_mode/_index.md index 48145da89a8..0314c2439f6 100644 --- a/english/python-net/aspose.words.saving/htmlsaveoptions/table_width_output_mode/_index.md +++ b/english/python-net/aspose.words.saving/htmlsaveoptions/table_width_output_mode/_index.md @@ -83,11 +83,11 @@ options.table_width_output_mode = aw.saving.HtmlElementSizeOutputMode.RELATIVE_O doc.save(file_name=ARTIFACTS_DIR + 'HtmlSaveOptions.NegativeIndent.html', save_options=options) out_doc_contents = system_helper.io.File.read_all_text(ARTIFACTS_DIR + 'HtmlSaveOptions.NegativeIndent.html') if allow_negative_indent: - self.assertTrue('
  • ' in out_doc_contents) - self.assertTrue('
    ' in out_doc_contents) + self.assertTrue('
    ' in out_doc_contents) + self.assertTrue('
    ' in out_doc_contents) else: - self.assertTrue('
    ' in out_doc_contents) - self.assertTrue('
    ' in out_doc_contents) + self.assertTrue('
    ' in out_doc_contents) + self.assertTrue('
    ' in out_doc_contents) ``` ### See Also diff --git a/english/python-net/aspose.words.saving/markdownsaveoptions/_index.md b/english/python-net/aspose.words.saving/markdownsaveoptions/_index.md index e5b962ac8ed..d2a8031d80c 100644 --- a/english/python-net/aspose.words.saving/markdownsaveoptions/_index.md +++ b/english/python-net/aspose.words.saving/markdownsaveoptions/_index.md @@ -53,6 +53,7 @@ To learn more, visit the [Specify Save Options](https://docs.aspose.com/words/py | [paragraph_break](../txtsaveoptionsbase/paragraph_break/) | Specifies the string to use as a paragraph break when exporting in text formats.
    (Inherited from [TxtSaveOptionsBase](../txtsaveoptionsbase/)) | | [pretty_format](../saveoptions/pretty_format/) | When ``True``, pretty formats output where applicable. Default value is ``False``.
    (Inherited from [SaveOptions](../saveoptions/)) | | [progress_callback](../saveoptions/progress_callback/) | Called during saving a document and accepts data about saving progress.
    (Inherited from [SaveOptions](../saveoptions/)) | +| [resource_saving_callback](./resource_saving_callback/) | Allows to control how resources are saved when a document is exported to [SaveFormat.MARKDOWN](../../aspose.words/saveformat/#MARKDOWN) format. | | [save_format](./save_format/) | Specifies the format in which the document will be saved if this save options object is used. Can only be [SaveFormat.MARKDOWN](../../aspose.words/saveformat/#MARKDOWN). | | [table_content_alignment](./table_content_alignment/) | Gets or sets a value that specifies how to align contents in tables when exporting into the [SaveFormat.MARKDOWN](../../aspose.words/saveformat/#MARKDOWN) format. The default value is [TableContentAlignment.AUTO](../tablecontentalignment/#AUTO). | | [temp_folder](../saveoptions/temp_folder/) | Specifies the folder for temporary files used when saving to a DOC or DOCX file. By default this property is ``None`` and no temporary files are used.
    (Inherited from [SaveOptions](../saveoptions/)) | diff --git a/english/python-net/aspose.words.saving/markdownsaveoptions/resource_saving_callback/_index.md b/english/python-net/aspose.words.saving/markdownsaveoptions/resource_saving_callback/_index.md new file mode 100644 index 00000000000..f108c1e8c92 --- /dev/null +++ b/english/python-net/aspose.words.saving/markdownsaveoptions/resource_saving_callback/_index.md @@ -0,0 +1,43 @@ +--- +title: MarkdownSaveOptions.resource_saving_callback property +linktitle: resource_saving_callback property +articleTitle: resource_saving_callback property +second_title: Aspose.Words for Python +description: "MarkdownSaveOptions.resource_saving_callback property. Allows to control how resources are saved when a document is exported to [SaveFormat.MARKDOWN](../../../aspose.words/saveformat/#MARKDOWN) format." +type: docs +weight: 130 +url: /python-net/aspose.words.saving/markdownsaveoptions/resource_saving_callback/ +--- + +## MarkdownSaveOptions.resource_saving_callback property + +Allows to control how resources are saved when a document is exported to +[SaveFormat.MARKDOWN](../../../aspose.words/saveformat/#MARKDOWN) format. + + + +```python +@property +def resource_saving_callback(self) -> aspose.words.saving.IResourceSavingCallback: + ... + +@resource_saving_callback.setter +def resource_saving_callback(self, value: aspose.words.saving.IResourceSavingCallback): + ... + +``` + +### Remarks + +Note, there is only one type of resources in Markdown. These are images. +When you specify both [MarkdownSaveOptions.image_saving_callback](../image_saving_callback/) and [MarkdownSaveOptions.resource_saving_callback](./), +then first is called [MarkdownSaveOptions.resource_saving_callback](./). However, note it is not necessary to have both +implementations, as [ImageSavingArgs](../../imagesavingargs/) is actually a subset of [ResourceSavingArgs](../../resourcesavingargs/). + + + +### See Also + +* module [aspose.words.saving](../../) +* class [MarkdownSaveOptions](../) + diff --git a/english/python-net/aspose.words.saving/markdownsaveoptions/save_format/_index.md b/english/python-net/aspose.words.saving/markdownsaveoptions/save_format/_index.md index 0a0afea6db3..ba8e47d615c 100644 --- a/english/python-net/aspose.words.saving/markdownsaveoptions/save_format/_index.md +++ b/english/python-net/aspose.words.saving/markdownsaveoptions/save_format/_index.md @@ -5,7 +5,7 @@ articleTitle: save_format property second_title: Aspose.Words for Python description: "MarkdownSaveOptions.save_format property. Specifies the format in which the document will be saved if this save options object is used" type: docs -weight: 130 +weight: 140 url: /python-net/aspose.words.saving/markdownsaveoptions/save_format/ --- diff --git a/english/python-net/aspose.words.saving/markdownsaveoptions/table_content_alignment/_index.md b/english/python-net/aspose.words.saving/markdownsaveoptions/table_content_alignment/_index.md index 399df037d32..93bdf05b147 100644 --- a/english/python-net/aspose.words.saving/markdownsaveoptions/table_content_alignment/_index.md +++ b/english/python-net/aspose.words.saving/markdownsaveoptions/table_content_alignment/_index.md @@ -5,7 +5,7 @@ articleTitle: table_content_alignment property second_title: Aspose.Words for Python description: "MarkdownSaveOptions.table_content_alignment property. Gets or sets a value that specifies how to align contents in tables when exporting into the [SaveFormat.MARKDOWN](../../../aspose.words/saveformat/#MARKDOWN) format" type: docs -weight: 140 +weight: 150 url: /python-net/aspose.words.saving/markdownsaveoptions/table_content_alignment/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/_index.md index b0711f8a018..1beb0e62079 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/_index.md @@ -46,6 +46,7 @@ To learn more, visit the [Specify Save Options](https://docs.aspose.com/words/py | [embed_full_fonts](./embed_full_fonts/) | Controls how fonts are embedded into the resulting PDF documents. | | [encryption_details](./encryption_details/) | Gets or sets the details for encrypting the output PDF document. | | [export_document_structure](./export_document_structure/) | Gets or sets a value determining whether or not to export document structure. | +| [export_floating_shapes_as_inline_tag](./export_floating_shapes_as_inline_tag/) | Gets or sets a value determining whether floating shapes are exported as inline tags in the document structure. | | [export_generator_name](../saveoptions/export_generator_name/) | When ``True``, causes the name and version of Aspose.Words to be embedded into produced files. Default value is ``True``.
    (Inherited from [SaveOptions](../saveoptions/)) | | [export_language_to_span_tag](./export_language_to_span_tag/) | Gets or sets a value determining whether or not to create a "Span" tag in the document structure to export the text language. | | [export_paragraph_graphics_to_artifact](./export_paragraph_graphics_to_artifact/) | Gets or sets a value determining whether a paragraph graphic should be marked as an artifact. | diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/clone/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/clone/_index.md index d84b99b7b0d..022b7be65d8 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/clone/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/clone/_index.md @@ -5,7 +5,7 @@ articleTitle: clone method second_title: Aspose.Words for Python description: "PdfSaveOptions.clone method. Creates a deep clone of this object." type: docs -weight: 370 +weight: 380 url: /python-net/aspose.words.saving/pdfsaveoptions/clone/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/export_floating_shapes_as_inline_tag/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/export_floating_shapes_as_inline_tag/_index.md new file mode 100644 index 00000000000..804c700295a --- /dev/null +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/export_floating_shapes_as_inline_tag/_index.md @@ -0,0 +1,56 @@ +--- +title: PdfSaveOptions.export_floating_shapes_as_inline_tag property +linktitle: export_floating_shapes_as_inline_tag property +articleTitle: export_floating_shapes_as_inline_tag property +second_title: Aspose.Words for Python +description: "PdfSaveOptions.export_floating_shapes_as_inline_tag property. Gets or sets a value determining whether floating shapes are exported as inline tags in the document structure." +type: docs +weight: 150 +url: /python-net/aspose.words.saving/pdfsaveoptions/export_floating_shapes_as_inline_tag/ +--- + +## PdfSaveOptions.export_floating_shapes_as_inline_tag property + +Gets or sets a value determining whether floating shapes are exported as inline tags in the document structure. + + +```python +@property +def export_floating_shapes_as_inline_tag(self) -> bool: + ... + +@export_floating_shapes_as_inline_tag.setter +def export_floating_shapes_as_inline_tag(self, value: bool): + ... + +``` + +### Remarks + +Default value is ``False`` and floating shapes will be exported as block-level tags, +placed after the paragraph in which they are anchored. + +When the value is ``True`` floating shapes will be exported as inline tags, +placed within the paragraph where they are anchored. + +This value is ignored when [PdfSaveOptions.export_document_structure](../export_document_structure/) is ``False``. + + + + +### Examples + +Shows how to export floating shapes as inline tags. + +```python +doc = aw.Document(file_name=MY_DIR + 'Floating object.docx') +save_options = aw.saving.PdfSaveOptions() +save_options.export_floating_shapes_as_inline_tag = True +doc.save(file_name=ARTIFACTS_DIR + 'PdfSaveOptions.ExportFloatingShapesAsInlineTag.pdf', save_options=save_options) +``` + +### See Also + +* module [aspose.words.saving](../../) +* class [PdfSaveOptions](../) + diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/export_language_to_span_tag/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/export_language_to_span_tag/_index.md index 86c0dbad31c..8a35ac61d1e 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/export_language_to_span_tag/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/export_language_to_span_tag/_index.md @@ -5,7 +5,7 @@ articleTitle: export_language_to_span_tag property second_title: Aspose.Words for Python description: "PdfSaveOptions.export_language_to_span_tag property. Gets or sets a value determining whether or not to create a Span tag in the document structure to export the text language." type: docs -weight: 150 +weight: 160 url: /python-net/aspose.words.saving/pdfsaveoptions/export_language_to_span_tag/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/export_paragraph_graphics_to_artifact/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/export_paragraph_graphics_to_artifact/_index.md index f11ed84c0a2..bd724f981cc 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/export_paragraph_graphics_to_artifact/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/export_paragraph_graphics_to_artifact/_index.md @@ -5,7 +5,7 @@ articleTitle: export_paragraph_graphics_to_artifact property second_title: Aspose.Words for Python description: "PdfSaveOptions.export_paragraph_graphics_to_artifact property. Gets or sets a value determining whether a paragraph graphic should be marked as an artifact." type: docs -weight: 160 +weight: 170 url: /python-net/aspose.words.saving/pdfsaveoptions/export_paragraph_graphics_to_artifact/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/font_embedding_mode/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/font_embedding_mode/_index.md index 210e76f606f..901c3a257e3 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/font_embedding_mode/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/font_embedding_mode/_index.md @@ -5,7 +5,7 @@ articleTitle: font_embedding_mode property second_title: Aspose.Words for Python description: "PdfSaveOptions.font_embedding_mode property. Specifies the font embedding mode." type: docs -weight: 170 +weight: 180 url: /python-net/aspose.words.saving/pdfsaveoptions/font_embedding_mode/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/header_footer_bookmarks_export_mode/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/header_footer_bookmarks_export_mode/_index.md index a4e8b5bd81d..f5dd161f293 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/header_footer_bookmarks_export_mode/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/header_footer_bookmarks_export_mode/_index.md @@ -5,7 +5,7 @@ articleTitle: header_footer_bookmarks_export_mode property second_title: Aspose.Words for Python description: "PdfSaveOptions.header_footer_bookmarks_export_mode property. Determines how bookmarks in headers/footers are exported." type: docs -weight: 180 +weight: 190 url: /python-net/aspose.words.saving/pdfsaveoptions/header_footer_bookmarks_export_mode/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/image_color_space_export_mode/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/image_color_space_export_mode/_index.md index a55707f2800..c1162b53124 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/image_color_space_export_mode/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/image_color_space_export_mode/_index.md @@ -5,7 +5,7 @@ articleTitle: image_color_space_export_mode property second_title: Aspose.Words for Python description: "PdfSaveOptions.image_color_space_export_mode property. Specifies how the color space will be selected for the images in PDF document." type: docs -weight: 190 +weight: 200 url: /python-net/aspose.words.saving/pdfsaveoptions/image_color_space_export_mode/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/image_compression/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/image_compression/_index.md index 70e6dfe9381..721092d287c 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/image_compression/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/image_compression/_index.md @@ -5,7 +5,7 @@ articleTitle: image_compression property second_title: Aspose.Words for Python description: "PdfSaveOptions.image_compression property. Specifies compression type to be used for all images in the document." type: docs -weight: 200 +weight: 210 url: /python-net/aspose.words.saving/pdfsaveoptions/image_compression/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/interpolate_images/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/interpolate_images/_index.md index 62b0ff70ca1..fa433ad3a4f 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/interpolate_images/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/interpolate_images/_index.md @@ -5,7 +5,7 @@ articleTitle: interpolate_images property second_title: Aspose.Words for Python description: "PdfSaveOptions.interpolate_images property. A flag indicating whether image interpolation shall be performed by a conforming reader" type: docs -weight: 210 +weight: 220 url: /python-net/aspose.words.saving/pdfsaveoptions/interpolate_images/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/jpeg_quality/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/jpeg_quality/_index.md index 1077ca2c1ae..0d8359104b8 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/jpeg_quality/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/jpeg_quality/_index.md @@ -5,7 +5,7 @@ articleTitle: jpeg_quality property second_title: Aspose.Words for Python description: "PdfSaveOptions.jpeg_quality property. Gets or sets a value determining the quality of the JPEG images inside PDF document." type: docs -weight: 220 +weight: 230 url: /python-net/aspose.words.saving/pdfsaveoptions/jpeg_quality/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/open_hyperlinks_in_new_window/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/open_hyperlinks_in_new_window/_index.md index 2e2d2a46d71..a6d7df8eb00 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/open_hyperlinks_in_new_window/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/open_hyperlinks_in_new_window/_index.md @@ -5,7 +5,7 @@ articleTitle: open_hyperlinks_in_new_window property second_title: Aspose.Words for Python description: "PdfSaveOptions.open_hyperlinks_in_new_window property. Gets or sets a value determining whether hyperlinks in the output Pdf document are forced to be opened in a new window (or tab) of a browser." type: docs -weight: 230 +weight: 240 url: /python-net/aspose.words.saving/pdfsaveoptions/open_hyperlinks_in_new_window/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/outline_options/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/outline_options/_index.md index 0fd1df9b02d..175ef5718cb 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/outline_options/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/outline_options/_index.md @@ -5,7 +5,7 @@ articleTitle: outline_options property second_title: Aspose.Words for Python description: "PdfSaveOptions.outline_options property. Allows to specify outline options." type: docs -weight: 240 +weight: 250 url: /python-net/aspose.words.saving/pdfsaveoptions/outline_options/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/page_layout/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/page_layout/_index.md index 5cbd761945e..fda39698335 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/page_layout/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/page_layout/_index.md @@ -5,7 +5,7 @@ articleTitle: page_layout property second_title: Aspose.Words for Python description: "PdfSaveOptions.page_layout property. Specifies the page layout to be used when the document is opened in a PDF reader." type: docs -weight: 250 +weight: 260 url: /python-net/aspose.words.saving/pdfsaveoptions/page_layout/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/page_mode/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/page_mode/_index.md index 5132fd7fe20..2bcec35fa37 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/page_mode/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/page_mode/_index.md @@ -5,7 +5,7 @@ articleTitle: page_mode property second_title: Aspose.Words for Python description: "PdfSaveOptions.page_mode property. Specifies how the PDF document should be displayed when opened in a PDF reader." type: docs -weight: 260 +weight: 270 url: /python-net/aspose.words.saving/pdfsaveoptions/page_mode/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/preblend_images/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/preblend_images/_index.md index f1f3d7ce393..93e9e4dc328 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/preblend_images/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/preblend_images/_index.md @@ -5,7 +5,7 @@ articleTitle: preblend_images property second_title: Aspose.Words for Python description: "PdfSaveOptions.preblend_images property. Gets or sets a value determining whether or not to preblend transparent images with black background color." type: docs -weight: 270 +weight: 280 url: /python-net/aspose.words.saving/pdfsaveoptions/preblend_images/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/preserve_form_fields/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/preserve_form_fields/_index.md index f00c80b6432..946f762104a 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/preserve_form_fields/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/preserve_form_fields/_index.md @@ -5,7 +5,7 @@ articleTitle: preserve_form_fields property second_title: Aspose.Words for Python description: "PdfSaveOptions.preserve_form_fields property. Specifies whether to preserve Microsoft Word form fields as form fields in PDF or convert them to text" type: docs -weight: 280 +weight: 290 url: /python-net/aspose.words.saving/pdfsaveoptions/preserve_form_fields/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/render_choice_form_field_border/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/render_choice_form_field_border/_index.md index cba7d384eb7..567ceaed8c7 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/render_choice_form_field_border/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/render_choice_form_field_border/_index.md @@ -5,7 +5,7 @@ articleTitle: render_choice_form_field_border property second_title: Aspose.Words for Python description: "PdfSaveOptions.render_choice_form_field_border property. Specifies whether to render PDF choice form field border." type: docs -weight: 290 +weight: 300 url: /python-net/aspose.words.saving/pdfsaveoptions/render_choice_form_field_border/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/save_format/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/save_format/_index.md index 63a588dd40f..3fbfed64b66 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/save_format/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/save_format/_index.md @@ -5,7 +5,7 @@ articleTitle: save_format property second_title: Aspose.Words for Python description: "PdfSaveOptions.save_format property. Specifies the format in which the document will be saved if this save options object is used" type: docs -weight: 300 +weight: 310 url: /python-net/aspose.words.saving/pdfsaveoptions/save_format/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/text_compression/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/text_compression/_index.md index 8942b245982..b19c46a029a 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/text_compression/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/text_compression/_index.md @@ -5,7 +5,7 @@ articleTitle: text_compression property second_title: Aspose.Words for Python description: "PdfSaveOptions.text_compression property. Specifies compression type to be used for all textual content in the document." type: docs -weight: 310 +weight: 320 url: /python-net/aspose.words.saving/pdfsaveoptions/text_compression/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/use_book_fold_printing_settings/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/use_book_fold_printing_settings/_index.md index 1b6a4a054b9..06b946836d5 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/use_book_fold_printing_settings/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/use_book_fold_printing_settings/_index.md @@ -5,7 +5,7 @@ articleTitle: use_book_fold_printing_settings property second_title: Aspose.Words for Python description: "PdfSaveOptions.use_book_fold_printing_settings property. Gets or sets a boolean value indicating whether the document should be saved using a booklet printing layout, if it is specified via [PageSetup.multiple_pages](../../../aspose.words/pagesetup/multiple_pages/)." type: docs -weight: 320 +weight: 330 url: /python-net/aspose.words.saving/pdfsaveoptions/use_book_fold_printing_settings/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/use_core_fonts/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/use_core_fonts/_index.md index d16989bc30c..a15d7e4292a 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/use_core_fonts/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/use_core_fonts/_index.md @@ -5,7 +5,7 @@ articleTitle: use_core_fonts property second_title: Aspose.Words for Python description: "PdfSaveOptions.use_core_fonts property. Gets or sets a value determining whether or not to substitute TrueType fonts Arial, Times New Roman, Courier New and Symbol with core PDF Type 1 fonts." type: docs -weight: 330 +weight: 340 url: /python-net/aspose.words.saving/pdfsaveoptions/use_core_fonts/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/use_sdt_tag_as_form_field_name/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/use_sdt_tag_as_form_field_name/_index.md index f18c1dbbb38..8df663b811f 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/use_sdt_tag_as_form_field_name/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/use_sdt_tag_as_form_field_name/_index.md @@ -5,7 +5,7 @@ articleTitle: use_sdt_tag_as_form_field_name property second_title: Aspose.Words for Python description: "PdfSaveOptions.use_sdt_tag_as_form_field_name property. Specifies whether to use SDT control Tag or Id property as a name of form field in PDF." type: docs -weight: 340 +weight: 350 url: /python-net/aspose.words.saving/pdfsaveoptions/use_sdt_tag_as_form_field_name/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/zoom_behavior/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/zoom_behavior/_index.md index 7f56b5ad659..fd96ac3deb3 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/zoom_behavior/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/zoom_behavior/_index.md @@ -5,7 +5,7 @@ articleTitle: zoom_behavior property second_title: Aspose.Words for Python description: "PdfSaveOptions.zoom_behavior property. Gets or sets a value determining what type of zoom should be applied when a document is opened with a PDF viewer." type: docs -weight: 350 +weight: 360 url: /python-net/aspose.words.saving/pdfsaveoptions/zoom_behavior/ --- diff --git a/english/python-net/aspose.words.saving/pdfsaveoptions/zoom_factor/_index.md b/english/python-net/aspose.words.saving/pdfsaveoptions/zoom_factor/_index.md index ea99648075a..29c4eb8c155 100644 --- a/english/python-net/aspose.words.saving/pdfsaveoptions/zoom_factor/_index.md +++ b/english/python-net/aspose.words.saving/pdfsaveoptions/zoom_factor/_index.md @@ -5,7 +5,7 @@ articleTitle: zoom_factor property second_title: Aspose.Words for Python description: "PdfSaveOptions.zoom_factor property. Gets or sets a value determining zoom factor (in percentages) for a document." type: docs -weight: 360 +weight: 370 url: /python-net/aspose.words.saving/pdfsaveoptions/zoom_factor/ --- diff --git a/english/python-net/aspose.words.saving/resourcesavingargs/_index.md b/english/python-net/aspose.words.saving/resourcesavingargs/_index.md index d243919634e..5b4fafa4d38 100644 --- a/english/python-net/aspose.words.saving/resourcesavingargs/_index.md +++ b/english/python-net/aspose.words.saving/resourcesavingargs/_index.md @@ -19,14 +19,14 @@ To learn more, visit the [Save a Document](https://docs.aspose.com/words/python- ### Remarks -By default, when Aspose.Words saves a document to fixed page HTML or SVG, it saves each resource into +By default, when Aspose.Words saves a document to fixed page HTML, SVG or Markdown, it saves each resource into a separate file. Aspose.Words uses the document file name and a unique number to generate unique file name for each resource found in the document. -[ResourceSavingArgs](./) allows to redefine how resource file names are generated or to +[ResourceSavingArgs](./) allows to redefine how resource file names are generated or to completely circumvent saving of resources into files by providing your own stream objects. -To apply your own logic for generating resource file names use the +To apply your own logic for generating resource file names use the [ResourceSavingArgs.resource_file_name](./resource_file_name/) property. To save resources into streams instead of files, use the [ResourceSavingArgs.resource_stream](./resource_stream/) property. diff --git a/english/python-net/aspose.words.saving/resourcesavingargs/resource_file_name/_index.md b/english/python-net/aspose.words.saving/resourcesavingargs/resource_file_name/_index.md index 6f293b1af5d..29888c935c4 100644 --- a/english/python-net/aspose.words.saving/resourcesavingargs/resource_file_name/_index.md +++ b/english/python-net/aspose.words.saving/resourcesavingargs/resource_file_name/_index.md @@ -28,27 +28,28 @@ def resource_file_name(self, value: str): ### Remarks This property allows you to redefine how the resource file names are generated -during export to fixed page HTML or SVG. +during export to fixed page HTML, SVG or Markdown. -When the event is fired, this property contains the file name that was generated -by Aspose.Words. You can change the value of this property to save the resource into a +When the event is fired, this property contains the file name that was generated +by Aspose.Words. You can change the value of this property to save the resource into a different file. Note that file names must be unique. -Aspose.Words automatically generates a unique file name for every resource when -exporting to fixed page HTML or SVG format. How the resource file name is generated +Aspose.Words automatically generates a unique file name for every resource when +exporting to fixed page HTML, SVG or Markdown format. How the resource file name is generated depends on whether you save the document to a file or to a stream. -When saving a document to a file, the generated resource file name looks like +When saving a document to a file, the generated resource file name looks like *\.\.\*. -When saving a document to a stream, the generated resource file name looks like +When saving a document to a stream, the generated resource file name looks like *Aspose.Words.\.\.\*. [ResourceSavingArgs.resource_file_name](./) must contain only the file name without the path. -Aspose.Words determines the path for saving and the value of the ``src`` attribute for writing -to fixed page HTML or SVG using the document file name, the [HtmlFixedSaveOptions.resources_folder](../../htmlfixedsaveoptions/resources_folder/) -or [SvgSaveOptions.resources_folder](../../svgsaveoptions/resources_folder/) and [HtmlFixedSaveOptions.resources_folder_alias](../../htmlfixedsaveoptions/resources_folder_alias/) -or [SvgSaveOptions.resources_folder_alias](../../svgsaveoptions/resources_folder_alias/) properties. +Aspose.Words determines the path for saving and the value of the ``src`` attribute for writing +to fixed page HTML, SVG or Markdown using the document file name, the [HtmlFixedSaveOptions.resources_folder](../../htmlfixedsaveoptions/resources_folder/) +or [SvgSaveOptions.resources_folder](../../svgsaveoptions/resources_folder/) and [HtmlFixedSaveOptions.resources_folder_alias](../../htmlfixedsaveoptions/resources_folder_alias/) +or [SvgSaveOptions.resources_folder_alias](../../svgsaveoptions/resources_folder_alias/) or [MarkdownSaveOptions.images_folder](../../markdownsaveoptions/images_folder/) or +[MarkdownSaveOptions.images_folder_alias](../../markdownsaveoptions/images_folder_alias/) properties. [HtmlFixedSaveOptions.resources_folder](../../htmlfixedsaveoptions/resources_folder/) [SvgSaveOptions.resources_folder](../../svgsaveoptions/resources_folder/) diff --git a/english/python-net/aspose.words.saving/resourcesavingargs/resource_file_uri/_index.md b/english/python-net/aspose.words.saving/resourcesavingargs/resource_file_uri/_index.md index e1099bdbe0c..ee4927d5ae3 100644 --- a/english/python-net/aspose.words.saving/resourcesavingargs/resource_file_uri/_index.md +++ b/english/python-net/aspose.words.saving/resourcesavingargs/resource_file_uri/_index.md @@ -27,20 +27,23 @@ def resource_file_uri(self, value: str): ### Remarks -This property allows you to change URIs of resource files exported to fixed page HTML or SVG documents. +This property allows you to change URIs of resource files exported to fixed page HTML, +SVG or Markdown documents. -Aspose.Words automatically generates an URI for every resource file during export to fixed page HTML -or SVG format. The generated URIs reference resource files saved by Aspose.Words. However, the URIs can be -incorrect if resource files are to be moved to other location or if resource files are saved to streams. +Aspose.Words automatically generates an URI for every resource file during export to fixed page HTML, +SVG or Markdown format. The generated URIs reference resource files saved by Aspose.Words. However, the URIs +can be incorrect if resource files are to be moved to other location or if resource files are saved to streams. This property allows to correct URIs in these cases. -When the event is fired, this property contains the URI that was generated +When the event is fired, this property contains the URI that was generated by Aspose.Words. You can change the value of this property to provide a custom URI for the resource file. [HtmlFixedSaveOptions.resources_folder](../../htmlfixedsaveoptions/resources_folder/) [SvgSaveOptions.resources_folder](../../svgsaveoptions/resources_folder/) +[MarkdownSaveOptions.images_folder](../../markdownsaveoptions/images_folder/) [HtmlFixedSaveOptions.resources_folder_alias](../../htmlfixedsaveoptions/resources_folder_alias/) [SvgSaveOptions.resources_folder_alias](../../svgsaveoptions/resources_folder_alias/) +[MarkdownSaveOptions.images_folder_alias](../../markdownsaveoptions/images_folder_alias/) diff --git a/english/python-net/aspose.words.saving/resourcesavingargs/resource_stream/_index.md b/english/python-net/aspose.words.saving/resourcesavingargs/resource_stream/_index.md index 6bea837b662..cd3295bfb41 100644 --- a/english/python-net/aspose.words.saving/resourcesavingargs/resource_stream/_index.md +++ b/english/python-net/aspose.words.saving/resourcesavingargs/resource_stream/_index.md @@ -29,10 +29,10 @@ def resource_stream(self, value: io.BytesIO): This property allows you to save resources to streams instead of files. -The default value is ``None``. When this property is ``None``, the resource +The default value is ``None``. When this property is ``None``, the resource will be saved to a file specified in the [ResourceSavingArgs.resource_file_name](../resource_file_name/) property. -Using [IResourceSavingCallback](../../iresourcesavingcallback/) you cannot substitute one resource with +Using [IResourceSavingCallback](../../iresourcesavingcallback/) you cannot substitute one resource with another. It is intended only for control over location where to save resources. diff --git a/english/python-net/aspose.words.saving/txtofficemathexportmode/_index.md b/english/python-net/aspose.words.saving/txtofficemathexportmode/_index.md new file mode 100644 index 00000000000..1ebd8118b01 --- /dev/null +++ b/english/python-net/aspose.words.saving/txtofficemathexportmode/_index.md @@ -0,0 +1,39 @@ +--- +title: TxtOfficeMathExportMode enumeration +linktitle: TxtOfficeMathExportMode enumeration +articleTitle: TxtOfficeMathExportMode enumeration +second_title: Aspose.Words for Python +description: "aspose.words.saving.TxtOfficeMathExportMode enumeration. Specifies how Aspose.Words exports OfficeMath to [SaveFormat.TEXT](../../aspose.words/saveformat/#TEXT)." +type: docs +weight: 880 +url: /python-net/aspose.words.saving/txtofficemathexportmode/ +--- + +## TxtOfficeMathExportMode enumeration + +Specifies how Aspose.Words exports OfficeMath to [SaveFormat.TEXT](../../aspose.words/saveformat/#TEXT). + + + +### Members + +| Name | Description | +| --- | --- | +| TEXT | Export OfficeMath as plain text. | +| LATEX | Export OfficeMath as LaTeX. | + +### Examples + +Shows how to export OfficeMath object as Latex in TXT. + +```python +doc = aw.Document(file_name=MY_DIR + 'Office math.docx') +save_options = aw.saving.TxtSaveOptions() +save_options.office_math_export_mode = aw.saving.TxtOfficeMathExportMode.LATEX +doc.save(file_name=ARTIFACTS_DIR + 'TxtSaveOptions.ExportOfficeMathAsLatexToText.txt', save_options=save_options) +``` + +### See Also + +* module [aspose.words.saving](../) + diff --git a/english/python-net/aspose.words.saving/txtsaveoptions/_index.md b/english/python-net/aspose.words.saving/txtsaveoptions/_index.md index 1da8b95eacd..4b0639a2761 100644 --- a/english/python-net/aspose.words.saving/txtsaveoptions/_index.md +++ b/english/python-net/aspose.words.saving/txtsaveoptions/_index.md @@ -5,7 +5,7 @@ articleTitle: TxtSaveOptions class second_title: Aspose.Words for Python description: "aspose.words.saving.TxtSaveOptions class. Can be used to specify additional options when saving a document into the [SaveFormat.TEXT](../../aspose.words/saveformat/#TEXT) format" type: docs -weight: 880 +weight: 890 url: /python-net/aspose.words.saving/txtsaveoptions/ --- @@ -39,9 +39,10 @@ To learn more, visit the [Specify Save Options](https://docs.aspose.com/words/py | [export_headers_footers_mode](../txtsaveoptionsbase/export_headers_footers_mode/) | Specifies the way headers and footers are exported to the text formats. Default value is [TxtExportHeadersFootersMode.PRIMARY_ONLY](../txtexportheadersfootersmode/#PRIMARY_ONLY).
    (Inherited from [TxtSaveOptionsBase](../txtsaveoptionsbase/)) | | [force_page_breaks](../txtsaveoptionsbase/force_page_breaks/) | Allows to specify whether the page breaks should be preserved during export.
    (Inherited from [TxtSaveOptionsBase](../txtsaveoptionsbase/)) | | [iml_rendering_mode](../saveoptions/iml_rendering_mode/) | Gets or sets a value determining how ink (InkML) objects are rendered.
    (Inherited from [SaveOptions](../saveoptions/)) | -| [list_indentation](./list_indentation/) | Gets a [TxtListIndentation](../txtlistindentation/) object that specifies how many and which character to use for indentation of list levels. By default it is zero count of character '\\0', that means no indentation. | +| [list_indentation](./list_indentation/) | Gets a [TxtListIndentation](../txtlistindentation/) object that specifies how many and which character to use for indentation of list levels. By default, it is zero count of character '\\0', that means no indentation. | | [max_characters_per_line](./max_characters_per_line/) | Gets or sets an integer value that specifies the maximum number of characters per one line. The default value is 0, that means no limit. | | [memory_optimization](../saveoptions/memory_optimization/) | Gets or sets value determining if memory optimization should be performed before saving the document. Default value for this property is ``False``.
    (Inherited from [SaveOptions](../saveoptions/)) | +| [office_math_export_mode](./office_math_export_mode/) | Specifies how OfficeMath will be written to the output file. Default value is [TxtOfficeMathExportMode.TEXT](../txtofficemathexportmode/#TEXT). | | [paragraph_break](../txtsaveoptionsbase/paragraph_break/) | Specifies the string to use as a paragraph break when exporting in text formats.
    (Inherited from [TxtSaveOptionsBase](../txtsaveoptionsbase/)) | | [preserve_table_layout](./preserve_table_layout/) | Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format. The default value is ``False``. | | [pretty_format](../saveoptions/pretty_format/) | When ``True``, pretty formats output where applicable. Default value is ``False``.
    (Inherited from [SaveOptions](../saveoptions/)) | diff --git a/english/python-net/aspose.words.saving/txtsaveoptions/list_indentation/_index.md b/english/python-net/aspose.words.saving/txtsaveoptions/list_indentation/_index.md index 034755ea328..1e8d8a40e9a 100644 --- a/english/python-net/aspose.words.saving/txtsaveoptions/list_indentation/_index.md +++ b/english/python-net/aspose.words.saving/txtsaveoptions/list_indentation/_index.md @@ -12,7 +12,7 @@ url: /python-net/aspose.words.saving/txtsaveoptions/list_indentation/ ## TxtSaveOptions.list_indentation property Gets a [TxtListIndentation](../../txtlistindentation/) object that specifies how many and which character to use for indentation of list levels. -By default it is zero count of character '\\0', that means no indentation. +By default, it is zero count of character '\\0', that means no indentation. diff --git a/english/python-net/aspose.words.saving/txtsaveoptions/office_math_export_mode/_index.md b/english/python-net/aspose.words.saving/txtsaveoptions/office_math_export_mode/_index.md new file mode 100644 index 00000000000..d5b310aeefd --- /dev/null +++ b/english/python-net/aspose.words.saving/txtsaveoptions/office_math_export_mode/_index.md @@ -0,0 +1,45 @@ +--- +title: TxtSaveOptions.office_math_export_mode property +linktitle: office_math_export_mode property +articleTitle: office_math_export_mode property +second_title: Aspose.Words for Python +description: "TxtSaveOptions.office_math_export_mode property. Specifies how OfficeMath will be written to the output file" +type: docs +weight: 50 +url: /python-net/aspose.words.saving/txtsaveoptions/office_math_export_mode/ +--- + +## TxtSaveOptions.office_math_export_mode property + +Specifies how OfficeMath will be written to the output file. +Default value is [TxtOfficeMathExportMode.TEXT](../../txtofficemathexportmode/#TEXT). + + + +```python +@property +def office_math_export_mode(self) -> aspose.words.saving.TxtOfficeMathExportMode: + ... + +@office_math_export_mode.setter +def office_math_export_mode(self, value: aspose.words.saving.TxtOfficeMathExportMode): + ... + +``` + +### Examples + +Shows how to export OfficeMath object as Latex in TXT. + +```python +doc = aw.Document(file_name=MY_DIR + 'Office math.docx') +save_options = aw.saving.TxtSaveOptions() +save_options.office_math_export_mode = aw.saving.TxtOfficeMathExportMode.LATEX +doc.save(file_name=ARTIFACTS_DIR + 'TxtSaveOptions.ExportOfficeMathAsLatexToText.txt', save_options=save_options) +``` + +### See Also + +* module [aspose.words.saving](../../) +* class [TxtSaveOptions](../) + diff --git a/english/python-net/aspose.words.saving/txtsaveoptions/preserve_table_layout/_index.md b/english/python-net/aspose.words.saving/txtsaveoptions/preserve_table_layout/_index.md index 52b82d42784..a83bbc804de 100644 --- a/english/python-net/aspose.words.saving/txtsaveoptions/preserve_table_layout/_index.md +++ b/english/python-net/aspose.words.saving/txtsaveoptions/preserve_table_layout/_index.md @@ -5,7 +5,7 @@ articleTitle: preserve_table_layout property second_title: Aspose.Words for Python description: "TxtSaveOptions.preserve_table_layout property. Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format" type: docs -weight: 50 +weight: 60 url: /python-net/aspose.words.saving/txtsaveoptions/preserve_table_layout/ --- diff --git a/english/python-net/aspose.words.saving/txtsaveoptions/save_format/_index.md b/english/python-net/aspose.words.saving/txtsaveoptions/save_format/_index.md index c66debceee8..8f6e59a07ea 100644 --- a/english/python-net/aspose.words.saving/txtsaveoptions/save_format/_index.md +++ b/english/python-net/aspose.words.saving/txtsaveoptions/save_format/_index.md @@ -5,7 +5,7 @@ articleTitle: save_format property second_title: Aspose.Words for Python description: "TxtSaveOptions.save_format property. Specifies the format in which the document will be saved if this save options object is used" type: docs -weight: 60 +weight: 70 url: /python-net/aspose.words.saving/txtsaveoptions/save_format/ --- diff --git a/english/python-net/aspose.words.saving/txtsaveoptions/simplify_list_labels/_index.md b/english/python-net/aspose.words.saving/txtsaveoptions/simplify_list_labels/_index.md index 4ce97d9bda3..af3d0c0fbfd 100644 --- a/english/python-net/aspose.words.saving/txtsaveoptions/simplify_list_labels/_index.md +++ b/english/python-net/aspose.words.saving/txtsaveoptions/simplify_list_labels/_index.md @@ -5,7 +5,7 @@ articleTitle: simplify_list_labels property second_title: Aspose.Words for Python description: "TxtSaveOptions.simplify_list_labels property. Specifies whether the program should simplify list labels in case of complex label formatting not being adequately represented by plain text." type: docs -weight: 70 +weight: 80 url: /python-net/aspose.words.saving/txtsaveoptions/simplify_list_labels/ --- diff --git a/english/python-net/aspose.words.saving/txtsaveoptionsbase/_index.md b/english/python-net/aspose.words.saving/txtsaveoptionsbase/_index.md index 5d16886ef62..de7122fc263 100644 --- a/english/python-net/aspose.words.saving/txtsaveoptionsbase/_index.md +++ b/english/python-net/aspose.words.saving/txtsaveoptionsbase/_index.md @@ -5,7 +5,7 @@ articleTitle: TxtSaveOptionsBase class second_title: Aspose.Words for Python description: "aspose.words.saving.TxtSaveOptionsBase class. The base class for specifying additional options when saving a document into a text based formats" type: docs -weight: 890 +weight: 900 url: /python-net/aspose.words.saving/txtsaveoptionsbase/ --- diff --git a/english/python-net/aspose.words.saving/wordml2003saveoptions/_index.md b/english/python-net/aspose.words.saving/wordml2003saveoptions/_index.md index 0bbb126977b..800275f65fa 100644 --- a/english/python-net/aspose.words.saving/wordml2003saveoptions/_index.md +++ b/english/python-net/aspose.words.saving/wordml2003saveoptions/_index.md @@ -5,7 +5,7 @@ articleTitle: WordML2003SaveOptions class second_title: Aspose.Words for Python description: "aspose.words.saving.WordML2003SaveOptions class. Can be used to specify additional options when saving a document into the [SaveFormat.WORD_ML](../../aspose.words/saveformat/#WORD_ML) format" type: docs -weight: 900 +weight: 910 url: /python-net/aspose.words.saving/wordml2003saveoptions/ --- diff --git a/english/python-net/aspose.words.saving/xamlfixedsaveoptions/_index.md b/english/python-net/aspose.words.saving/xamlfixedsaveoptions/_index.md index 9bdd82573f4..2cfcb34adba 100644 --- a/english/python-net/aspose.words.saving/xamlfixedsaveoptions/_index.md +++ b/english/python-net/aspose.words.saving/xamlfixedsaveoptions/_index.md @@ -5,7 +5,7 @@ articleTitle: XamlFixedSaveOptions class second_title: Aspose.Words for Python description: "aspose.words.saving.XamlFixedSaveOptions class. Can be used to specify additional options when saving a document into the [SaveFormat.XAML_FIXED](../../aspose.words/saveformat/#XAML_FIXED) format" type: docs -weight: 910 +weight: 920 url: /python-net/aspose.words.saving/xamlfixedsaveoptions/ --- diff --git a/english/python-net/aspose.words.saving/xamlflowsaveoptions/_index.md b/english/python-net/aspose.words.saving/xamlflowsaveoptions/_index.md index fa612ca336f..0b1d590fefc 100644 --- a/english/python-net/aspose.words.saving/xamlflowsaveoptions/_index.md +++ b/english/python-net/aspose.words.saving/xamlflowsaveoptions/_index.md @@ -5,7 +5,7 @@ articleTitle: XamlFlowSaveOptions class second_title: Aspose.Words for Python description: "aspose.words.saving.XamlFlowSaveOptions class. Can be used to specify additional options when saving a document into the [SaveFormat.XAML_FLOW](../../aspose.words/saveformat/#XAML_FLOW) or [SaveFormat.XAML_FLOW_PACK](../../aspose.words/saveformat/#XAML_FLOW_PACK) format" type: docs -weight: 920 +weight: 930 url: /python-net/aspose.words.saving/xamlflowsaveoptions/ --- diff --git a/english/python-net/aspose.words.saving/xlsxdatetimeparsingmode/_index.md b/english/python-net/aspose.words.saving/xlsxdatetimeparsingmode/_index.md index 22fa5102e7a..b5b68f1d4ab 100644 --- a/english/python-net/aspose.words.saving/xlsxdatetimeparsingmode/_index.md +++ b/english/python-net/aspose.words.saving/xlsxdatetimeparsingmode/_index.md @@ -5,7 +5,7 @@ articleTitle: XlsxDateTimeParsingMode enumeration second_title: Aspose.Words for Python description: "aspose.words.saving.XlsxDateTimeParsingMode enumeration. Specifies how document text is parsed to identify date and time values." type: docs -weight: 930 +weight: 940 url: /python-net/aspose.words.saving/xlsxdatetimeparsingmode/ --- diff --git a/english/python-net/aspose.words.saving/xlsxsaveoptions/_index.md b/english/python-net/aspose.words.saving/xlsxsaveoptions/_index.md index 01388e708a9..d1ccb4354a1 100644 --- a/english/python-net/aspose.words.saving/xlsxsaveoptions/_index.md +++ b/english/python-net/aspose.words.saving/xlsxsaveoptions/_index.md @@ -5,7 +5,7 @@ articleTitle: XlsxSaveOptions class second_title: Aspose.Words for Python description: "aspose.words.saving.XlsxSaveOptions class. Can be used to specify additional options when saving a document into the [SaveFormat.XLSX](../../aspose.words/saveformat/#XLSX) format" type: docs -weight: 940 +weight: 950 url: /python-net/aspose.words.saving/xlsxsaveoptions/ --- diff --git a/english/python-net/aspose.words.saving/xlsxsectionmode/_index.md b/english/python-net/aspose.words.saving/xlsxsectionmode/_index.md index 83ae5241a9a..8eda186e5e3 100644 --- a/english/python-net/aspose.words.saving/xlsxsectionmode/_index.md +++ b/english/python-net/aspose.words.saving/xlsxsectionmode/_index.md @@ -5,7 +5,7 @@ articleTitle: XlsxSectionMode enumeration second_title: Aspose.Words for Python description: "aspose.words.saving.XlsxSectionMode enumeration. Specifies how sections are handled when saving a document in the XLSX format." type: docs -weight: 950 +weight: 960 url: /python-net/aspose.words.saving/xlsxsectionmode/ --- diff --git a/english/python-net/aspose.words.saving/xpssaveoptions/_index.md b/english/python-net/aspose.words.saving/xpssaveoptions/_index.md index de5b814f8fe..80e128332a4 100644 --- a/english/python-net/aspose.words.saving/xpssaveoptions/_index.md +++ b/english/python-net/aspose.words.saving/xpssaveoptions/_index.md @@ -5,7 +5,7 @@ articleTitle: XpsSaveOptions class second_title: Aspose.Words for Python description: "aspose.words.saving.XpsSaveOptions class. Can be used to specify additional options when saving a document into the [SaveFormat.XPS](../../aspose.words/saveformat/#XPS) format" type: docs -weight: 960 +weight: 970 url: /python-net/aspose.words.saving/xpssaveoptions/ --- diff --git a/english/python-net/aspose.words.saving/zip64mode/_index.md b/english/python-net/aspose.words.saving/zip64mode/_index.md index 9e004abc55f..2411112688e 100644 --- a/english/python-net/aspose.words.saving/zip64mode/_index.md +++ b/english/python-net/aspose.words.saving/zip64mode/_index.md @@ -5,7 +5,7 @@ articleTitle: Zip64Mode enumeration second_title: Aspose.Words for Python description: "aspose.words.saving.Zip64Mode enumeration. Specifies when to use ZIP64 format extensions for OOXML files." type: docs -weight: 970 +weight: 980 url: /python-net/aspose.words.saving/zip64mode/ ---