#pragma once #include #include class LayoutDocument final : public LayoutNode { public: explicit LayoutDocument(const Document&); virtual ~LayoutDocument() override; const Document& node() const { return static_cast(*LayoutNode::node()); } virtual const char* class_name() const override { return "LayoutDocument"; } virtual void layout() override; private: };