Interface HTMLEditorStyle
-
- All Known Implementing Classes:
SkinHTMLEditorContentStyle
,StaticHTMLEditorContentStyle
public interface HTMLEditorStyle
This extension point allows to determine which styles does exist for html edition
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default List<ClientSideElement.ScriptFile>
getBackOfficeCSSFiles(String category, Map<String,Object> contextParameters)
Get the aggregation of all backoffice css filesSet<String>
getCategories()
Get the categories supported by this componentStyleCategory
getImage(String category, Map<String,Object> contextualParameters)
Get the list of styles for imagesdefault List<ClientSideElement.ScriptFile>
getInlineEditorCSSFiles(String category, Map<String,Object> contextParameters)
Get the aggregation of all inline editor css filesStyleCategory
getLink(String category, Map<String,Object> contextualParameters)
Get the list of styles for linkStyleCategory
getOrderedList(String category, Map<String,Object> contextualParameters)
Get the list of styles for ordered listsStyleCategory
getPara(String category, Map<String,Object> contextualParameters)
Get the list of styles for paragraphsStyleCategory
getTable(String category, Map<String,Object> contextualParameters)
Get the list of styles for tablesStyleCategory
getUnorderedList(String category, Map<String,Object> contextualParameters)
Get the list of styles for unordered lists
-
-
-
Method Detail
-
getCategories
Set<String> 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 categorycontextualParameters
- 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 categorycontextualParameters
- 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 categorycontextualParameters
- 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 categorycontextualParameters
- 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 categorycontextualParameters
- 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 categorycontextualParameters
- Contextuals parameters transmitted by the environment.- Returns:
- A category. Can be null.
-
getBackOfficeCSSFiles
default List<ClientSideElement.ScriptFile> getBackOfficeCSSFiles(String category, Map<String,Object> contextParameters)
Get the aggregation of all backoffice css files- Parameters:
category
- The richtext categorycontextParameters
- The contextual parameters- Returns:
- A non null list of ScriptFile
-
getInlineEditorCSSFiles
default List<ClientSideElement.ScriptFile> getInlineEditorCSSFiles(String category, Map<String,Object> contextParameters)
Get the aggregation of all inline editor css files- Parameters:
category
- The richtext categorycontextParameters
- The contextual parameters- Returns:
- A non null list of ScriptFile
-
-