Interface StyleManager
-
- All Known Implementing Classes:
GlobalStyleManager
,InlineStyleManager
public interface StyleManager
This class manages all existing styles. There are two implementations, an inline-manager and a style-sheet manager.- Author:
- Thomas Morgner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
getGlobalStyleSheet()
Deprecated.This method is slower than writing to the stream directly.org.pentaho.reporting.libraries.xmlns.common.AttributeList
updateStyle(StyleBuilder styleBuilder, org.pentaho.reporting.libraries.xmlns.common.AttributeList attributeList)
Updates the given attribute-List according to the current style rules.void
write(Writer writer)
-
-
-
Method Detail
-
updateStyle
org.pentaho.reporting.libraries.xmlns.common.AttributeList updateStyle(StyleBuilder styleBuilder, org.pentaho.reporting.libraries.xmlns.common.AttributeList attributeList)
Updates the given attribute-List according to the current style rules.- Parameters:
styleBuilder
-attributeList
-- Returns:
- the modified attribute list.
-
getGlobalStyleSheet
String getGlobalStyleSheet()
Deprecated.This method is slower than writing to the stream directly. Do not use it.Returns the global stylesheet, or null, if no global stylesheet was built.- Returns:
-
write
void write(Writer writer) throws IOException
- Throws:
IOException
-
-