John P. Fisher wrote:
Naomi I'd like to piggyback on your question, because I am guessing my problem is related... I cannot get variables to work with conditional text at all. Your method might also work for me? I am curious what you CAN get to work?
Here's what I HAVE been doing successfully:

Set a number of variables at the start of a master document (eg. PackageFullName, MainComponent) by pressing Ctrl-F2, clicking on Variables tab, selecting Set variable from Type list, typing the name of the variable in the Name field, typing in a value for the variable, selecting Text from the Format list (that last step is occasionally important).

Refer to those variables instead of typing package name, name of main component, etc. I find the easiest way to do this is to have a 'set variable' list and a 'show variable' list at the start of a master document, and cut&paste the relevant 'show variable' entry into the child document. (Pays to have View -> Field Names enabled)

Set a user field at the start of a master document which distinguishes the package for which the doco will be used. Same as setting a variable, except select User Field from the Type list. Note: you can't use User Fields to display changeable information like you can with variables.

When I have a paragraph of text which applies to one package but not another, I put the cursor at the start of the paragraph (not sure if that step's necessary any more), press Ctrl-F2, click on the Functions tab, click on Hidden Paragraph, and type into the Condition field either <User Field Name>=="<User Field value>" (note the two = signs) or <User Field Name>!="<User Field value>". Hidden text works similarly, except I select the entirety of text to be hidden to start off with.


My problem:
combine multiple manuals into one master-child doc
trying to use conditional text  (paragraph of text)
I really don't know much about conditional text. I tried to use it back when OOo 2 was in beta, failed, and realised that hidden text and hidden paragraphs were probably better suited to what I needed to do anyway.

You might find that it's a similar issue to the one I discovered - that variables and master documents are buggy in this area, and that you need to use User Fields instead.

Does that help at all?

- Naomi

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to