Issue 18011 - Macros to change border of tables don't work for HTML imported tables
Summary: Macros to change border of tables don't work for HTML imported tables
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1 RC2
Hardware: Other Linux, all
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: oooqa
Depends on:
Blocks: 20046 81517
  Show dependency tree
Reported: 2003-08-08 07:13 UTC by Unknown
Modified: 2017-05-20 11:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-08-08 07:13:20 UTC
I've got HTML tables that I've imported by doing a "Insert->File" operation.

I want to record a macro which will select the entire table and:

1. Set the header row to repeat.
2. Change the border to be full cell borders - i.e.:

|   |   |   |

I can record a macro (indeed I've done it about 8 times... :) ) which does
exactly this.

The text selection method is that the cursor is positioned in the top left hand
cell of the table and I do a "CTRL-SHIFT-END" followed by a second
"CTRL-SHIFT-END" to select all cells in the table. (Maybe this has an impact?)

After doing this the macro formats the table, sets the heading preference and
then the border preference.

When I do this as part of the macro _recording_ function it works exactly as

However, when I run the macro (on the same table re-imported) I don't get
internal borders. I.e., instead of:

|   |   |   |

I get:

|           |

This seems like a bug to me.
Comment 1 tamblyne 2003-08-18 17:48:44 UTC
Have you requested help on the users mailing list for this problem? 
That might be more appropriate.  


Comment 2 Unknown 2003-08-19 23:55:50 UTC
This isn't a "how do I drive macros" question.

The macro feature doesn't enable the recording of certain table
operations such as setting header rows to repeat & comprehensively
changing the border style.


If you set a macro to record and then turn heading row repeating on in
a table and then hit "stop" the macro doesn't even bother to save
because you haven't done "anything" even though you have.

If you set a macro to record and then select an entire table and then
turn on borders of the kind:

|       |       |
|       |       |
|       |       |
|       |       |

And then replay that macro at a later point all you get is:

|               |
|               |
|               |
|               |
|               |

That's a bug, not a case of not being able to drive the program...


-Preston de Guise.
Comment 3 flibby05 2004-02-11 18:51:49 UTC
Hi Preston, thanks for using and supporting OpenOffice!

>> I've got HTML tables that I've imported by doing a "Insert->File" operation.

Your description of the issue is very clear in general, however could you
provide us please with more information concerning the very first step as this
is very relevant for the continuing steps !?

Do you import the file into a Writer document or a HTML document?
Could you also please attach the file, which contains the tables you are
inserting by "Insert->File" to this issue?

Max Weber
Comment 4 mci 2004-02-18 09:05:02 UTC
reassigned to jsk

Hi jsk, 
I think you're working on macros...
please have a look at this, maybe you can help...
Comment 5 joerg.skottke 2004-06-16 10:24:06 UTC
without further testing on this: According to the OOo PCD i retarget the issue
to OOo later and add it to the genaral catch-all for macro recorder bugs issue
Comment 6 joerg.skottke 2004-10-26 13:52:29 UTC
changing owner to OS
Comment 7 Marcus 2017-05-20 11:27:38 UTC
Reset assigne to the default "".