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 | 244example,table {foldable:true;not-foldable-child: title;}Placeholders for empty elements: -oxy-show-placeholder and -oxy-placeholder-contentproperties<strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> displays the element name as pseudo-content for empty elements, if the Show placeholders forempty elements option is enabled and there is no before or after content set is CSS for this type of element.To control the displayed pseudo-content for empty elements, you can use the -oxy-placeholder-content CSSproperty.The -oxy-show-placeholder property allows you to decide whether the placeholder must be shown. The possiblevalues are:• always - Always display placeholders.• default - Always display placeholders if before or after content are not set is CSS.• inherit - The placeholders are displayed according to Show placeholders for empty elements option (if beforeand after content is not declared).Note: Deprecated properties show-placeholder and placeholder-content are also supported.Read-only elements: -oxy-editable propertyIf you want to inhibit editing a certain element content, you can set the -oxy-editable (deprecated propertyeditable is also supported) CSS property to false.Display Elements: -oxy-morph value<strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> allows you to specify that an element has a -oxy-morph display type (deprecated morphproperty is also supported), meaning that the element is inline if all its children are inline.whitespace property: -oxy-trim-when-ws-only value<strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> allows you to set the whitespace property to -oxy-trim-when-ws-only, meaning thatthe leading and trailing whitespaces are removed.Link Elements<strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> allows you to declare some elements to be links. This is especially useful when working withmany documents which refer each other. The links allow for an easy way to get from one document to another. Clickingon the link marker will open the referred resource in an editor.To define the element which should be considered a link, you must use the property link on the before or after pseudoelement. The value of the property indicates the location of the linked resource. Since links are usually indicated by thevalue of an attribute in most cases it will have a value similar to attr(href)Docbook Link ElementsAll the elements below are defined to be links on the before pseudo element and their value is definedby the value of an attribute.*[href]:before{link:attr(href);content: "Click " attr(href) " for opening" ;}

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

Saved successfully!

Ooh no, something went wrong!