https://bugs.freedesktop.org/show_bug.cgi?id=64970

          Priority: medium
            Bug ID: 64970
          Assignee: [email protected]
           Summary: Styles & Formatting and Find & Replace UI/functional
                    enhancements
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.0.1.2 release
         Component: Writer
           Product: LibreOffice

There are a number of barriers to use of Styles and Formatting, and these are
some suggestions on how to overcome a few of these. While this is extensive,
most of the code for all of these already exists. This is almost exclusively a
UX problem.



Find?Replace irrespective of type: It would be useful to find text only within
certain styles, or finding existing direct formatting and replacing them with a
style. This should be doable through Find/Replace and/or the Styles and
Formatting interface.

Blank Style: Allow an option to remove all rules from a style. Preferably allow
removal of ANY rather than only all, but either would be useful.

Recreate Style: The option to recreate a style as if one had deleted it and
created it again, but retaining all uses throughout a document and any style
hierarchy.

Simplify Style: Appropriate to a number of contexts with slightly different
meanings: In the styles manager, it makes sense to have this refer strictly to
the inheritance chain of the style, removing any rules from this style that are
also defined in the parent. In the main editing area, the option may or may not
apply to direct formatting, but it would certainly apply to character styles
overtop a paragraph and page style, and to a paragraph over a page, etc.. Some
scheme for selecting the style intended would be required. The result is that
the style definitions that have no effect are removed. 

Simplify Direct Formatting: Any rules defined by underlying style information
are removed from the direct formatting, but any others are retained. 

View All Styles: Pull in any direct formatting rules into styles. (again, it
already does this, so the coding should be easy) Any character modes applied to
an entire paragraph probably ought to be pulled into a paragraph style. This is
already done behind the scenes, anyhow, so simply make an option in UI to
access them. (In that case, the visibility of the rules is one of the style
view options, and the hidden styles are simply less hidden.)

View Applied Formatting: The direct formatting behind the scenes have names.
Styles also have unique names. Provide some form of graphics that show where
the beginning and end tags for each are placed in the document and allow direct
manipulation of them. Deleting an end tag should be equivalent to deleting the
beginning tag, but should probably not normally be possible in standard
editing. (preferably somewhat differently for each type of tag) 

Find Duplicate Rules:  Hunt through the styles and check if a given pattern
already exists. If so, add that to the list of duplicates. 

Replace Style: Instead of just using Find/Replace, (which should still work,
mind) this would be part of the style manager. Obviously, it should simply
allow one style to replace another. If written properly, it could accept a list
of styles that are to be deleted in favor of another.

Condense Duplicate Styles: Searches for either a given style or runs through
all styles and presents the user an option to pick the survivor. If the styles
are all Direct Formatting Styles, it can just collapse them. If only one of a
set is manually created, it automatically wins.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to