struct CCL::IBlockContentRoot

Overview

Interface for root node in block-based structured content (text, images, lists, etc.). More…

#include <iblockcontent.h>

struct IBlockContentRoot: public CCL::IBlockContentNode
{
    // methods

    virtual IBlockContentBuilder*CCL_API createBuilder () = 0;
    virtual void CCL_API makeNodeVisible (IBlockContentNode* node) = 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;
    virtual IBlockContentChildren&CCL_API getChildren () = 0;
    virtual IBlockContentNode*CCL_API getParentNode () = 0;
    virtual void CCL_API setCustomStyleID (StringID id) = 0;
    virtual StringID CCL_API getCustomStyleID () const = 0;

Detailed Documentation

Interface for root node in block-based structured content (text, images, lists, etc.).

Methods

virtual IBlockContentBuilder*CCL_API createBuilder () = 0

Create new builder instance to load content.

Builder can be short-lived or kept for longer.

virtual void CCL_API makeNodeVisible (IBlockContentNode* node) = 0

Scroll to make given node visible in a BlockView.