Tuesday, June 29, 2010

Using Conditional Paragraphs

The conditional Paragraphs works in the same manner as a piece of code with some condition works in C++.
Here also in Open Office we need to specify some sort of condition So, that a paragraph is hide and if condition goes wrong other paragraph will be hide.
BUT We want to have whole text in report and some of the text need not to be there in my presentation.
So, for that Go to OOwriter and after that
Select the paragraph which you want to hide. Then,
Go to
1)Insert->Section
You will see a screen as follow:

2)Make a section
3)Insert some condition that hides your paragraph
i.e. here insert condition Doc!=Report
4)Then click on Insert.
Making The Condition True / False
For making condition True / False so as to hide or unhide the paragraph You need to :
1) Go to Insert->Fields->Other
You will be prompted to following window:

2) Click on Variable tab after that allot name to your variable . Here we need variable Doc.
3) After that select format which is to be text.
4)Next enter value for variable which is Report if you want report and presentation if you want presentation. Check Invisible Box otherwise it will insert variable too.
After that you need to change just this value for report / presentation.

No comments:

Post a Comment