You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/10/01 15:45:38 UTC

[Bug 123396] New: Merging multiple tables

https://issues.apache.org/ooo/show_bug.cgi?id=123396

            Bug ID: 123396
        Issue Type: DEFECT
           Summary: Merging multiple tables
           Product: Writer
           Version: 4.0.0
          Hardware: PC
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: editing
          Assignee: issues@openoffice.apache.org
          Reporter: cvenkel.miran@siol.net
                CC: issues@openoffice.apache.org

1. f5 , shift + click is suppose to do multiple table object select. It does
not work. It selects nothing

2. The task is to merge tables that are going one after another, the manual
recipe is:
   a: delete ewerything between 2 tables by hiting backspace
   b: when there is onyl one imaginary line between tables, hit del, the tables
jumps together 
   c. you are in first cel of bottom table, select tables/merge table

   Great that works.

3. Since there is same text in each table (of multiple tables) top left cell,
put following into macro:
   3.1 Find that text
   3.2 everything under 2.
   3.3 hit down key

   execute that macro .....
   Does not work, tables are not merged.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123396] Merging multiple tables

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123396

Edwin Sharp <el...@mail-page.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needmoreinfo
                 CC|                            |elish@mail-page.com

--- Comment #1 from Edwin Sharp <el...@mail-page.com> ---
IMHO multiple select in Navigator is not possible.

Please attach macro.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123396] Merging multiple tables

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123396

--- Comment #5 from bubikolramios <cv...@siol.net> ---
Sure it does not happen coz the necesarry code is commented ! By OO !

The point beeing:

rem dispatcher.executeDispatch(document, ".uno:MergeTable", "", 0, Array())

see "rem" there, it was automaticaly added without reason

I was recording macro
1.ctrl+F
"a"
2.CTRL+SHIFT+G (merges tables)
3.stop recording.


The macro in coment2 is as is, recorded & created by OO writer with upper
procedure. "rem" writen without any reason.

If I manual edit code and remove rem, then it works as expected.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123396] Merging multiple tables

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123396

Edwin Sharp <el...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needmoreinfo                |
             Status|UNCONFIRMED                 |CONFIRMED
             Latest|---                         |4.1-dev
    Confirmation on|                            |
     Ever confirmed|0                           |1
                 OS|Windows 7                   |All

--- Comment #6 from Edwin Sharp <el...@apache.org> ---
Thank you for this explanation.
Recorded macro is not merging tables as expected.

AOO410m1(Build:9750)  -  Rev. 1548193
2013-12-07_04:10:48 - Rev. 1548790
Debian

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123396] Merging multiple tables

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123396

--- Comment #4 from Edwin Sharp <el...@apache.org> ---
Sorry for late reply, but nothing happens when running macro in comment 2.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123396] Merging multiple tables

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123396

--- Comment #2 from bubikolramios <cv...@siol.net> ---
(In reply to Edwin Sharp from comment #1)
> IMHO multiple select in Navigator is not possible.
> 
> Please attach macro.

Test: hawe 4 standard tables 4x4, no visible space between them - has been
deleted by DEL.
Each has 'a' in top left cell. Put cursor above tables , run macro 4 times 

OK- I don't see where merge table command is in there
1. recorded it when clicking on appropriate menu
2. Pressed CTRL+SHIFT+G (should be shortcut for 1) while recording 


sub Main
rem ----------------------------------------------------------------------
rem define variables
dim document   as object
dim dispatcher as object
rem ----------------------------------------------------------------------
rem get access to the document
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

rem ----------------------------------------------------------------------
dim args1(18) as new com.sun.star.beans.PropertyValue
args1(0).Name = "SearchItem.StyleFamily"
args1(0).Value = 2
args1(1).Name = "SearchItem.CellType"
args1(1).Value = 0
args1(2).Name = "SearchItem.RowDirection"
args1(2).Value = true
args1(3).Name = "SearchItem.AllTables"
args1(3).Value = false
args1(4).Name = "SearchItem.Backward"
args1(4).Value = false
args1(5).Name = "SearchItem.Pattern"
args1(5).Value = false
args1(6).Name = "SearchItem.Content"
args1(6).Value = false
args1(7).Name = "SearchItem.AsianOptions"
args1(7).Value = false
args1(8).Name = "SearchItem.AlgorithmType"
args1(8).Value = 1
args1(9).Name = "SearchItem.SearchFlags"
args1(9).Value = 65536
args1(10).Name = "SearchItem.SearchString"
args1(10).Value = "a"
args1(11).Name = "SearchItem.ReplaceString"
args1(11).Value = ""
args1(12).Name = "SearchItem.Locale"
args1(12).Value = 255
args1(13).Name = "SearchItem.ChangedChars"
args1(13).Value = 2
args1(14).Name = "SearchItem.DeletedChars"
args1(14).Value = 2
args1(15).Name = "SearchItem.InsertedChars"
args1(15).Value = 2
args1(16).Name = "SearchItem.TransliterateFlags"
args1(16).Value = 1280
args1(17).Name = "SearchItem.Command"
args1(17).Value = 0
args1(18).Name = "Quiet"
args1(18).Value = true

dispatcher.executeDispatch(document, ".uno:ExecuteSearch", "", 0, args1())

rem ----------------------------------------------------------------------
rem dispatcher.executeDispatch(document, ".uno:MergeTable", "", 0, Array())


end sub

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123396] Merging multiple tables

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123396

--- Comment #3 from bubikolramios <cv...@siol.net> ---
as I remember from basic rem is commented code !?

rem dispatcher.executeDispatch(document, ".uno:MergeTable", "", 0, Array())

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.