Interface MacroBody
- All Known Implementing Classes:
PlainTextMacroBody
,RichTextMacroBody
public interface MacroBody
A type to represent macro bodies.
- Since:
- 4.0
-
Method Summary
-
Method Details
-
getBodyStream
Streamable getBodyStream()- Returns:
- the macro body as a {code Streamable}. May be transformed, if that is the required format.
- See Also:
-
getBody
String getBody()- Returns:
- the macro body as a string. May be transformed, if that is the required format.
- See Also:
-
getTransformedBodyStream
Streamable getTransformedBodyStream()- Returns:
- the macro body, transformed by the current pipeline (if transformation was enabled). Can be null.
- Since:
- 5.6
-
getStorageBodyStream
Streamable getStorageBodyStream()- Returns:
- the storage format of the macro body, without any transforms applied.
- Since:
- 5.6
-