Interface HTMLEditorStyle

All Known Implementing Classes:
SkinHTMLEditorContentStyle, StaticHTMLEditorContentStyle

public interface HTMLEditorStyle
This extension point allows to determine which styles does exist for html edition
  • Field Details

    • ROLE

      static final String ROLE
      Avalon role name
  • Method Details

    • getCategories

      Get the categories supported by this component
      Returns:
      The categories supported. Cannot be null, but may be empty and of course contains the "" key for the default category.
    • getPara

      StyleCategory getPara(String category, Map<String,Object> contextualParameters)
      Get the list of styles for paragraphs
      Parameters:
      category - The richtext category
      contextualParameters - Contextuals parameters transmitted by the environment.
      Returns:
      A category. Can be null.
    • getTable

      StyleCategory getTable(String category, Map<String,Object> contextualParameters)
      Get the list of styles for tables
      Parameters:
      category - The richtext category
      contextualParameters - Contextuals parameters transmitted by the environment.
      Returns:
      A category. Can be null.
    • getLink

      StyleCategory getLink(String category, Map<String,Object> contextualParameters)
      Get the list of styles for link
      Parameters:
      category - The richtext category
      contextualParameters - Contextuals parameters transmitted by the environment.
      Returns:
      A category. Can be null.
    • getImage

      StyleCategory getImage(String category, Map<String,Object> contextualParameters)
      Get the list of styles for images
      Parameters:
      category - The richtext category
      contextualParameters - Contextuals parameters transmitted by the environment.
      Returns:
      A category. Can be null.
    • getUnorderedList

      StyleCategory getUnorderedList(String category, Map<String,Object> contextualParameters)
      Get the list of styles for unordered lists
      Parameters:
      category - The richtext category
      contextualParameters - Contextuals parameters transmitted by the environment.
      Returns:
      A category. Can be null.
    • getOrderedList

      StyleCategory getOrderedList(String category, Map<String,Object> contextualParameters)
      Get the list of styles for ordered lists
      Parameters:
      category - The richtext category
      contextualParameters - Contextuals parameters transmitted by the environment.
      Returns:
      A category. Can be null.
    • getBackOfficeCSSFiles

      Get the aggregation of all backoffice css files
      Parameters:
      category - The richtext category
      contextParameters - The contextual parameters
      Returns:
      A non null list of ScriptFile
    • getInlineEditorCSSFiles

      Get the aggregation of all inline editor css files
      Parameters:
      category - The richtext category
      contextParameters - The contextual parameters
      Returns:
      A non null list of ScriptFile