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_occur.h
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#ifndef XFA_FXFA_PARSER_CXFA_OCCUR_H_
8#define XFA_FXFA_PARSER_CXFA_OCCUR_H_
9
10#include <tuple>
11
12#include "xfa/fxfa/parser/cxfa_node.h"
13
14class CXFA_Occur final : public CXFA_Node {
15 public:
16 static constexpr int32_t kDefaultMax = 1;
17 static constexpr int32_t kDefaultMin = 1;
18
20 ~CXFA_Occur() override;
21
22 int32_t GetMax();
23 void SetMax(int32_t iMax);
24
25 int32_t GetMin();
26 void SetMin(int32_t iMin);
27
28 std::tuple<int32_t, int32_t, int32_t> GetOccurInfo();
29
30 private:
31 CXFA_Occur(CXFA_Document* doc, XFA_PacketType packet);
32};
33
34#endif // XFA_FXFA_PARSER_CXFA_OCCUR_H_
XFA_ResolveFlag
friend class EventParamScope
CFXJSE_Engine::ResolveResult m_Result
bool Resolve(v8::Isolate *pIsolate, NodeData &rnd)
int32_t GetFilter(WideStringView wsExpression, int32_t nStart, NodeData &rnd)
int32_t IndexForDataBind(const WideString &wsNextCondition, int32_t iCount)
CFXJSE_ResolveProcessor(CFXJSE_Engine *pEngine, CFXJSE_NodeHelper *pHelper)
CXFA_Object * GetXFAObject(XFA_HashCode wsNodeNameHash)
CXFA_Node * GetRoot() const
bool HasProperty(XFA_Element property) const
bool IsProperty() const
CXFA_Node * GetInstanceMgrOfSubform()
CXFA_Node * GetOneChildOfClass(WideStringView wsClass)
CXFA_Node * GetOneChildNamed(WideStringView wsName)
uint32_t GetNameHash() const
Definition cxfa_node.h:190
bool IsUnnamed() const
Definition cxfa_node.h:191
bool IsTransparent() const
XFA_Element GetElementType() const
Definition cxfa_object.h:91
uint32_t GetClassHashCode() const
Definition cxfa_object.h:93
static constexpr int32_t kDefaultMax
Definition cxfa_occur.h:16
void SetMax(int32_t iMax)
std::tuple< int32_t, int32_t, int32_t > GetOccurInfo()
static constexpr int32_t kDefaultMin
Definition cxfa_occur.h:17
int32_t GetMax()
void SetMin(int32_t iMin)
int32_t GetMin()
~CXFA_Occur() override
CharType operator[](const size_t index) const
Definition widestring.h:146
bool IsEmpty() const
Definition widestring.h:118
CharType Back() const
Definition widestring.h:152
XFA_HashCode
Definition fxfa_basic.h:12
@ XFA_HASHCODE_Xfa
Definition fxfa_basic.h:39
@ XFA_HASHCODE_This
Definition fxfa_basic.h:36
@ XFA_HASHCODE_Occur
Definition fxfa_basic.h:29
XFA_Element
Definition fxfa_basic.h:75
XFA_PacketType
Definition fxfa_basic.h:44
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Definition heap.h:32