Quote:
why are they not in the drop down separate list.
|
The style pane (which is what you get when you click the little arrow on the style tab) has a preview box 'Show Preview'. If this box is ticked then your styles will be shown using the appearance you have defined for your style; If this check box is ticked then you may well be looking at white text on a white background in the style pane.
Like yourself I have a set of styles that I use and I want to see these in the style pane and no others. You do this by including and excluding styles from the 'Recommended' set of styles. They will then appear in the style pane irrespective of their being applied to any text in the document
If you approach this problem programmatically then there is a GOTCHA as the visible property of a style refers to whether or not a style is hidden or not hidden in the style pane. Thus visible = true actually HIDES the style because it really means Hidden = true.
Even when you restrict the Styles visible in the style pane you may see styles that are similar to yours but which you did not define. This means that you have used a style but in applying it have made a slight change somewhere in the paragraph. You can't delete these styles without losing the effect in the paragraph but you can hide them from being seen in the style pane by switching off the check boxes Paragraph, font and/or bullet and numbering in the Style Pane options checkbox.
The visibility property of a style has no bearing on whether text with the style applied is visible or not visible a document. The only way to do this is to use the font 'Hidden' property which is completely separate from the style visibility property.