Reputation: 940
I need to evaluate a cell on a table on a odt, file, and apply conditional format if value is > 0. Not in speedsheet, is for writer
Upvotes: 0
Views: 499
Reputation: 13618
Tested with LO 5.4 and 6.0.4 on Win 10:
IMHO, the best solution is to insert a LO Calc spreadsheet as "OLE Object" into the odt file. This gives you the complete Calc funtionality inside Writer.
To do so, put the cursor to where the table should appear. Select Menu "Insert" -> "Object" -> "OLE Object". In the following window, select "New" and "LibreOffice 6.0 Spreadsheet". Alternatively, you may insert an already-existing Calc table.
After clicking OK, the object will appear, and it's already activated (you can determine if it's active by the thick gray border and the row/column heads - you can "deactivate" it by clicking outside, anywhere in the Writer document; you can re-activate the Calc object by double-clicking inside its borders).
Now, you can edit the Calc table as usual. Notice that the Menus will adapt to the Calc features if the Calc OLE object is active. So, e.g. the "Format" Menu will only contain a "Conditional formatting" entry if the Calc OLE object is active.
Here are some screenshots:
Upvotes: 1