How to modify a table's rows
When you mark a table, PDF2XL CLI attempts to automatically detect where the rows are, but sometimes you might want to change what was automatically detected, for example when a table's row might span several lines of text.
By default, you can't work with table rows, and when working with a table you can only select columns.
In order to enable row and cell editing, you need to go to the View ribbon and check the Table Rows option. Once you've enabled this option, there are several things you can do to edit your tables:
Resizing a row
- Place your cursor over a row's top or bottom border. The cursor should change into a double headed arrow.
- Press the left mouse button, and keep it pressed.
- Drag the cursor up or down while keeping the button pressed to move the border up or down.
- When you've moved the border to the right position, release the left mouse button.
Unlike in Excel, moving a row's border in PDF2XL CLI will resize the two rows touching that border. No other part of the table is affected.
Selecting a row
While the Table Rows option is off, clicking somewhere inside a table will select an entire column, but while the option is on, only a single cell will be selected.
To select an entire row, move your cursor a bit beyond the row's left edge. The cursor should become an arrow, and a button will appear under it; clicking that button will select the row.
Deleting a Row
Technically, you cannot delete a row from a table, but you can merge two rows into one bigger row.
- Select the row you want to delete as described above.
- While holding Shift pressed, select the row that you want to merge it with.
- Right click anywhere on these two rows.
- Select Merge from the menu that pops up.
Adding a row
Much like the previous section, you can't actually add a row and instead have to split an existing row into two smaller rows.
- Select the row you want to split as described above.
- Right click anywhere on the row.
- Select Split from the menu that pops up.
- You can now resize the new smaller rows as described above in the "Resizing a row" section.