Bug 118348 - Fields not inserted in Text Boxes
Summary: Fields not inserted in Text Boxes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.4.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Textbox Fields
  Show dependency treegraph
 
Reported: 2018-06-24 16:49 UTC by Secreet
Modified: 2022-01-07 04:24 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Secreet 2018-06-24 16:49:00 UTC
Description:
In text boxes you can enter text but it is impossible to insert any field, for example the page number and others.

Steps to Reproduce:
1. Open Drawing bar
2. Draw text boxes
3. Insert > Field > eg. Title

Actual Results:
Not support

Expected Results:
Insert a field and update it.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 6.0.4.2
Build ID: 1:6.0.4~rc2-0ubuntu0.16.04.1
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk2; 
Locale: uk-UA (uk_UA.UTF-8); Calc: group
Comment 1 Dieter 2018-06-24 18:26:40 UTC
I confirm, that it is actual not possible. Sounds to me like a useful enhancement.
Comment 2 Regina Henschel 2018-06-24 18:53:58 UTC
Inserting a field into a Draw textbox is not implemented, although it would be possible from file format. Such fields are direct child elements of the <text:p> element. There exists the similar bug 35033 about allowing OLE objects like Math or allowing images. But is is not duplicate, because for those support for a <draw:frame> element is needed.

If you are in Draw and enter e.g. a page-number field, than you can manually add text to it. So I see no reason, why it should not be possible in Writer.

I think, no UI advise is needed.

Workaround: Writer has frames for rich content. It is in menu Insert > Frame.
Comment 3 Roman Kuznetsov 2018-06-24 19:25:24 UTC
Confirm. 

In Draw  i can insert field into text box
Comment 4 Heiko Tietze 2018-06-25 08:07:24 UTC Comment hidden (no-value)
Comment 5 Carl Pettit 2021-12-07 12:10:05 UTC
The ability to insert fields into frames is great (although it now makes me wonder why Text Box exists if frames are so useful). However, frames cannot be rotated like Text Box. The ability to place fields in either and then be able to rotate would be a bonus. An application for this would be in printing tent cards for guest places at a dinner. One side has the guest's name, the other, the guests menu choices. This would require one side to be printed 180 degrees rotated. Rotating a frame or text box would do it. Guest names and menu options are sourced from a data source (base/calc). At present, I do this by printing one side of the tent card and then print labels to stick on the backside.