LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

When using Append Report Text.vi, the inserted text does not retain the original formatting (font name , size) applied to the bookmark

**Steps to Reproduce:**

1. In a Word template, create a bookmark with a placeholder string (e.g., "XXXX").

2. Select the entire placeholder text, apply custom formatting (e.g., font = Arial, size = 14pt, bold).

3. In LabVIEW, use `Append Report Text.vi` to insert content into that bookmark.

 

**Expected Behavior:**

Inserted text should inherit the formatting of the original bookmark placeholder (i.e., retain font size, style, font name).

 

**Actual Behavior:**

Inserted text reverts to default or Normal style. The original formatting is lost.

 

**Confirmed Conditions:**

- The bookmark is a proper *range* bookmark (not just an insertion point).

- Formatting is correctly applied in the Word template and visible before insertion.

- Behavior occurs both in LabVIEW IDE and compiled EXE.

- Same behavior observed across multiple PCs and with different templates.

0 Kudos
Message 1 of 2
(314 Views)

What do you mean "create a bookmark with a placeholder string"?  Just use the standard Insert->Bookmark.  Format is retained.

aputman_0-1747852945836.png

 

aputman_1-1747853057245.png

 

aputman
0 Kudos
Message 2 of 2
(290 Views)