Aspose.Words FOSS for Python API Reference

ClassDescription
BodyClass with 2 properties.
BookmarkEndClass with 2 properties.
BookmarkStartMarks the beginning of a Word bookmark (````).
BorderBorder.line_style is an integer representing the border’s line style.
CellCell.type returns the cell’s type as a string.
CellFormatCellFormat.width specifies the absolute width of the table cell in points.
ColorModeColor rendering mode.
CompressionLevelMức độ nén cho các tệp OOXML.
ConversionOptionsOptions for controlling DOCX to Markdown conversion.
DocListDocList.list_id is the identifier of the list within the document.
DocumentRepresents a Word document.
DocumentThe Document class represents a Word document and provides the get_text() method to extract the full plain‑text content of the file.
DocumentFormatReaderProtocol defining the interface all document readers must implement.
FieldEndClass with 3 properties.
FieldSeparatorClass with 2 properties.
FieldStartFieldStart.type is a string indicating the field’s type name.
FontFont.name lưu trữ tên gia đình font như một dòng.
FrameFormatFloating text-frame definition.
HeaderFooterHeaderFooter.type is a string representing the header/footer content type.
ImageDataImageData.source_filename holds the original filename of the image.
LdmMarkdownWriterConverts a light_document_model.Document to a Markdown string.
ListFormatListFormat.is_list_item indicates whether the paragraph is a list item.
ListLabelSnapshot of a list-item’s rendered bullet/number label.
ListLevelListLevel.number_format specifies the numeric format string for the list level.
ListLevelOverrideOne inside a concrete .
LoadFormat- Tài liệu tải định dạng liên tục.
MarkdownEmptyParagraphExportModeKiểm tra cách các đoạn trống được xuất khẩu.
MarkdownExportAsHtmlKiểm soát các yếu tố nào được xuất khẩu như HTML nguyên chất.
MarkdownFileReaderĐọc các tệp Markdown (.md) và đưa ra một đoạn mỗi dòng.
MarkdownLinkExportModeLink Export Mode tùy chọn.
MarkdownListExportModeDanh sách các tùy chọn chế độ xuất khẩu.
MarkdownSaveOptionsCác tùy chọn để lưu tài liệu như Markdown.
OoxmlComplianceTiêu chuẩn OOXML tuân thủ.
OoxmlSaveOptionsOptions for saving a document as DOCX (Office Open XML).
OutlineOptionsKiểm tra cách phát (màn sách dấu) được tạo trong PDF.
PageSetupPageSetup.paper_size represents the predefined size of the page (e.g., A4, Letter).
ParagraphA paragraph whose children — Run , BookmarkStart / End , FieldStart / Separator / End and inline ShapeNode — sit in a single ordered collection in document order.
ParagraphFormatParagraphFormat.alignment specifies the horizontal alignment of the paragraph.
ParagraphInfoThông tin về phong cách và bối cảnh của đoạn.
PdfComplianceTỷ lệ tuân thủ tiêu chuẩn PDF.
PdfFontEmbeddingModeTính năng của phông chữ trong PDF.
PdfImageCompressionImage compression in PDF.
PdfPageModePDF Page Display Mode.
PdfSaveOptionsCác tùy chọn để lưu tài liệu như PDF.
PdfTextCompressionText compression in PDF.
PdfZoomBehaviorMirrors public API.
RowRow.type là một dòng mà xác định loại hàng.
RowFormatRowFormat.height specifies the row’s height in points.
RtfFileReaderReads RTF files (OLE2-format) and produces the same data structures as DocumentReader (for .docx) and DocFileReader (for .doc).
RunRun.text giữ nội dung văn bản bằng chữ của run.
RunFormattingText run định dạng thuộc tính.
SaveFormatTài liệu lưu các định dạng liên tục.
SectionSection.type là một dòng chỉ định phân loại hoặc xác định của phần.
ShadingShading.background_color giữ giá trị màu nền cho bóng như một dòng.
ShapeNodeShapeNode.type is a string indicating the node’s type identifier.
StyleStyle.name là dòng xác định của phong cách.
TabStopClass with 4 properties.
TabStopCollectionTabStopCollection.add(position, alignment, leader) inserts a new tab stop with the specified alignment and leader character.
TableTable.rows provides the collection of TableRow objects representing each row in the table.
TableRepresents a table structure.
TableCellRepresents a table cell.
TableContentAlignmentCác tùy chọn điều chỉnh nội dung bảng.
TableRowRepresents a table row.
TableStyleFormatTable-level properties stored on table styles ( w:tblPr inside w:style ).
TextColumnClass with 2 properties.
TextColumnsTextColumns exposes properties count, evenly_spaced, spacing, line_between, and columns to configure multi‑column layout in a document.
TextFileReaderĐọc tệp văn bản thẳng (.txt) và đưa ra một đoạn mỗi dòng.
UnknownNodeClass with 1 property.
Zip64ModeKiểm soát khi sử dụng các phần mở rộng định dạng ZIP64 cho tệp OOXML.
EnumerationDescription
CodeBlockStyleCode block style preference.
HeadingStyleMục tiêu xuất khẩu kiểu ưu tiên.
ListMarkerBảng xếp hạng kiểu đánh dấu.
ClassDescription
ListHandlerQuản lý parsing và chuyển đổi danh sách.
ParagraphConverterHandles conversion of paragraphs to Markdown.
TableConverterHandles conversion of tables to Markdown.
ClassDescription
BlipInfoParsed BSE (Blip Store Entry) with location of image data.
CharPropsCác thuộc tính được lấy từ CHPX cho một bài viết chạy.
ChildAnchorInfo- Vị trí của hình dạng trẻ em trong hệ thống phối hợp của nhóm cha mẹ.
DocFileReaderFull DOC reader with LDM (Light Document Model) building capability.
DocFileReaderCoreCore reader for Word 97-2003 (.doc) files.
DocTableBuilderMixinNhúng thêm các trợ lý xây dựng bảng vào trình đọc DOC.
FibDataParsed FIB (File Information Block) data.
GroupShapeInfoCoordinate system of a shape group (from Spgr record).
ListDefĐịnh nghĩa danh sách Parsed với thông tin cấp đầy đủ.
ListLevelDataOne parsed LVL record (measurements in points).
ParaPropsCác tài sản được lấy từ PAPX cho một đoạn duy nhất.
ShapeAnchorParsed SPA (Shape Address) from PlcSpaMom / PlcSpaHdr.
ShapeLinePropsEscher line/fill properties for a shape (from FOpt records).
StyleDataCác thuộc tính được phân biệt từ định nghĩa phong cách (STSH UPX).
TableRowPropsProperties extracted from PAPX SPRMs on table row-end paragraphs.
ClassDescription
CellBuilderBuild :class: ldm.Cell from a ```` element.
CellDataTable cell.
DocumentReaderReads DOCX documents and produces abstracted data structures.
FontBuilderBuild a non-cascaded :class: ldm.Font from one ````.
FontResolverCompose a fully cascaded :class: ldm.Font .
LdmBuilderMixinMixin that adds :meth: to_light_document to :class: DocumentReader .
ListBuilderTranslate ```` into a list of :class: ldm.DocList .
NumberingInfoNumbering definition.
NumberingLevelList level definition.
PageSetupBuilderBuild :class: ldm.PageSetup from a ```` element.
ParagraphBuilderBuild :class: ldm.Paragraph from a ```` element.
ParagraphDataPhần với phong cách và nội dung.
ParagraphFormatBuilderBuild a non-cascaded :class: ldm.ParagraphFormat from one ````.
ParagraphFormatResolverCompose a fully cascaded :class: ldm.ParagraphFormat .
ReaderContextClass extending Protocol.
RowBuilderBuild :class: ldm.Row from a ```` element.
RowDataTable row.
RunBuilderBuild a single :class: ldm.Run with a resolved font cascade.
RunDataText run with formatting. - Bài viết chạy với định dạng.
SectionBuilderSplit the body into :class: ldm.Section \ s at sectPr boundaries.
ShapeParserMixinMixin providing drawing/shape parsing methods for DocumentReader.
StyleBuilderTranslate ```` into a list of :class: ldm.Style .
StyleChainResolverWalk the ```` graph for a styleId.
TableBuilderBuild :class: ldm.Table from a ```` element.
TableDataTable structure.
ClassDescription
BookmarkStateHands out monotonically increasing bookmark ids and pairs starts/ends across paragraphs.
DocxWriterLossyWarningCảnh báo người gọi rằng tác giả đang ném các cấu trúc LDM được biết đến.
ImageEntryOne image to add to word/media/ plus its relationship row.
ImageRenderStateAccumulator threaded thông qua đoạn rendering cho hình dạng inline.
LdmDocxWriterConvert an :class: ldm.Document into a DOCX file.
ClassDescription
CellMergeNó xác định cách một tế bào trong một bảng được kết hợp với các tế胞 khác.
CellVerticalAlignment- Tùy chỉnh các biện pháp định hướng văn bản bên trong một ô bảng.
HeightRule- Tính định quy tắc để xác định chiều cao của một đối tượng.
LineSpacingRule- Tính toán giá trị cho dòng spacing.
LineStyleSpecifies line style of a border.
NumberStyleSpecifies the number style for a list, footnotes, endnotes, page numbers.
OrientationSpecifies page orientation.
ParagraphAlignmentSpecifies text alignment in a paragraph.
SectionStart- Tính định loại cơn gián đoạn ở đầu phần.
StyleIdentifierLocale-independent built-in style identifier.
StyleType- Tùy chọn kiểu dáng của phong cách.
TabAlignmentTab stop alignment.
TabLeaderTab stop nhân vật lãnh đạo.
Underline- Tùy chọn loại chữ cái được áp dụng cho một font.
WrapType- Tính định cách văn bản được gắn quanh hình dạng hoặc hình ảnh.
ClassDescription
ListInfoInformation about a list.
ListLevelInfoThông tin về một mức danh sách.
NumberingParserParser cho định nghĩa số DOCX.
ParsedStyleParsed style information.
StyleParserParser cho các tên và thuộc tính phong cách DOCX.
ClassDescription
LdmPdfWriterConverts a light_document_model.Document to a PDF file.
PDFWriterContextClass with 1 property.
ParagraphRendererĐổi các đoạn LDM vào PDF.
RunRendererRenders định dạng chạy (các phân đoạn văn bản với các phông chữ, màu sắc, liên kết).
ShapeRendererRenders shapes, images, and positioned elements.
TableRendererRenders LDM tabs into PDF.
 Tiếng Việt