Aspose.Words FOSS for Python API Reference
| Class | Description |
|---|---|
Body | Class with 2 properties. |
BookmarkEnd | Class with 2 properties. |
BookmarkStart | Marks the beginning of a Word bookmark (````). |
Border | Border.line_style is an integer representing the border’s line style. |
Cell | Cell.type returns the cell’s type as a string. |
CellFormat | CellFormat.width specifies the absolute width of the table cell in points. |
ColorMode | Color rendering mode. |
CompressionLevel | Mức độ nén cho các tệp OOXML. |
ConversionOptions | Options for controlling DOCX to Markdown conversion. |
DocList | DocList.list_id is the identifier of the list within the document. |
Document | Represents a Word document. |
Document | The Document class represents a Word document and provides the get_text() method to extract the full plain‑text content of the file. |
DocumentFormatReader | Protocol defining the interface all document readers must implement. |
FieldEnd | Class with 3 properties. |
FieldSeparator | Class with 2 properties. |
FieldStart | FieldStart.type is a string indicating the field’s type name. |
Font | Font.name lưu trữ tên gia đình font như một dòng. |
FrameFormat | Floating text-frame definition. |
HeaderFooter | HeaderFooter.type is a string representing the header/footer content type. |
ImageData | ImageData.source_filename holds the original filename of the image. |
LdmMarkdownWriter | Converts a light_document_model.Document to a Markdown string. |
ListFormat | ListFormat.is_list_item indicates whether the paragraph is a list item. |
ListLabel | Snapshot of a list-item’s rendered bullet/number label. |
ListLevel | ListLevel.number_format specifies the numeric format string for the list level. |
ListLevelOverride | One inside a concrete . |
LoadFormat | - Tài liệu tải định dạng liên tục. |
MarkdownEmptyParagraphExportMode | Kiểm tra cách các đoạn trống được xuất khẩu. |
MarkdownExportAsHtml | Kiể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. |
MarkdownLinkExportMode | Link Export Mode tùy chọn. |
MarkdownListExportMode | Danh sách các tùy chọn chế độ xuất khẩu. |
MarkdownSaveOptions | Các tùy chọn để lưu tài liệu như Markdown. |
OoxmlCompliance | Tiêu chuẩn OOXML tuân thủ. |
OoxmlSaveOptions | Options for saving a document as DOCX (Office Open XML). |
OutlineOptions | Kiểm tra cách phát (màn sách dấu) được tạo trong PDF. |
PageSetup | PageSetup.paper_size represents the predefined size of the page (e.g., A4, Letter). |
Paragraph | A paragraph whose children — Run , BookmarkStart / End , FieldStart / Separator / End and inline ShapeNode — sit in a single ordered collection in document order. |
ParagraphFormat | ParagraphFormat.alignment specifies the horizontal alignment of the paragraph. |
ParagraphInfo | Thông tin về phong cách và bối cảnh của đoạn. |
PdfCompliance | Tỷ lệ tuân thủ tiêu chuẩn PDF. |
PdfFontEmbeddingMode | Tính năng của phông chữ trong PDF. |
PdfImageCompression | Image compression in PDF. |
PdfPageMode | PDF Page Display Mode. |
PdfSaveOptions | Các tùy chọn để lưu tài liệu như PDF. |
PdfTextCompression | Text compression in PDF. |
PdfZoomBehavior | Mirrors public API. |
Row | Row.type là một dòng mà xác định loại hàng. |
RowFormat | RowFormat.height specifies the row’s height in points. |
RtfFileReader | Reads RTF files (OLE2-format) and produces the same data structures as DocumentReader (for .docx) and DocFileReader (for .doc). |
Run | Run.text giữ nội dung văn bản bằng chữ của run. |
RunFormatting | Text run định dạng thuộc tính. |
SaveFormat | Tài liệu lưu các định dạng liên tục. |
Section | Section.type là một dòng chỉ định phân loại hoặc xác định của phần. |
Shading | Shading.background_color giữ giá trị màu nền cho bóng như một dòng. |
ShapeNode | ShapeNode.type is a string indicating the node’s type identifier. |
Style | Style.name là dòng xác định của phong cách. |
TabStop | Class with 4 properties. |
TabStopCollection | TabStopCollection.add(position, alignment, leader) inserts a new tab stop with the specified alignment and leader character. |
Table | Table.rows provides the collection of TableRow objects representing each row in the table. |
Table | Represents a table structure. |
TableCell | Represents a table cell. |
TableContentAlignment | Các tùy chọn điều chỉnh nội dung bảng. |
TableRow | Represents a table row. |
TableStyleFormat | Table-level properties stored on table styles ( w:tblPr inside w:style ). |
TextColumn | Class with 2 properties. |
TextColumns | TextColumns 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. |
UnknownNode | Class with 1 property. |
Zip64Mode | Kiểm soát khi sử dụng các phần mở rộng định dạng ZIP64 cho tệp OOXML. |
| Enumeration | Description |
|---|---|
CodeBlockStyle | Code block style preference. |
HeadingStyle | Mục tiêu xuất khẩu kiểu ưu tiên. |
ListMarker | Bảng xếp hạng kiểu đánh dấu. |
| Class | Description |
|---|---|
ListHandler | Quản lý parsing và chuyển đổi danh sách. |
ParagraphConverter | Handles conversion of paragraphs to Markdown. |
TableConverter | Handles conversion of tables to Markdown. |
| Class | Description |
|---|---|
BlipInfo | Parsed BSE (Blip Store Entry) with location of image data. |
CharProps | Cá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ẹ. |
DocFileReader | Full DOC reader with LDM (Light Document Model) building capability. |
DocFileReaderCore | Core reader for Word 97-2003 (.doc) files. |
DocTableBuilderMixin | Nhúng thêm các trợ lý xây dựng bảng vào trình đọc DOC. |
FibData | Parsed FIB (File Information Block) data. |
GroupShapeInfo | Coordinate system of a shape group (from Spgr record). |
ListDef | Định nghĩa danh sách Parsed với thông tin cấp đầy đủ. |
ListLevelData | One parsed LVL record (measurements in points). |
ParaProps | Các tài sản được lấy từ PAPX cho một đoạn duy nhất. |
ShapeAnchor | Parsed SPA (Shape Address) from PlcSpaMom / PlcSpaHdr. |
ShapeLineProps | Escher line/fill properties for a shape (from FOpt records). |
StyleData | Các thuộc tính được phân biệt từ định nghĩa phong cách (STSH UPX). |
TableRowProps | Properties extracted from PAPX SPRMs on table row-end paragraphs. |
| Class | Description |
|---|---|
CellBuilder | Build :class: ldm.Cell from a ```` element. |
CellData | Table cell. |
DocumentReader | Reads DOCX documents and produces abstracted data structures. |
FontBuilder | Build a non-cascaded :class: ldm.Font from one ````. |
FontResolver | Compose a fully cascaded :class: ldm.Font . |
LdmBuilderMixin | Mixin that adds :meth: to_light_document to :class: DocumentReader . |
ListBuilder | Translate ```` into a list of :class: ldm.DocList . |
NumberingInfo | Numbering definition. |
NumberingLevel | List level definition. |
PageSetupBuilder | Build :class: ldm.PageSetup from a ```` element. |
ParagraphBuilder | Build :class: ldm.Paragraph from a ```` element. |
ParagraphData | Phần với phong cách và nội dung. |
ParagraphFormatBuilder | Build a non-cascaded :class: ldm.ParagraphFormat from one ````. |
ParagraphFormatResolver | Compose a fully cascaded :class: ldm.ParagraphFormat . |
ReaderContext | Class extending Protocol. |
RowBuilder | Build :class: ldm.Row from a ```` element. |
RowData | Table row. |
RunBuilder | Build a single :class: ldm.Run with a resolved font cascade. |
RunData | Text run with formatting. - Bài viết chạy với định dạng. |
SectionBuilder | Split the body into :class: ldm.Section \ s at sectPr boundaries. |
ShapeParserMixin | Mixin providing drawing/shape parsing methods for DocumentReader. |
StyleBuilder | Translate ```` into a list of :class: ldm.Style . |
StyleChainResolver | Walk the ```` graph for a styleId. |
TableBuilder | Build :class: ldm.Table from a ```` element. |
TableData | Table structure. |
| Class | Description |
|---|---|
BookmarkState | Hands out monotonically increasing bookmark ids and pairs starts/ends across paragraphs. |
DocxWriterLossyWarning | Cả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. |
ImageEntry | One image to add to word/media/ plus its relationship row. |
ImageRenderState | Accumulator threaded thông qua đoạn rendering cho hình dạng inline. |
LdmDocxWriter | Convert an :class: ldm.Document into a DOCX file. |
| Class | Description |
|---|---|
CellMerge | Nó 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. |
LineStyle | Specifies line style of a border. |
NumberStyle | Specifies the number style for a list, footnotes, endnotes, page numbers. |
Orientation | Specifies page orientation. |
ParagraphAlignment | Specifies text alignment in a paragraph. |
SectionStart | - Tính định loại cơn gián đoạn ở đầu phần. |
StyleIdentifier | Locale-independent built-in style identifier. |
StyleType | - Tùy chọn kiểu dáng của phong cách. |
TabAlignment | Tab stop alignment. |
TabLeader | Tab 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. |
| Class | Description |
|---|---|
ListInfo | Information about a list. |
ListLevelInfo | Thông tin về một mức danh sách. |
NumberingParser | Parser cho định nghĩa số DOCX. |
ParsedStyle | Parsed style information. |
StyleParser | Parser cho các tên và thuộc tính phong cách DOCX. |
| Class | Description |
|---|---|
LdmPdfWriter | Converts a light_document_model.Document to a PDF file. |
PDFWriterContext | Class with 1 property. |
ParagraphRenderer | Đổi các đoạn LDM vào PDF. |
RunRenderer | Renders đị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). |
ShapeRenderer | Renders shapes, images, and positioned elements. |
TableRenderer | Renders LDM tabs into PDF. |