Tagged articles
DOCX
22 articles · Page 1 of 1
This article demonstrates how the Raggae Python SDK enables layout analysis, reading order resolution, and region association for complex documents (PDF, Word, PowerPoint, Excel, HTML, scanned) to preserve spatial relationships in RAG pipelines, using specialized analyzers and geometric resolvers to avoid flattening content into plain text.
DOCXHTMLPDF
0 likes · 36 min read

This article analyzes various file preview options for docx, pptx, xlsx, and pdf formats, comparing commercial services, open‑source front‑end libraries, and server‑side converters, providing code examples, performance notes, and practical recommendations for developers seeking reliable document preview implementations.
DOCXPDFPPTX
0 likes · 19 min read

The author recounts a Python‑based workflow that automatically adds watermarks to foreign‑trade .doc documents, details client validation, unexpected .docx conversion issues, and the iterative debugging steps taken to ensure reliable batch processing.
DOCXPythonWatermark
0 likes · 6 min read

This article walks through a fan‑requested Python automation that replaces artistic watermark text in shipping‑bill DOCX files, detailing the initial python‑docx attempt, the shortcomings of win32com shape traversal, and the final reliable solution using zipfile‑based XML replacement.
DOCXPythonText Replacement
0 likes · 10 min read

The article outlines a fan's request to automate the replacement of header watermarks in dozens of foreign‑trade bill‑of‑lading .doc files using Python, explains the inefficiency of manual editing, describes converting .doc to .docx and applying python‑docx, and previews a detailed multi‑part walkthrough of the implementation challenges.
DOCXPythonWord
0 likes · 4 min read

The article surveys commercial file‑preview services and open‑source front‑end and back‑end solutions for DOCX, PPTX, XLSX, and PDF, compares their capabilities, limitations, and costs, and provides concrete code examples and a reusable Web Component for developers.
BackendDOCXPDF
0 likes · 19 min read

SuperDoc is an open‑source DOCX engine that parses and renders real .docx files in the browser with full format fidelity, offers one‑click integration for major front‑end frameworks, real‑time Yjs collaboration, and AI‑driven document automation.
AI automationDOCXbrowser
0 likes · 5 min read

This tutorial explains why converting legacy .doc files to .docx is necessary, shows how to install LibreOffice and python-docx, provides a Python script to perform the conversion via LibreOffice's command‑line interface, and demonstrates reading and modifying tables in the resulting .docx files.
DOCXLibreOfficedata-extraction
0 likes · 8 min read

This tutorial demonstrates how to use the python‑docx library to extract text and images, create new documents, replace content, add pictures, build and fill tables, delete paragraphs, set styles, and insert headers and footers in Word files, providing ready‑to‑run code examples for each operation.
DOCXautomationfile-io
0 likes · 6 min read

This article introduces the pdf2docx Python library for converting PDF files to DOCX, detailing its capabilities such as layout, paragraph, image, and table parsing, outlining current limitations, providing installation instructions, and showing a concise code example for practical use.
DOCXFile ProcessingPDF conversion
0 likes · 3 min read

This article walks through a Python automation task that inserts multiple images into a Word document, presenting the problem, the proposed solution, sample code using python‑docx, and a concise summary of the implementation process.
DOCXWordautomation
0 likes · 6 min read

The pdf2docx Python library converts PDF files to DOCX by extracting layout, text, images, and tables, offering detailed features, known limitations, simple pip installation, and a concise code example for quick usage.
Code ExampleDOCXPDF conversion
0 likes · 3 min read

This article demonstrates two Python‑based solutions for automatically replacing placeholders in a Word document with data from an Excel sheet—one using python‑docx (with win32com conversion for .doc files) and another leveraging the zipfile module to edit the underlying XML—complete with code, troubleshooting tips, and handling of formatting issues.
DOCXExcelWord
0 likes · 10 min read

This article demonstrates how to automate the replacement of placeholders in Word (.doc/.docx) files with data from an Excel sheet using Python, presenting two approaches—one based on python-docx and win32com, and another that manipulates the underlying zip archive with the zipfile module—while addressing common pitfalls and preserving document formatting.
DOCXExcelZipfile
0 likes · 11 min read

This article explains how to automate the replacement of Excel row data into Word templates using Python, offering two approaches—one with python-docx and win32com for .doc conversion, and another leveraging zipfile to edit the underlying XML—complete with code examples and troubleshooting tips.
DOCXPythonZipfile
0 likes · 13 min read

This article introduces a Python‑based tool that lets parents or educators configure ranges and operators to automatically create up to three‑step arithmetic problems for primary‑school students, outputting the worksheets as DOCX files ready for printing.
ArithmeticDOCXEducation
0 likes · 3 min read

This tutorial shows how to install the Python Mammoth library and use its command‑line interface or Python API to transform .docx Word documents into HTML web pages or Markdown files for easy sharing and publishing.
ConversionDOCXHTML
0 likes · 3 min read

This article demonstrates how to read a Word document containing exam tables, parse question types, titles, and options using Python, and then transform the data into a structured Excel file with pandas, providing complete code and handling special whitespace characters.
DOCXPython
0 likes · 14 min read

This article walks you through installing python‑docx, creating a Word document, adding headings, paragraphs, images, tables, and custom text formatting, and finally automating the generation of a resignation letter using a reusable template in Python.
Code ExampleDOCXTemplate
0 likes · 10 min read

This guide explains how to handle mixed .doc and .docx files by installing the win32com library, providing step‑by‑step code to batch convert .doc documents to .docx format and then process them with python‑docx for automated office workflows.
DOCXOfficebatch-processing
0 likes · 4 min read

This tutorial shows how to use python-pptx and python-docx to extract every text element from a PowerPoint presentation and write it into a Word document, explaining the underlying file structures, required modules, and providing a concise six‑line script.
DOCXOfficePPTX
0 likes · 5 min read

This guide demonstrates how to programmatically pull date, title, and document number fields from thousands of similarly structured Word tables, normalize the dates, and export the data into a formatted Excel spreadsheet using Python's docx, datetime, and openpyxl libraries.
DOCXExcelPython
0 likes · 6 min read
