@API(type=EXTENDABLE,
src=PUBLIC)
public abstract class AuthorCSSAlternativesCustomizer
extends java.lang.Object
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
Constructor and Description |
---|
AuthorCSSAlternativesCustomizer() |
Modifier and Type | Method and Description |
---|---|
void |
cssGroupsAboutToBeChanged(WSAuthorEditorPage authorPage,
java.util.List<CSSGroup> proposedCSSGroupsToApply,
java.util.List<CSSGroup> allAvailableCSSGroups)
Callback when the styles are changed by the user using the GUI in the CSS-driven visual editing mode.
|
void |
customizeAvailableCSSGroups(WSAuthorEditorPage authorPage,
java.util.List<CSSGroup> availableCSSGroups)
Get the list of CSS groups from which the user can choose when editing an XML document.
|
void |
customizeCSSGroupsToApply(WSAuthorEditorPage authorPage,
java.util.List<CSSGroup> proposedCSSGroupsToApply,
java.util.List<CSSGroup> allAvailableCSSGroups)
Get the list of CSS Groups to apply when the document is opened in order to render the XML in the CSS-driven visual editing mode.
|
public void customizeAvailableCSSGroups(WSAuthorEditorPage authorPage, java.util.List<CSSGroup> availableCSSGroups)
authorPage
- The page for which we request the CSS groups. This can be null
if the method is called outside an Editor context.
(case: transforming to PDF (with Price CSS) of a topic or map directly from the project, without opening it.)availableCSSGroups
- The groups which would be presented by the application in the Styles drop-down chooser
if not changed by this customizer. Each group is presented as a separate entry.public void customizeCSSGroupsToApply(WSAuthorEditorPage authorPage, java.util.List<CSSGroup> proposedCSSGroupsToApply, java.util.List<CSSGroup> allAvailableCSSGroups)
authorPage
- The page for which we request the CSS groups.proposedCSSGroupsToApply
- The CSS groups which will be applied on the loaded XML by the application if the customizer does not perform modifications.allAvailableCSSGroups
- The list of all available CSS groups (the groups also available in the Styles drop-down).public void cssGroupsAboutToBeChanged(WSAuthorEditorPage authorPage, java.util.List<CSSGroup> proposedCSSGroupsToApply, java.util.List<CSSGroup> allAvailableCSSGroups)
authorPage
- The page for which we request the CSS groups.proposedCSSGroupsToApply
- The CSS groups which will be applied on the XML by the application if the customizer does not perform modifications.allAvailableCSSGroups
- The list of all available CSS groups (the groups also available in the Styles drop-down).© Copyright SyncRO Soft SRL 2002 - 2015. All rights reserved.