<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - LibreOffice WRITER: Proposal to operate on several Styles simultaneously"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126536">126536</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LibreOffice WRITER: Proposal to operate on several Styles simultaneously
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.4.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>adalbert.hanssen@gmx.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
This bug report pertains to LibreOfficeDev
Version: 6.4.0.0.alpha0+
Build ID: 4248d759744f83a68d334a8b347124719a2886a8
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time:
2019-07-09_15:00:58
Locale: de-DE (de_DE.UTF-8); UI-Language: en-US
Calc: threaded
and probably also to all other versions of LibreOffice.

I have a document which originated from a scanner and was processed with
AbbyyFineReader 9 under Windows 10 and exported from there as a Word document
(unfortunately AFR does not provide export as *.odt). The OCR process could not
retrieve the systematics of formatting by assigning a proper style sheet to the
document which takes into account that a proper document only uses a few styles
for paragraphs but uses them over and over again. Instead AFR produced lots of
styles called Style1, Style2, …

Therefore I came across the topic of working on the Styles of a document on a
whole because I wanted to unify those paragraph styles. My first idea was to
get rid of those many Styles named in the mentioned fashion or at east to
assign common spacings above or below to them. That was not possible:

One can mark more than one style in the F11 Styles menu, e.g. like in my first
picture.

or one can select a sequence of styles like this one in my second picture.

My third picture shows, what happens, after I have right-clicked on the
selection from the second picture (I probably clicked on the line “Style 11”):

So it is impossible to perform actions on several styles at once, e.g. it is
impossible to change their alignment, their organization, inheritance, styles,
text flow and orphan control etc.

Therefore I propose to add actions operating on a selected set of styles, e.g.

1. delete a marked set of styles (thus merging the styles with the parent style
according to their organization),

2 modify the font of all of them (possibly without changing the other font
parameters as size, slant, boldness, italics etc as long as those remain
untouched in this operation),

3. modify the indentation, spacing, text flow and other properties of styles
(one often wants to do that on groups of styles e.g. for headlines of different
orders)

4. merge all marked styles into an existing target style (the properties of the
target style apply to all paragraphs which were assigned to one of the styles
from the marked list before). The target style should be selectable.

Steps to Reproduce:
1. Take a document which has many styles assigned to similar formatting, e.g.
one from on OCR process.
2. Mark several of those styles as shown in picture 1 or 2
3. Try to delete them all at once

Actual Results:
3 changes the selection to a single style and proposes Modify or Delete. 

Expected Results:
I expect being able to delete all those marked styles or to modify them all at
once. Options which are unchanged with respect to the beginning of the dialogue
might be shown in grey, changing them to what the user wants and letting them
appear in black. Until "ok" they should all be applied at once to those styles.


Reproducible: Always


User Profile Reset: No



Additional Info:
I also proposed a new function to merge several styles into one, which can be
selected from the existing ones.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>