接口参考

document.h · C++ API · 3/3

按同一接口文件归组浏览,展开条目查看声明、使用说明和版本边界。

阅读相关开发指南 →

这里保留接口声明及来源。逐项运行验证范围以条目记录为准;源文件中的内部实现候选不代表免费 SDK 的交付承诺。

include/kui/dom/document.h
Document::setBudgetExceeded
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void setBudgetExceeded(bool exceeded)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:410

反馈此接口问题 →
Document::setCompatMode
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void setCompatMode(CompatMode m)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:97

反馈此接口问题 →
Document::setDevToolsHighlight
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void setDevToolsHighlight(Element* el)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:810

反馈此接口问题 →
Document::setDoctype
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void setDoctype(const String& name)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:96

反馈此接口问题 →
Document::setFocusedElement
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void setFocusedElement(Element* elem);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:526

反馈此接口问题 →
Document::setHotScrollbar
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void setHotScrollbar(Element* el, bool vertical, bool active);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:445

反馈此接口问题 →
Document::setHoveredElement
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void setHoveredElement(Element* elem);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:530

反馈此接口问题 →
Document::setLayoutViewportOverride
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void setLayoutViewportOverride(f32 width, f32 height);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:174

反馈此接口问题 →
Document::setPerformanceSession
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void setPerformanceSession(PerformanceSession* session) noexcept;

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:231

反馈此接口问题 →
Document::setRenderer
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void setRenderer(Renderer* r);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:211

反馈此接口问题 →
Document::setScriptEngine
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void setScriptEngine(ScriptEngine* se)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:568

反馈此接口问题 →
Document::setScrollBlitOverrideForTest
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
static void setScrollBlitOverrideForTest(int v);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:383

反馈此接口问题 →
Document::setSelectionRange
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void setSelectionRange(Node* anchor, u32 anchorOff, Node* focus, u32 focusOff);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:848

反馈此接口问题 →
Document::setStyleProfile
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void setStyleProfile(StyleProfile profile);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:110

反馈此接口问题 →
Document::setTargetElementId
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void setTargetElementId(const String& id)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:752

反馈此接口问题 →
Document::setTitle
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void setTitle(const String& title);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:747

反馈此接口问题 →
Document::setWindow
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void setWindow(Window* w)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:561

反馈此接口问题 →
Document::smallChangePaintRects
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
bool smallChangePaintRects(std::vector<Rect>& out);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:374

反馈此接口问题 →
Document::startAnimationTimer
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void startAnimationTimer();

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:405

反馈此接口问题 →
Document::stopAnimationTimer
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void stopAnimationTimer();

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:407

反馈此接口问题 →
Document::styleProfile
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
StyleProfile styleProfile() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:109

反馈此接口问题 →
Document::styleResolver
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
StyleResolver* styleResolver() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:161

反馈此接口问题 →
Document::stylesheets
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
const std::vector<RefPtr<Stylesheet>>& stylesheets() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:143

反馈此接口问题 →
Document::syncStyleElement
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void syncStyleElement(Element* styleEl);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:146

反馈此接口问题 →
Document::syncWindowAttributesFromRoot
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void syncWindowAttributesFromRoot();

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:102

反馈此接口问题 →
Document::targetElementId
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
const String& targetElementId() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:749

反馈此接口问题 →
Document::TextHitResult::valid
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
bool valid() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:865

反馈此接口问题 →
Document::TextSelection::clear
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void clear()

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:844

反馈此接口问题 →
Document::TextSelection::collapse
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void collapse()

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:843

反馈此接口问题 →
Document::TextSelection::isCollapsed
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
bool isCollapsed() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:842

反馈此接口问题 →
Document::title
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
String title() const;

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:745

反馈此接口问题 →
Document::toastManager
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
const ToastManager& toastManager() const;

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:783

反馈此接口问题 →
Document::toastManager
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
ToastManager& toastManager();

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:774

反馈此接口问题 →
Document::topLayerElements
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
const std::vector<RefPtr<Element>>& topLayerElements() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:552

反馈此接口问题 →
Document::topmostOpenDialog
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
Element* topmostOpenDialog() const;

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:546

反馈此接口问题 →
Document::topmostTopLayerElement
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
Element* topmostTopLayerElement() const;

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:551

反馈此接口问题 →
Document::topologyChangedParents
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
const std::vector<RefPtr<Node>>& topologyChangedParents() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:672

反馈此接口问题 →
Document::topologyChangeUnlocalizable
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
bool topologyChangeUnlocalizable() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:675

反馈此接口问题 →
Document::topologyVersion
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
u64 topologyVersion() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:574

反馈此接口问题 →
Document::transitionManager
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
TransitionManager* transitionManager()

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:799

反馈此接口问题 →
Document::unregisterActive3DView
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void unregisterActive3DView(Element* el);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:427

反馈此接口问题 →
Document::unregisterActiveExtElement
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void unregisterActiveExtElement(Element* el);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:433

反馈此接口问题 →
Document::unregisterActiveLottie
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void unregisterActiveLottie(Element* el);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:420

反馈此接口问题 →
Document::unregisterActiveMedia
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void unregisterActiveMedia(Element* el);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:439

反馈此接口问题 →
Document::unregisterActiveScrollAnim
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void unregisterActiveScrollAnim(Element* el);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:443

反馈此接口问题 →
Document::unregisterElementId
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void unregisterElementId(const String& id, Element* el);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:1026

反馈此接口问题 →
Document::unregisterOpenDialog
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void unregisterOpenDialog(Element* dialog);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:542

反馈此接口问题 →
Document::unregisterPendingImage
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void unregisterPendingImage(const String& path, HTMLImageElement* el);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:482

反馈此接口问题 →
Document::updateIfNeeded
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
bool updateIfNeeded();

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:484

反馈此接口问题 →
Document::updateLayoutOnly
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
void updateLayoutOnly();

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:489

反馈此接口问题 →
Document::validateTree
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
bool validateTree() const;

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:515

反馈此接口问题 →
Document::version
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
u64 version() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:570

反馈此接口问题 →
Document::videoAdapter
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
const VideoAdapter& videoAdapter() const;

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:470

反馈此接口问题 →
Document::videoAdapter
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
VideoAdapter& videoAdapter();

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:469

反馈此接口问题 →
Document::visualOverflowChangedNodes
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
const std::vector<RefPtr<Node>>& visualOverflowChangedNodes() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:639

反馈此接口问题 →
Document::window
待核对3.61.7C++

dom 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

document.h
Window* window() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/dom/document.h:559

反馈此接口问题 →
浏览同类接口 →