[Solved] Delete paragraph characters after table

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
grinder22
Posts: 5
Joined: Thu Feb 01, 2018 6:12 pm

[Solved] Delete paragraph characters after table

Post by grinder22 »

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
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Delete paragraph characters after table

Post by RoryOF »

If you can't remove the paragraph marks, format them to 2 points (minimum allowed)
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
grinder22
Posts: 5
Joined: Thu Feb 01, 2018 6:12 pm

Re: Delete paragraph characters after table

Post by grinder22 »

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
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Delete paragraph characters after table

Post by RoryOF »

Note that 2 pts is the minimum settable type size in OpenOffice.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
User avatar
Hagar Delest
Moderator
Posts: 32627
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Solved] Delete paragraph characters after table

Post by Hagar Delest »

You can also set that paragraph properties to Hidden.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Post Reply