24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Author</strong> Developer Guide | 243would make a text bold if the document was opened in a web browser that does not recognize @media oxygen andbold and underlined in <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> <strong>Author</strong>.You can use this media type to group specific <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> CSS features and also to hide them whenopening the documents with other viewers.Folding Elements: -oxy-foldable, -oxy-not-foldable-child and -oxy-folded properties<strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> allows you to declare some elements to be foldable (collapsible). This is especially useful whenworking with large documents organized in logical blocks, editing a large DocBook article or book for instance. <strong>Oxygen</strong><strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> marks the foldable content with a small blue triangle. When you hover with your mouse pointerover this marker, a dotted line borders the collapsible content. The following contextual actions are available:•(Ctrl+NumPad+/) > Document > Folding > Close Other Folds (Ctrl+NumPad+/) - Folds all the elementsexcept the current element.•Document > Folding > Collapse Child Folds (Ctrl+Decimal) (Ctrl+NumPad+-) ( (Cmd+NumPad+- onMac OS)) - Folds the elements indented with one level inside the current element.•Document > Folding > Expand Child Folds (Ctrl+NumPad++) ( (Cmd+NumPad++)) - Unfolds all childelements of the currently selected element.• Document > Folding > Expand All (Ctrl+NumPad+*) ( (Cmd+NumPad+* on Mac OS)) - Unfolds allelements in the current document.•Document > Folding > Toggle Fold (Alt+Shift+Y) ( (Cmd+Alt+Y on Mac OS)) - Toggles the state of thecurrent fold.To define the element whose content can be folded by the user, you must use the property: -oxy-foldable:true;.To define the elements that are folded by default, use the -oxy-folded:true property.Note: The -oxy-folded property works in conjunction with the -oxy-foldable property. Thus, thefolded property is ignored if the -oxy-foldable property is not set on the same element.When collapsing an element, it is useful to keep some of its content visible, like a short description of the collapsedregion. The property -oxy-not-foldable-child is used to identify the child elements that are kept visible. Itaccepts as value an element name or a list of comma separated element names. If the element is marked as foldable(-oxy-foldable:true;) but it doesn't have the property -oxy-not-foldable-child or none of the specifiednon-foldable children exists, then the element is still foldable. In this case the element kept visible when folded will bethe before pseudo-element.Note: Deprecated properties foldable, not-foldable-child, and folded are also supported.Folding DocBook ElementsAll the elements below can have a title child element and are considered to be logical sections.You mark them as being foldable leaving the title element visible.set,book,part,reference,chapter,preface,article,sect1,sect2,sect3,sect4,section,appendix,figure,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!