[Libreoffice-bugs] [Bug 101123] Writer table Split Merged Cell - enhancement request "Undo merge" i.e. split fast to rows/columns of the surrounding cells

2019-01-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

--- Comment #20 from Heiko Tietze  ---
(In reply to Heinrich Hartl from comment #19)
> I do not understand what "spawn" property means.

The merged cells get internally a "spawn" property. If you open Regina's
example and look into the file (rename to zip, open content.xml) you find the
actual odf content somewhere at the bottom. In a nutshell: spawn = merge (in my
sloppy comments here).

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer table Split Merged Cell - enhancement request "Undo merge" i.e. split fast to rows/columns of the surrounding cells

2019-01-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

--- Comment #19 from Heinrich Hartl  ---
Hallo Heiko,
I do not understand what "spawn" property means. May I ask you to help me with
some explanation. Searching bugzilla for spawn was not yielding helpful info.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer table Split Merged Cell - enhancement request "Undo merge" i.e. split fast to rows/columns of the surrounding cells

2019-01-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

Heiko Tietze  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW
  Component|LibreOffice |Writer
   Keywords|needsUXEval |
 CC|libreoffice-ux-advise@lists |tietze.he...@gmail.com
   |.freedesktop.org|
 Blocks||107707

--- Comment #18 from Heiko Tietze  ---
To conclude, on a cell level the merge action can be reverted while there is no
info about the previous layout if full rows/cols got merged into one.
Nevertheless we could implement a command that clears the "spawn" property from
tables - and is just disabled if there isn't any.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107707
[Bug 107707] [META] Writer table enhancements requests
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer table Split Merged Cell - enhancement request "Undo merge" i.e. split fast to rows/columns of the surrounding cells

2019-01-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

Cor Nouws  changed:

   What|Removed |Added

Version|5.0.6.3 release |Inherited From OOo
Summary|Writer Table Split Merged   |Writer table Split Merged
   |Cell - Enhancement request  |Cell - enhancement request
   |"Undo merge"|"Undo merge" i.e. split
   ||fast to rows/columns of the
   ||surrounding cells
 CC||c...@nouenoff.nl

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request "Undo merge"

2019-01-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

--- Comment #17 from Heiko Tietze  ---
(In reply to Regina Henschel from comment #12)
> Created attachment 148517 [details]
> Example with merged cells and explanation

Sorry, missed that. Your example requires the spawn info, doesn't it?

A1

(In reply to Heinrich Hartl from comment #16)
> In all the examples I dissected columns were never deleted by merge.

What was this originally?

 
   


 
  
 

   
   
  
 

(4x4 table, cols 1+2 and 3+4 merged then 1+2 merged, saved as fodg)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request "Undo merge"

2019-01-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

--- Comment #16 from Heinrich Hartl  ---
Hallo Heiko,

I could imagine that "unmerge" is invoked with either cells selected (may be
entire table or a single eventually merged cell or whatever subset of the
table) or with the cursor in a cell. That case should be treated same as if
that cell was selected.

The command given by "unmerge" then would be to recreate i.e. make visible all
the covered cells in the selected domain. There is no ambiguity.

In all the examples I dissected columns were never deleted by merge. So I can
answer why not 20 cells - there are 6 columns! Even if columns were deleted
above definition of the command semantic is clear. Recreate an eventually lost
entire (empty) column can be done by insert column analogous to insert row.

So it is not about undoing respective recreating what may have existed before
but to make visible the row/column structure and make sure that in some
selected range there is no merged cell nor a covered cell thus re-exposing all
parts to standard editing.

To raise a valid argument about what might be possible or not I suggest to
raise it with an example. Dissecting may in many cases provide a clear answer!

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request "Undo merge"

2019-01-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

--- Comment #15 from Heiko Tietze  ---
(In reply to Regina Henschel from comment #14)
> You can only use information, which is available. So an "unmerge" would
> result in 6 cells.

And why not in 8 or 20? Do I know the original layout? And given there are more
than one split operations, which one is to take - if the "original" layout is
stored somehow?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request "Undo merge"

2019-01-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

--- Comment #14 from Regina Henschel  ---
You can only use information, which is available. So an "unmerge" would result
in 6 cells.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request "Undo merge"

2019-01-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

--- Comment #13 from Heiko Tietze  ---
(In reply to Regina Henschel from comment #12)
> If you start with a 6col,2row table and then merge A1,B1,C1 and merge
> D1,E1,F1 and after that merge the two merged cells, you get the same as
> merging A1,B1,C1,D1,E1,F1 immediately.

How do you and Heinrich expect the unmerge command to work on the resulting 1
col x 1 row table?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request "Undo merge"

2019-01-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

--- Comment #12 from Regina Henschel  ---
Created attachment 148517
  --> https://bugs.documentfoundation.org/attachment.cgi?id=148517&action=edit
Example with merged cells and explanation

(In reply to Heiko Tietze from comment #10)
> Summarizing, the request is to split merged cells. It's not about undoing
> the merge.

Indeed it is not about "undo", because the previous content of the now covered
cell cannot be reconstructed. The request is to restore the previous table
structure.

> 
> (In reply to Regina Henschel from comment #8)
> > The merged cell contains the information, how many rows and columns it 
> > spans.
> Could you please elaborate this? Let's say I start with a table with 6
> columns and merge a) 3 and 3 first and subsequently the 2 or b) all 6 at
> once. How is the original table layout stored?

If you start with a 6col,2row table and then merge A1,B1,C1 and merge D1,E1,F1
and after that merge the two merged cells, you get the same as merging
A1,B1,C1,D1,E1,F1 immediately.

The attached file contains an example, how the file source looks for merged
cells.

> 
> If there is no clear information about the previous table layout I would not
> implement a single-click-split function. Not even talking about the previous
> formatting/style.

The file format is clear about the structure.

I see a need for such feature, because it cannot be done via API. At least I
have not found it. But the file source has this information, thus I conclude,
that the information is available in core. And then it should be used.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request "Undo merge"

2019-01-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

--- Comment #11 from Heinrich Hartl  ---
The argument "merge is lossy" is correct but what is lost?

Visibility of covered cells and implicitely editing of covered cells.
Merging may delete fully covered rows.
The contents of the covered cells is moved/appended to the topmost left cell
that remains visible. 
The width of the covered cells is not lost but is preserved in the column
width. 
Special settings for cell borders are lost. 

I try to go through this list to discuss reverting merge / unmerge.
Unmerge can re-establish visibility and width of covered cells and thus also
re-enable editing of cell properties for those cells.
Implicitely deleted rows can be recreated by insert row.
Contents can be moved to the now visible cells.
Special border settings can be set. A very reasonable border setting can be
derived from the border setting of the topmost left cell.

To summarize: most important - full editing capability is re-enabled by
unmerge/split. 
Loss by merge that cannot be recovered is confined to empty cells and
decoration.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request "Undo merge"

2019-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

--- Comment #10 from Heiko Tietze  ---
Summarizing, the request is to split merged cells. It's not about undoing the
merge.

(In reply to Regina Henschel from comment #8)
> The merged cell contains the information, how many rows and columns it spans.
Could you please elaborate this? Let's say I start with a table with 6 columns
and merge a) 3 and 3 first and subsequently the 2 or b) all 6 at once. How is
the original table layout stored? 

If there is no clear information about the previous table layout I would not
implement a single-click-split function. Not even talking about the previous
formatting/style.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request "Undo merge"

2019-01-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

Buovjaga  changed:

   What|Removed |Added

   Keywords||needsUXEval
 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org

--- Comment #9 from Buovjaga  ---
(In reply to Heinrich Hartl from comment #6)
> Created attachment 148410 [details]
> Detailled Report of activities to modify mergedcells.odt to mergedcells3.odt
> 
> 
> I upload Bug101123_Report1.odt that includes in much detail what I found
> when dissecting the archive mergedcells.odt (148389: Writer table with
> merged cells) and how i wanted to change content.xml.

We see here the problem I mentioned in my comment 3: the merging operation is
lossy. The original table *had 6 rows*. Thus, your unmerge was not successful.

Let's ask UX team anyway, if a "simple unmerge" would be desirable (ie. "The
Rows You See Are What You Get" -type of thing).

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request "Undo merge"

2019-01-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

Regina Henschel  changed:

   What|Removed |Added

 CC||rb.hensc...@t-online.de

--- Comment #8 from Regina Henschel  ---
I like the idea of a 1-click unmerge. Unmerge could be done by split, but that
opens a dialog and the user needs to control the settings.

I would not mix such feature with the current split, but use a separate
command.

There is no principle problem to get the cells. The merged cell contains the
information, how many rows and columns it spans.

A problem is, which width and height to use for the now visible cells,
especially if above/below or left/right have different settings.

Another problem is, which style to use. In Writer the style information is not
kept, but the covered cells are totally empty. That is different from Calc,
where a covered cell can keep its style information. At least using the
settings from the associated template would be possible or the styles from
column and row default, if such exists.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request "Undo merge"

2019-01-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

Heinrich Hartl  changed:

   What|Removed |Added

 Attachment #148411|while mergedcells.odt has a |mergedcells3.odt is
description|table with merged cells |document mergedcells.odt
   |mergedcells3.odt is that|with merging undone
   |same table with merging |
   |undone  |

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request "Undo merge"

2019-01-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

--- Comment #7 from Heinrich Hartl  ---
Created attachment 148411
  --> https://bugs.documentfoundation.org/attachment.cgi?id=148411&action=edit
while mergedcells.odt has a table with merged cells mergedcells3.odt is that
same table with merging undone

The "corrected" archive mergedcells3.odt is the same document as
mergedcells.odt where undoing the merge of cells is done manually by editing
content.xml. Unfortunately it is not perfect. When opening with writer please
allow writer to correct things in the document. I am glad that then you get to
see the desired result. The table cells are regenerated.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request "Undo merge"

2019-01-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

--- Comment #6 from Heinrich Hartl  ---
Created attachment 148410
  --> https://bugs.documentfoundation.org/attachment.cgi?id=148410&action=edit
Detailled Report of activities to modify mergedcells.odt to mergedcells3.odt


I upload Bug101123_Report1.odt that includes in much detail what I found when
dissecting the archive mergedcells.odt (148389: Writer table with merged cells)
and how i wanted to change content.xml.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request "Undo merge"

2019-01-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

Buovjaga  changed:

   What|Removed |Added

 Status|REOPENED|UNCONFIRMED
 Ever confirmed|1   |0

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request "Undo merge"

2019-01-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

--- Comment #5 from Buovjaga  ---
Created attachment 148389
  --> https://bugs.documentfoundation.org/attachment.cgi?id=148389&action=edit
Writer table with merged cells

Ok, try to undo this merge.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request "Undo merge"

2019-01-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

Heinrich Hartl  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WONTFIX |---
 Ever confirmed|0   |1

--- Comment #4 from Heinrich Hartl  ---
Hi Buovjaga,
your last comment says, that the assumption "the coverage of a merged cell is
internally known" is not true.
And therefore you decided to set "WontFIx".

I am prepared to demonstrate that the assumption is true.
I suggest you supply a testcase with a table that has merged cells.
I will dissect that document i.e. extract the xml inside the .ods file
I will write pseudo code that elaborates the coverage
I will attach my results to this bug
I ask you to have look on what I will have found and to reconsider setting
"New".

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request " Undo merge"

2017-12-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

Buovjaga  changed:

   What|Removed |Added

   Keywords|needsDevAdvice  |
 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #3 from Buovjaga  ---
"since the coverage of a merged cell is internally known"

This is not true. It is not possible to do what you request. The operations are
lossy, not lossless.

Consider that you could completely redesign your table by various splits and
merges. No algorithm could know, what the user wants with such an "Undo merge"
feature in each case.

Closing as WONTFIX.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request " Undo merge"

2017-12-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

Heinrich Hartl  changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request " Undo merge"

2017-12-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

--- Comment #2 from Heinrich Hartl  ---
Hi Xcisco,
my wording is bad. UNDO is somewhat ambigous. With the UNDO function I can step
backwards on my chain of recent transformations. This functionality is fine but
it is no help when the merging is not on my list of recent actions. 
My request was for a functionality that can revert merged cells to the unmerged
status irrespective of when in the past the merger was done, e. g. in an
editing session long before.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request " Undo merge"

2017-12-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

Xisco FaulĂ­  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||xiscofa...@libreoffice.org
 Ever confirmed|0   |1

--- Comment #1 from Xisco FaulĂ­  ---
Hi Heinrich,
If I create a table, I can split any of the cells and the undo the action.
Unfortunately without clear steps to reproduce it, we cannot track down the
origin of the problem.
Please provide a clearer set of step-by-step instructions on how to reproduce
the problem.
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' once the steps are provided

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request " Undo merge"

2016-09-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

Jean-Baptiste Faure  changed:

   What|Removed |Added

   Severity|normal  |enhancement

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 101123] Writer Table Split Merged Cell - Enhancement request " Undo merge"

2016-08-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101123

Buovjaga  changed:

   What|Removed |Added

   Keywords||needAdvice
 CC||todven...@suomi24.fi

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs