Bug 159823 - Tables in Impress should support setting row height and column width (as in Writer)
Summary: Tables in Impress should support setting row height and column width (as in W...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.6.4.1 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks: ImpressDraw-Tables
  Show dependency treegraph
 
Reported: 2024-02-21 14:04 UTC by Rafael Lima
Modified: 2024-03-07 03:15 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2024-02-21 14:04:52 UTC
In Writer, if you insert a table in a document and right-click it, you'll see a context menu with "Size" and the "Row height" and "Column width". With them, you can set exactly the height/width you want. This is super useful when you want columns and rows to have a specific size.

However, these options do not exist in Impress. It is simply not possible to set the height of rows (or the width of columns) by providing a specific value.

So I propose Impress tables also support defining height/width by value, as in Writer.

This should not be too difficult to implement, since it is achievable via macros. So the API is already there, we're just lacking the UI.

To run the macro below, simply create an Impress document, insert a table and select it.

Sub TableWidth
  oTable = ThisComponent.CurrentSelection.getByIndex(0).Model
  oColumn = oTable.Columns.getByIndex(0)
  ' See original column size
  MsgBox oColumn.Size
  ' Change column size
  oColumn.Size = 1000
  MsgBox oColumn.Size
End Sub