Using conditional formatting in OO writer
-
- Posts: 3
- Joined: Sat Nov 21, 2015 12:08 pm
Using conditional formatting in OO writer
I am trying to create a Health and safety risk assessment document where I can show the severity of risk in different colors ( green, red...) in a table cell . I know this is possible in OO Calc but I am looking to use the Writer.
How is it possible to get this function working in Open office Writer?
Thank you
How is it possible to get this function working in Open office Writer?
Thank you
Open Office 4.1.1 win7
Re: Using conditional formatting in OO writer
Welcome to the forum.
If you search Help with conditional you will see what can be done with conditional formatting. For example, Defining Conditions says:
Also see Developing conditional content on pp 397 of the Writer Manual
If this solves the problem, please click the Edit button on your original post and edit the Title to [Solved].
If you search Help with conditional you will see what can be done with conditional formatting. For example, Defining Conditions says:
One way might be to have three fields, one red, one orange, one green. Now hide the two not needed, and show the third according to the condition.Conditions are logical expressions that you can use to control the display of fields and sections in your document. Although the following examples apply to fields, they also apply to sections.
You can define conditions for the following field types:
1. Conditional text: displays text A if the condition is true, or text B if the condition is false.
2. Hidden text: hides the content of the field if the condition is true.
3. Hidden paragraph: hides the paragraph if the condition is true.
4. Any record and next record: controls the access to database records.
...
Also see Developing conditional content on pp 397 of the Writer Manual
If this solves the problem, please click the Edit button on your original post and edit the Title to [Solved].
Last edited by John_Ha on Sat Nov 21, 2015 12:51 pm, edited 2 times in total.
LO 6.4.4.2, Windows 10 Home 64 bit
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
Re: Using conditional formatting in OO writer
There are some suggestions on the use of conditional formatting in Writer on this (and subsequent) page
http://www.linuxtopia.org/online_books/ ... tyles.html
http://www.linuxtopia.org/online_books/ ... tyles.html
Apache OpenOffice 4.1.15 on Xubuntu 22.04.5 LTS
Re: Using conditional formatting in OO writer
For a health and safety document don't forget to allow for colour blindness. http://designshack.net/articles/accessi ... ind-users/
LibreOffice 7.3.7. 2; Ubuntu 22.04
Re: Using conditional formatting in OO writer
There is further information on Conditional styles in Writer at
https://www.linux.com/learn/tutorials/3 ... ice-writer
I admit that this is new to me. I must brood on what use I can make of it.
https://www.linux.com/learn/tutorials/3 ... ice-writer
I admit that this is new to me. I must brood on what use I can make of it.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.5 LTS
Re: Using conditional formatting in OO writer
I don't think this is possible in Writer. I don't know of any way to connect a formula to text formatting or a table property.
Conditional styles allow a style to be associated with certain situations in the document: if this paragraph appears in a list, apply style LIST. No user-specified conditions are allowed.
Conditional text is text only; no formatting.
Conditional styles allow a style to be associated with certain situations in the document: if this paragraph appears in a list, apply style LIST. No user-specified conditions are allowed.
Conditional text is text only; no formatting.
AOO4/LO5 • Linux • Fedora 23
Re: Using conditional formatting in OO writer
There is a little possibility, if you want to format numbers.
You can have three colors depending on the value, using Number Format... (rightclick in the cell)
E.g. thisgives this result:
See example attached
R
You can have three colors depending on the value, using Number Format... (rightclick in the cell)
E.g. this
Code: Select all
[<3][GREEN]0;[<6][YELLOW]0;[RED]0
R
- Attachments
-
- CF.odt
- (15.63 KiB) Downloaded 216 times
- MMove 1.0.6
- Extension for easy, exact positioning of shapes, pictures, controls, frames ...
- my current system
- Windows 11 AOO, LO | Linux Mint AOO, LO
-
- Posts: 3
- Joined: Sat Nov 21, 2015 12:08 pm
Re: Using conditional formatting in OO writer
Thank you so much for your effort
F3K Total, number formatting is simple and genuis - that's all what I need
I played with conditional paragraph styling but couldn't get nowhere
Thanks
F3K Total, number formatting is simple and genuis - that's all what I need
I played with conditional paragraph styling but couldn't get nowhere
Thanks
Open Office 4.1.1 win7
Re: Using conditional formatting in OO writer
Good suggestion!F3K Total wrote:There is a little possibility, if you want to format numbers. ...
The other workaround would be to use an embedded spreadsheet object in place of the Writer table.
AOO4/LO5 • Linux • Fedora 23
-
- Posts: 3
- Joined: Sat Nov 21, 2015 12:08 pm
Re: Using conditional formatting in OO writer
You're right, acknak. Number formatting is very limited in options and colors; embedding a spreadsheet is the ideal solution.acknak wrote:Good suggestion!F3K Total wrote:There is a little possibility, if you want to format numbers. ...
The other workaround would be to use an embedded spreadsheet object in place of the Writer table.
Thanks
Open Office 4.1.1 win7