Hello Octavio,
Many thanks for those changes. I've pushed them in the master branch.
Feel free to continue improving Writer like that :)
On Fri, 2011-01-21 at 15:09 -0800, Octavio Alvarez wrote:
Hi.
The purpose of the following set of patches is to rename "Default
Formatting" to "Clear Default Formatting" across all the suite. The goal
is to clarify what this function currently does and should do. The current
situation is that everybody has its own interpretation of this, mainly
because "Default Style" and "Default Format" are different things and
neither of them mean "clear direct formatting". This mess doesn't help us
have a common ground for decision taking. Even the specification[1] behind
it is ambiguous.
After a bit of analysis, I found that formatting applied over styles is
uniformly called "direct" throughout the help but some code still talk
about "hard" format.
This should allow us to have a common ground for this. Should another
resetting-specific need arise, then it will clearly be an enhancement
request. Should a function do anything different than just "clear direct
formatting" it will clearly be bug.
I hope the user to benefit too, as the new name better answers the
question "what does this do": it clears direct formatting.
The patches rename all existing instances of "Default Formatting" to
"Clear Direct Formatting", including menus and help texts. Search was done
using ./g grep and replacement was made by hand. Some instances were not
changed. For example, there was uno:ResetAttrs and uno:SetDefault, which
obviously refer to different things. uno:SetDefault was left alone.
The set of patches apply to different repositories.
In the upcoming days I will include another set of patches to rename
"Clear formatting", which removes direct and sets default style, to "Clear
all formatting" (I'm not so convinced about the phrasing, but that was the
best+shortest text I could come up with). This should clarify it even
more. I request for comments.
There are still other instances of "Default Formatting" that should be
renamed to "Apply Default Style", but I can't find it as a user, so I'll
wait for this.
[1]
http://specs.openoffice.org/writer/formatting/Assigning_Styles_in_Writer.sxw
_______________________________________________ LibreOffice mailing list
LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
--
Cédric Bosdonnat
LibreOffice hacker
http://documentfoundation.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.