File Content Extraction 26.1
XML Export SDK C Programming Guide

# Convert Text Box Information

For Microsoft Word Processing documents (DOCX) that have the File Content Extraction format `MS_Word_2007_Fmt`, XML Export exposes the information from the file that is used to position text boxes on the page.

The `TextBox` element surrounds text that was contained in a positioned text box, and it has the following format:

    <TextBox width="6.75in" height="0.75in" anchor-horizontal="column" anchor-vertical="paragraph" offset-x="0.25in" offset-y="4in">

The `width`, `height`, `offset-x`, and `offset-y` elements are all lengths in inches. The following tables describe the possible options for the `anchor-horizontal` and `anchor-vertical` attributes.

anchor-horizontal options
anchor-horizontal value | Description
--- | ---
character | offset-x is relative to the current position in the text.
page | offset-x is relative to the left border of the page.
margin | offset-x is relative to the left margin.
column | offset-x is relative to the left of the current column.

anchor-vertical options
anchor-vertical value | Description
--- | ---
line | offset-y is relative to the current position in the text.
page | offset-y is relative to the top border of the page.
margin | offset-y is relative to the top margin.
paragraph | offset-y is relative to the top of the current paragraph.

Copyright 1997-2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.1

Topic Title: Convert Text Box Information