[Solved] Delete paragraph characters after table

Java, C++, C#, Delphi, ??? - Using the UNO bridges

[Solved] Delete paragraph characters after table

Postby grinder22 » Tue Feb 06, 2018 8:34 pm

When i create new tables using the CLI there is always a trailing hidden paragraph character. I have several nested tables in a report and the result is too much whitespace.

Is there any way to delete this character? I can do it from an open document by using the delete key, but I can't seem to find a corresponding UNO API technique for doing this.
Last edited by Hagar Delest on Tue Feb 06, 2018 11:05 pm, edited 1 time in total.
Reason: tagged [Solved].
OpenOffice SDK 4.1.2
OpenOffice CLI
Window 10
grinder22
 
Posts: 5
Joined: Thu Feb 01, 2018 6:12 pm

Re: Delete paragraph characters after table

Postby RoryOF » Tue Feb 06, 2018 9:13 pm

If you can't remove the paragraph marks, format them to 2 points (minimum allowed)
Apache OpenOffice 4.1.5 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 27309
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Delete paragraph characters after table

Postby grinder22 » Tue Feb 06, 2018 9:44 pm

That worked nicely. I actually tried that early on but set it to 0, which didn't do anything. Setting it to 2 worked. Thank you.
OpenOffice SDK 4.1.2
OpenOffice CLI
Window 10
grinder22
 
Posts: 5
Joined: Thu Feb 01, 2018 6:12 pm

Re: Delete paragraph characters after table

Postby RoryOF » Tue Feb 06, 2018 10:02 pm

Note that 2 pts is the minimum settable type size in OpenOffice.
Apache OpenOffice 4.1.5 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 27309
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] Delete paragraph characters after table

Postby Hagar Delest » Tue Feb 06, 2018 11:05 pm

You can also set that paragraph properties to Hidden.
AOO 4.1.5 on Xubuntu 18.04 and on Windows 7 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28227
Joined: Sun Oct 07, 2007 9:07 pm
Location: France


Return to External Programs

Who is online

Users browsing this forum: No registered users and 0 guests