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 | ระดับการกดสําหรับไฟล์ 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 จัดเก็บชื่อครอบครัวตัวอักษรเป็นสตริง |
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 | เสมอรูปแบบการโหลดเอกสาร |
MarkdownEmptyParagraphExportMode | การควบคุมการส่งออกข้อว่าง. |
MarkdownExportAsHtml | การควบคุมที่องค์ประกอบที่จะนําออกเป็น HTML แผน Raw. |
MarkdownFileReader | อ่านไฟล์ Markdown (.md) และส่ง 1 ปรากากลางแถว |
MarkdownLinkExportMode | การเชื่อมโยงตัวเลือกโหมดการส่งออก |
MarkdownListExportMode | รายการตัวเลือกรูปแบบส่งออก |
MarkdownSaveOptions | ตัวเลือกในการบันทึกเอกสารเป็น Markdown. |
OoxmlCompliance | ระดับความเป็นกันตามมาตรฐาน OOXML. |
OoxmlSaveOptions | Options for saving a document as DOCX (Office Open XML). |
OutlineOptions | การควบคุมการสร้างแบบกราฟ (แผ่นตัวกระจาย) ใน 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 | ข้อมูลเกี่ยวกับสไตล์และแวดล้อมของข้อความ |
PdfCompliance | ระดับความเป็นมาตรฐาน PDF |
PdfFontEmbeddingMode | รูปแบบการใส่ตัวอักษรใน PDF. |
PdfImageCompression | Image compression in PDF. |
PdfPageMode | ระบบการแสดงหน้า PDF. |
PdfSaveOptions | ตัวเลือกในการบันทึกเอกสารเป็น PDF. |
PdfTextCompression | Text compression in PDF. |
PdfZoomBehavior | Mirrors public API. |
Row | Row.type เป็นรุ่นที่ระบุประเภทของแถว |
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 มีเนื้อหาข้อความตามคําแปลของ run |
RunFormatting | วีรษะการจัดรูปแบบวิดีโอ |
SaveFormat | เสมอการบันทึกรูปแบบเอกสาร |
Section | Section.type เป็นรุ่นที่แสดงการจัดประเภทหรือตัวจําแนกของส่วน |
Shading | Shading.background_color มีค่าสีพื้นหลังสําหรับการเงาเป็นเส้นสตริง |
ShapeNode | ShapeNode.type is a string indicating the node’s type identifier. |
Style | Style.name เป็นรุ่นตัวจําแนกของสไตล์ |
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 | ตัวเลือกการจัดสรรเนื้อหาตาราง |
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 | อ่านไฟล์ทักซ์เรียบ (.txt) และส่ง 1 ข้อต่อแถว |
UnknownNode | Class with 1 property. |
Zip64Mode | การควบคุมเมื่อใช้ขยายรูปแบบ ZIP64 สําหรับไฟล์ OOXML. |
| Enumeration | Description |
|---|---|
CodeBlockStyle | Code block style preference. |
HeadingStyle | การนําออกแบบการคัดเลือกหัวข้อ |
ListMarker | แบบการแสดงรายชื่อกระสุน |
| Class | Description |
|---|---|
ListHandler | รับจัดการการวิเคราะห์และแปลงรายการ |
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 | คุณสมบัติที่ได้รับจาก CHPX สําหรับการทํางานข้อความ. |
ChildAnchorInfo | ตําแหน่งของรูปลูกในระบบสื่อประชากร ของกลุ่มผู้ปกครองของมัน |
DocFileReader | Full DOC reader with LDM (Light Document Model) building capability. |
DocFileReaderCore | Core reader for Word 97-2003 (.doc) files. |
DocTableBuilderMixin | มิกซินที่เพิ่มผู้ช่วยในการสร้างโต๊ะให้กับตัวอ่าน DOC. |
FibData | Parsed FIB (File Information Block) data. |
GroupShapeInfo | Coordinate system of a shape group (from Spgr record). |
ListDef | การกําหนดรายการที่วิเคราะห์ด้วยข้อมูลระดับเต็ม |
ListLevelData | One parsed LVL record (measurements in points). |
ParaProps | คุณสมบัติที่นํามาจาก PAPX สําหรับข้อเดียว |
ShapeAnchor | Parsed SPA (Shape Address) from PlcSpaMom / PlcSpaHdr. |
ShapeLineProps | Escher line/fill properties for a shape (from FOpt records). |
StyleData | คุณสมบัติที่พาราสจากการกําหนดรูปแบบ (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 | ข้อที่มีสไตล์และเนื้อหา |
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 | การทํางานข้อความด้วยการจัดรูปแบบ. |
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 | เตือนผู้โทรว่า ผู้เขียนจะปล่อย LDM สร้างที่รู้จัก. |
ImageEntry | One image to add to word/media/ plus its relationship row. |
ImageRenderState | อุปกรณ์สะสมที่ใช้กับเส้นผ่านการทําลายกระบวนการสําหรับรูปแบบในสาย. |
LdmDocxWriter | Convert an :class: ldm.Document into a DOCX file. |
| Class | Description |
|---|---|
CellMerge | ระบุวิธีการรวมเซลล์ในตารางกับเซิลอื่น ๆ |
CellVerticalAlignment | กําหนดการอ้างอิงแนวตั้งของข้อความภายในเซลล์ตาราง. |
HeightRule | ระบุกฎในการกําหนดความสูงของวัตถุ |
LineSpacingRule | กําหนดค่าสําหรับระยะระหว่างเส้น. |
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 | ระบุประเภทของการหยุดที่จุดเริ่มต้นของส่วน. |
StyleIdentifier | Locale-independent built-in style identifier. |
StyleType | ระบุประเภทของสไตล์. |
TabAlignment | Tab stop alignment. |
TabLeader | แท็บหยุดตัวละครผู้นํา. |
Underline | ระบุประเภทของลักษณะการดึงลายที่ใช้กับตัวอักษร. |
WrapType | ระบุวิธีการที่ข้อความจะพับรอบรูปหรือภาพ. |
| Class | Description |
|---|---|
ListInfo | Information about a list. |
ListLevelInfo | ข้อมูลเกี่ยวกับระดับรายการ |
NumberingParser | การพาร์เซอร์สําหรับการกําหนดหมาย DOCX. |
ParsedStyle | Parsed style information. |
StyleParser | การพาร์เซอร์สําหรับ DOCX รูปแบบชื่อและคุณสมบัติ. |
| Class | Description |
|---|---|
LdmPdfWriter | Converts a light_document_model.Document to a PDF file. |
PDFWriterContext | Class with 1 property. |
ParagraphRenderer | ทําให้ข้อความ LDM เป็น PDF. |
RunRenderer | การให้การออกแบบรัน (ส่วนของข้อความที่มีตัวอักษร, สี, ลิงค์) |
ShapeRenderer | Renders shapes, images, and positioned elements. |
TableRenderer | ทําการแสดงตาราง LDM เป็น PDF. |