# format the single words of a field

I know that a field can be formatted as paragraph, but it seems impossible to format a single word of a field, due to the fact that a (text of a) field is a compact, indivisible whole, so to say, isn't it?
But there could not be an implementation, at least of certain types of fields, in particular in Writer?
I.g. it should be very useful if a long text pasted as DDElink from a odt file to another odt could be formatted (some words in italic, some other in bold, i.g.).
There is a way to do so?
Thanks

edit retag close merge delete

Sort by » oldest newest most voted

You said it: the value of a field is a "single atomic sequence". All you can do is apply a single character style to it to change its aspect from the surrounding paragraph.

I experimented with a pasted DDE link where the source text had several character styles applied to it (and also contained various fields). The field value is a string of characters stripped of any stylistic variation (similar to unformatted text).

The only way I found to keep original formatting was to Insert>Section with Link option (without DDE).

I emphasise the word keep to mean you have a mirror of the original file. If you want to be able to change formatting, you must "unprotect" the section, but next time you Tools>Update>Update All, Writer retrieves the content of the file and all your formatting changes are lost.

I could not succeed in using the DDE link of a section (the command I entered was ineffective and I didn't search why).

To show the community your question has been answered, click the ✓ next to the correct answer, and "upvote" by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

In case you need clarification, edit your question (not an answer which is reserved for solutions) or comment the relevant answer.

more

I see. Sections have the terrible feature that they can't be deleted (I don't understandy why), do they? That's way I am very careful about sections.
Otherwise they could be a solution...
EDIT
But I see that in LO 7 it is possibile remove a section: I was wrong, sorry.

( 2020-08-31 17:00:59 +0100 )edit

I've always been able to delete section (I am not yet under LO 7). It is a bit contorted: you must edit a section to get the dialog (or do as if you want to insert a new one). Once in the dialog, select the section is the left list and press Remove. Section content is now part of the main flow.

( 2020-08-31 17:23:50 +0100 )edit

yes, you are right

( 2020-09-01 10:21:21 +0100 )edit