On Wednesday 13 September 2006 04:43 pm, Michele Zarri wrote:
> On 13/09/06, Dan Lewis <[EMAIL PROTECTED]> wrote:
> > On Wednesday 13 September 2006 09:06 am, Cor Nouws wrote:
> > > Hi Michele,
> > >
> > > Michele Zarri wrote:
> > > > THanks for the prompt reply. I guess one of the problems was
> > > > that the text I was modifying was imported from MS Office
> > > > therefore loads of charachter styles were created.
> > >
> > > That's it.
> > >
> > > > Re your suggestion, I tried that but it did not really help,
> > > > sometimes even when selecting the default character style,
> > > > the font colour remained unchanged.
> > >
> > > Pls re-read my first answer ;-)
> > > I suggested to use the menu Format|Default format(ting) or
> > > Ctrl-Shft-Space. Thanks to your question below, I guess you
> > > didn't ...
> > >
> > > > On the very related subject (therefore not worth a different
> > > > thread): what is the difference is between "clear formatting"
> > > > and "default"?
> > >
> > > I don't know what the clear formatting item in the style name
> > > box does.
> > >
> > > Greetings,
> > > Cor
> >
> > Clear formating and default appear to do the very same thing
> > on my system (Linux, 2.0.3 OOo). This is possibly because I have
> > not modified the default paragraph style. Furthermore, both of
> > them apply only to paragraph styles and NOT to character styles.
> > I have run another test. After modifying the default
> > paragraph style, I have found that "clear formatting" changes the
> > original paragraph style (First line indent) to match the default
> > paragraph style.
> > Suggestion: to modify unknown text, cut and paste special
> > selecting Unformatted text. This removes all the formating on the
> > pasted text. Then apply the formating you want: both paragraph
> > and character.
> > If the creator of the document used the font color drop down
> > menu to change the text color, this is considered to be "hard
> > coded." No style will override this. The same thing is true for
> > Bold (Control+B), Underlined (Control + U), and alignments (left,
> > center, or right). Some of these may be what is causing you
> > problems. The only way I know to remove these "hard codes" is to
> > follow the suggestion above.
> >
> > Dan
> >
> > -----------------------------------------------------------------
> >---- To unsubscribe, e-mail: [EMAIL PROTECTED] For
> > additional commands, e-mail: [EMAIL PROTECTED]
> >
> > Cor, Dan,
>
> Thanks for your comprehensive reply. What I did not know was that
> the text colour, and the attributes, if manually set by the user
> are not overridden by the style defaults. I had considered the
> paste unformatted, but this inherits the attributes of the
> paragraph were you paste, so for example if you have a paragraph
> with default style, with colour manually set to, say red, by
> performing a paste unformatted on that paragraph the text will
> become red.
> This is not to say that your suggestion doesn't help (actually I
> use paste unformatted so often that I have a special shortcut for
> it), but it is not, strictly speaking completely unformatted.
>
> Cheers,
>
> Michele
Then the obvious answer is for you not to use any manual formating
at all in the paragraph to which you paste special. Set the formating
you want for that paragraph by creating a new paragraph style with
that formating.
All the things that you set manually, I set using styles. That
also allows me to set character styles as well as paragraph styles.
Styles are explained in a chapter of the Getting Started Guide as
well as the Writer Guide. Both are available for download at
http://documentation.openoffice.org/manuals/oooauthors/.
Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]