Ask Your Question
0

Changin page margin with macro and prevent tables to split across pages with macro

asked 2018-04-11 15:23:29 +0200

Aniruddha Mohod gravatar image

Every day I have to download an .odt file. Its margin used to be 2.00 cm I have to change the top and bottom margin to 0.40 cm. Similarly there used to be nearabout 50 tables in it. The tables should not be splitted across the pages. These things are not possible by recording macro. I need its code. Any help please.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2018-04-11 22:47:24 +0200

Jim K gravatar image

updated 2018-04-11 22:47:56 +0200

The macro document at http://www.pitonyak.org/oo.php is your friend.

  • Setting margins is described in section 5.10.
  • IsSplitAllowed is described in section 8.2.
edit flag offensive delete link more

Comments

I managed to create macro for setting page margin. But dont know how to use issplitallowed

Aniruddha Mohod gravatar imageAniruddha Mohod ( 2018-04-22 14:30:47 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-04-11 15:23:29 +0200

Seen: 24 times

Last updated: Apr 11