IDEAS, METHODS & DOCUMENTS

OmniDoc Journal.

A closer look at documents.
Parsing, translation, and what comes next.

Archive page 95

How to Fix Line Breaks Not Working When Filling Out PDF Forms
PDF engineering

How to Fix Line Breaks Not Working When Filling Out PDF Forms

Text in a PDF form field won't wrap to a new line. This is usually because the field is set to single-line, its height is too small, it has a character limit, or it isn't a form field at all. This article goes through the symptoms one by one and gives the fix for each case.

Read article
How to Convert a Table in an Image to an Excel Spreadsheet on iPhone
PDF engineering

How to Convert a Table in an Image to an Excel Spreadsheet on iPhone

The iPhone cannot directly photograph a table and turn it into a spreadsheet. This article explains what to do on the phone, which steps need to move to a computer, and provides the steps and verification methods for going from photo to PDF, OCR recognition, and Excel export.

Read article
Structured data

Writing `date` in a JSON Schema does not mean the validator will necessarily check dates

Schema says `format: date`, yet the bad date passed validation; this doesn't necessarily mean the library has a bug. `format` handling depends on the validator's configuration. When you get a "validation succeeded" result, first ask what it actually checked: types, structure, or also date semantics.

Read article
Excel Function Practice Problems: Learning by Doing Formula Training
Excel & data

Excel Function Practice Problems: Learning by Doing Formula Training

Explain how to set up a reproducible training rhythm for Excel function practice: first build a foundation with a self-made practice table, then supplement with a question bank and online simulations, and find formula problems through item-by-item checking.

Read article
Excel & data

How to Read Hundreds of Thousands of Excel Rows Without Exhausting Memory

It tackles memory overflow and data truncation in openpyxl's read_only mode for large files, offering defensive coding for dimension repair, safe resource release, and integrity checks. It also sets boundary conditions, review standards, and OmniDoc integration points for bilingual acceptance.

Read article
How to Convert Recognized Image Formulas to Word
Word & layout

How to Convert Recognized Image Formulas to Word

Common practices for importing formula recognition results into Word: first determine whether the recognition result is code, text, or an image, then choose to enter it as an editable formula or keep it as an image, and after export, check symbols, superscripts and subscripts, and brackets item by item.

Read article
How to Batch Split PDFs
PDF engineering

How to Batch Split PDFs

Explain how to split one PDF into multiple files by page ranges, and how to split multiple PDFs under a unified rule. Cover page-number confirmation, naming, judging whether a file is a scanned document, and post-split verification, with steps you can follow directly.

Read article
Methods for Editing and Creating Word Documents Online
Word & layout

Methods for Editing and Creating Word Documents Online

If you'd rather not install desktop office software, you can use the UniDoc web editor in your browser to create, edit, and export Word documents. This guide explains how to choose an approach, how to build a document with tables and formulas from scratch, and what to check before delivery.

Read article
How to Sign Within a Specified Area of a PDF Form
PDF engineering

How to Sign Within a Specified Area of a PDF Form

When the author has defined fillable areas in a PDF form, a signature only counts as valid if it is placed inside the box. This article explains how to determine the field type, how to place the signature in the designated area, and what to check after signing.

Read article
How to Set Up Automatic Formula Calculation in Word
Word & layout

How to Set Up Automatic Formula Calculation in Word

Explain how to set up automatic formula calculation in Word table formulas: insert SUM and multiplication formulas using fields, update results with F9, correct cell references when copying in bulk, and explain why the equation editor does not calculate.

Read article
How to hide formulas and display only results in Excel
Excel & data

How to hide formulas and display only results in Excel

How to Make Excel Cells Show Only Calculated Results Without Displaying Formulas: Complete Method, Including Hiding Settings, Sheet Protection, Saving a Copy, and the Limits and Common Misconceptions of This Approach

Read article
Resume Template Software Recommendations: How to Choose Free and Useful Tools
Word & layout

Resume Template Software Recommendations: How to Choose Free and Useful Tools

Resume template software comes in many varieties, and it can be hard to know where to start. This article introduces several tools by purpose, provides criteria for judging free versions along with a comparison table, and explains how to edit your own resume on a Word template.

Read article
PDF Batch Signing: Method for Inserting a Signature at the Same Position on Multiple Pages
PDF engineering

PDF Batch Signing: Method for Inserting a Signature at the Same Position on Multiple Pages

When a contract, drawing set, or form needs a signature in the same position on every page, how do you make sure the position is consistent, no page is missed, and no signature lands on the wrong page? This article gives a method for judging the situation, step-by-step page-by-page procedures, and a checklist for verifying the output after export.

Read article
How to Fix Garbled Text When Converting Image Tables to Word
Word & layout

How to Fix Garbled Text When Converting Image Tables to Word

When an image or scanned file is converted to Word, tables may show garbled characters, typos, or misaligned rows and columns. This article explains how to identify the type of problem, offers troubleshooting steps from easiest to hardest, and shows how to edit the content in the PDF editor of OmniDoc.

Read article
Markdown Formula Conversion to Word, Preserving LaTeX Formulas
Word & layout

Markdown Formula Conversion to Word, Preserving LaTeX Formulas

Explain why LaTeX formulas in Markdown turn into garbled text or images when converted to Word, and give steps for checking, exporting, and verifying formulas in the UniDoc web editor, for readers who need to deliver editable Word documents.

Read article
How to Set Cell Input Restrictions in Excel: Data Validation Method
Excel & data

How to Set Cell Input Restrictions in Excel: Data Validation Method

Explain how to use Excel's Data Validation feature to restrict the input type, range, and drop-down options of cells, set input prompts and error alerts, and verify whether the rules are working. It also clarifies which situations data validation cannot prevent.

Read article
How to Copy Formula Results and Keep Formatting in Excel
Excel & data

How to Copy Formula Results and Keep Formatting in Excel

Explain clearly how to copy the results of Excel formulas to another sheet while preserving fonts, borders, number formats, and column widths, and describe the common causes of table "distortion" after pasting, along with how to check for and fix them.

Read article
Rotating a PDF and then adding a watermark: why does the watermark end up off the page?
PDF engineering

Rotating a PDF and then adding a watermark: why does the watermark end up off the page?

This article analyzes the conflict between pypdf's /Rotate attribute and content stream coordinates, clarifying the scope and side effects of transfer_rotation_to_content. It offers a validation framework and decision table for handling rotated PDF pages in translation and watermarking.

Read article
Delivery pipelines

Retry on API Errors? For Document Tasks, First Distinguish Which Failures Are Recoverable

Retrying after an error is very common, but retrying endlessly turns small faults into big ones. Permission errors, overdue account payments, corrupted files, and temporarily busy services should not all follow the same retry path. Once they are classified, you can then decide how long to wait, how many times to try at most, and whether user intervention is needed.

Read article
Translation QA

JSON Localization: What Can Be Translated, and What Must Never Be Touched

The buttons on the page were translated into English, but the program could not find its configuration items. This failure often comes from JSON localization, where every string in an object was sent to the translator, so keys, routes, and business codes changed too. A safer approach is not to guess which strings look like natural language, but to explicitly specify which paths may be translated.

Read article
Excel & data

Don't change the business codes in dropdown lists when translating Excel

Excel translation: data validation formulas that are mistranslated will make the rules fail. This article explains the difference between validation definitions and display text, and gives an example of extracting validation metadata with openpyxl, along with edge-case handling and manual acceptance criteria.

Read article
OCR & images

Phone-shot document is oriented wrong; process EXIF first, then send to OCR

The contract photo on my phone looks portrait, but after uploading it appears sideways. The cause may be that the pixels themselves are not rotated, and the viewer only adjusts the display based on the EXIF orientation tag. If the OCR input ignores this tag, it will read the page in a different orientation.

Read article
OCR & images

Crop as tight as possible? OCR edge text also needs breathing room

The table cells are cropped very tightly, with no whitespace around the text, so recognition may not actually improve. More importantly, cropping and padding change the coordinate origin. If these changes are not saved, then when the recognition results are drawn back onto the full page later, offsets that seem random will appear.

Read article
Delivery pipelines

Troubleshooting document failures requires logs, but the full text does not need to be written to the logs

Locating translation failures requires logs, but there is no need to print the entire contract, ID numbers, or download tokens. Logs should answer "which task, at which step, and why it failed," rather than becoming a second document repository without access control.

Read article
Product number 00123 — why does it only show 123 after export?
Excel & data

Product number 00123 — why does it only show 123 after export?

Analyze why leading zeros in product codes are lost after Excel export, distinguish between a cell's stored value and its display format, and provide an openpyxl example for writing identifiers as text, an in-memory verification, and a division of labor between automated assertions and manual review.

Read article
Contract Signature Page Template and Layout Setup Methods
Word & layout

Contract Signature Page Template and Layout Setup Methods

Explain how to lay out a contract signature page, how to make it a reusable template, and how to handle page breaks between the signature page and the body text, including when the signature page stands on its own. This is intended as a reference for people who draft or revise contracts themselves in Word.

Read article
How to Write Prompts for AI to Make PowerPoint Slides: Getting an Assistant to Generate Slides
Delivery pipelines

How to Write Prompts for AI to Make PowerPoint Slides: Getting an Assistant to Generate Slides

Explain how to write a prompt for creating a PPT, covering five parts: purpose, audience, a per-slide outline, layout, and delivery format. Also explain how to use MCP so an AI assistant can generate and modify PPT files directly, and include a checklist.

Read article
How to Adjust Uneven Typesetting, Page Overflow, or Blank Space Around Images in Papers
Word & layout

How to Adjust Uneven Typesetting, Page Overflow, or Blank Space Around Images in Papers

Thesis formatting problems in Word, such as uneven paragraph alignment, a page count that exceeds the requirement, or large blank areas after images, are usually caused by paragraph settings, stray blank lines, or image layout. This article provides a troubleshooting sequence from easy to hard, along with repair methods, and explains how to review the document after export.

Read article
Mobile Excel Function Formula Guide: Quick Reference by Category of Common Functions
Excel & data

Mobile Excel Function Formula Guide: Quick Reference by Category of Common Functions

When working with spreadsheets on a phone, it's hard to remember how to write functions? This article organizes commonly used functions into five categories—statistical summation, conditional logic, lookup and matching, text processing, and date calculation—and provides syntax examples and guidance on when to use each.

Read article
How to Restore PDF Annotations After Saving, and How to Save Annotations
PDF engineering

How to Restore PDF Annotations After Saving, and How to Save Annotations

Annotations disappear after saving, or the file opens blank again, usually because the changes were never actually written to the file, were saved to a different copy, or were flattened during export. This article explains how to identify the cause, recover the annotations step by step, and save safely in the future.

Read article