Apache OpenOffice (AOO) Bugzilla – Issue 18011
Macros to change border of tables don't work for HTML imported tables
Last modified: 2017-05-20 11:27:38 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 expected. 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.
Have you requested help on the users mailing list for this problem? That might be more appropriate. Tam
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. I.e.: 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... Cheers, -Preston de Guise.
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? Thanks, Max Weber
reassigned to jsk Hi jsk, I think you're working on macros... please have a look at this, maybe you can help...
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 #20046
changing owner to OS
Reset assigne to the default "issues@openoffice.apache.org".