Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cxfa_readynodeiterator.cpp
Go to the documentation of this file.
1// Copyright 2017 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#include "xfa/fxfa/cxfa_readynodeiterator.h"
8
9#include "xfa/fxfa/parser/cxfa_node.h"
10
13
15
17 CXFA_Node* pItem = m_pCurNode ? m_ContentIterator.MoveToNext()
18 : m_ContentIterator.GetCurrent();
19 while (pItem) {
20 m_pCurNode = pItem->IsWidgetReady() ? pItem : nullptr;
21 if (m_pCurNode)
22 return m_pCurNode;
23 pItem = m_ContentIterator.MoveToNext();
24 }
25 return nullptr;
26}
27
29 m_ContentIterator.SkipChildrenAndMoveToNext();
30 m_pCurNode = nullptr;
31}
CXFA_ReadyNodeIterator(CXFA_Node *pTravelRoot)