struct CCL::IBlockContentBuilder
Overview
#include <iblockcontent.h> struct IBlockContentBuilder: public CCL::IUnknown { // methods virtual tresult CCL_API loadContent ( IBlockContentNode*& newNode, VariantRef data, StringID contentType ) = 0; };
Inherited Members
public: // methods virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0; virtual unsigned int CCL_API retain () = 0; virtual unsigned int CCL_API release () = 0;
Detailed Documentation
Methods
virtual tresult CCL_API loadContent ( IBlockContentNode*& newNode, VariantRef data, StringID contentType ) = 0
Load content from string, data stream (IStream), or local file (IUrl).
Supported formats include plain text, CCL Markup, Markdown, and images (PNG, SVG, etc.). Images are also supported directly by passing IImage. Newly created node is owned by caller and not inserted automatically.