On 17.05.2011 11:35, Jürg Signer wrote:
When I change the color of the text in the .odt file the copied text
will also change the color in joomla accordingly.
When I now change back to automatic color in the .odt file, the copied
text in joomla doesn't change the color back to automatic anymore!
I saw in the html-code some things left behind after the change!
code before the colorchange:
<p style="margin-bottom: 0cm; line-height: 150%;"><span
style="font-size: medium;">Möchten...Vorauszahlung.</span></p>
code ater the change back:
<p style="margin-bottom: 0cm; line-height: 150%;"><span
style="color: #000000;"><span style="font-size:
medium;">Möchten...Vorauszahlung.</span></span></p>
*Is this a bug?* How can I get back to the code for automatic color?
*Can you please help? (to answer my question or to bring my problem to
the corect person with openoffice)*
To get back to the original state, you have to remove the "font color"
formatting from the text, which is not the same as applying "automatic"
color. There are two ways:
- Select the text and use "Format/Default Formatting" to remove all
character formats for the selection. If there are other formats that you
want to keep, you have to apply them again.
- Use a simple macro to remove only the font color, like this:
ThisComponent.CurrentController.Selection.getByIndex(0).setPropertyToDefault("CharColor")
Niklas
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help