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 componentStyleCategorygetImage(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 filesStyleCategorygetLink(String category, Map<String,Object> contextualParameters)Get the list of styles for linkStyleCategorygetOrderedList(String category, Map<String,Object> contextualParameters)Get the list of styles for ordered listsStyleCategorygetPara(String category, Map<String,Object> contextualParameters)Get the list of styles for paragraphsStyleCategorygetTable(String category, Map<String,Object> contextualParameters)Get the list of styles for tablesStyleCategorygetUnorderedList(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
-
-