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_contentarea.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_CONTENTAREA_H_
8#define XFA_FXFA_PARSER_CXFA_CONTENTAREA_H_
9
10#include "xfa/fxfa/parser/cxfa_node.h"
11
12class CXFA_ContentArea final : public CXFA_Node {
13 public:
15 ~CXFA_ContentArea() override;
16
17 private:
18 CXFA_ContentArea(CXFA_Document* doc, XFA_PacketType packet);
19};
20
21#endif // XFA_FXFA_PARSER_CXFA_CONTENTAREA_H_
~CXFA_ContentArea() override
CXFA_Node * GetNodeByID(CXFA_Node *pRoot, WideStringView wsID) const
CXFA_FFNotify * GetNotify() const
CXFA_Node * DataMerge_CopyContainer(CXFA_Node *pTemplateNode, CXFA_Node *pFormNode, CXFA_Node *pDataScope, bool bOneInstance, bool bDataMerge, bool bUpLevel)
void AppendPendingNode(CXFA_Node *node)
void DataMerge_UpdateBindingRelations(CXFA_Node *pFormUpdateRoot)
CXFA_Node * CreateNode(XFA_PacketType packet, XFA_Element eElement)
CXFA_Object * GetXFAObject(XFA_HashCode wsNodeNameHash)
void SetPendingNodesUnusedAndUnbound()
void OnLayoutItemAdded(CXFA_LayoutProcessor *pLayout, CXFA_LayoutItem *pSender, int32_t iPageIdx, Mask< XFA_WidgetStatus > dwStatus)
void OnPageViewEvent(CXFA_ViewLayoutItem *pSender, CXFA_FFDoc::PageViewEvent eEvent)
void OnLayoutItemRemoving(CXFA_LayoutProcessor *pLayout, CXFA_LayoutItem *pSender)
bool IsContentLayoutItem() const
CXFA_ViewLayoutItem * AsViewLayoutItem()
void SetFormNode(CXFA_Node *pNode)
CXFA_ContentLayoutItem * AsContentLayoutItem()
CXFA_Node * GetFormNode() const
const CXFA_ContentLayoutItem * AsContentLayoutItem() const
static CXFA_LayoutProcessor * FromDocument(const CXFA_Document *pXFADoc)
CXFA_Measurement(float fValue, XFA_Unit eUnit)
void RemoveChildAndNotify(CXFA_Node *pNode, bool bNotify)
CXFA_Node * GetFirstContainerChild() const
void SetNodeAndDescendantsUnused()
CXFA_Node * GetContainerParent() const
void InsertChildAndNotify(CXFA_Node *pNode, CXFA_Node *pBeforeNode)
bool IsLayoutGeneratedNode() const
Definition cxfa_node.h:166
void SetFlag(XFA_NodeFlag dwFlag)
void ClearFlag(XFA_NodeFlag dwFlag)
CXFA_Node * GetTemplateNodeIfExists() const
bool IsUnusedNode() const
Definition cxfa_node.h:165
XFA_PacketType GetPacketType() const
Definition cxfa_node.h:146
bool PresenceRequiresSpace() const
void SetInitializedFlagAndNotify()
bool HasRemovedChildren() const
Definition cxfa_node.h:174
XFA_Element GetElementType() const
Definition cxfa_object.h:91
CXFA_Document * GetDocument() const
Definition cxfa_object.h:48
bool IsContainerNode() const
Definition cxfa_object.h:69
void SetOldSubform(CXFA_Node *pSubform)
CXFA_Node * GetOldSubform() const
int32_t GetPageIndex(const CXFA_ViewLayoutItem *pPage) const
CXFA_ViewLayoutItem * GetPage(int32_t index) const
CXFA_Node * QueryOverflow(CXFA_Node *pFormNode)
absl::optional< BreakData > ProcessBreakAfter(const CXFA_Node *pBreakNode)
absl::optional< OverflowData > ProcessOverflow(CXFA_Node *pFormNode, bool bCreatePage)
bool PrepareFirstPage(CXFA_Node *pRootSubform)
bool InitLayoutPage(CXFA_Node *pFormNode)
CXFA_Node * ProcessBookendTrailer(const CXFA_Node *pBookendNode)
CXFA_ViewLayoutItem * GetRootLayoutItem() const
CXFA_Node * ProcessBookendLeader(const CXFA_Node *pBookendNode)
absl::optional< BreakData > ProcessBreakBefore(const CXFA_Node *pBreakNode)
void SubmitContentItem(CXFA_ContentLayoutItem *pContentLayoutItem, CXFA_ContentLayoutProcessor::Result eStatus)
bool GetNextAvailContentHeight(float fChildHeight)
CharType operator[](const size_t index) const
Definition widestring.h:146
bool IsEmpty() const
Definition widestring.h:118
WideString & operator=(const WideString &that)
CharType Back() const
Definition widestring.h:152
bool EqualsASCII(ByteStringView that) const
Definition widestring.h:216
constexpr float kXFALayoutPrecision
void XFA_ReleaseLayoutItem(CXFA_LayoutItem *pLayoutItem)
XFA_NodeFlag
Definition cxfa_node.h:77
CXFA_Node * ToNode(CXFA_Object *pObj)
XFA_WidgetStatus
Definition fxfa.h:61
XFA_Unit
Definition fxfa_basic.h:91
XFA_Attribute
Definition fxfa_basic.h:67
@ XFA_HASHCODE_Template
Definition fxfa_basic.h:35
@ XFA_HASHCODE_Form
Definition fxfa_basic.h:22
@ XFA_HASHCODE_Record
Definition fxfa_basic.h:31
XFA_Element
Definition fxfa_basic.h:75
XFA_AttributeValue
Definition fxfa_basic.h:60
XFA_PacketType
Definition fxfa_basic.h:44
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Definition heap.h:32
Definition heap.h:12
UNOWNED_PTR_EXCLUSION CXFA_Node * pTrailer
UNOWNED_PTR_EXCLUSION CXFA_Node * pLeader
UNOWNED_PTR_EXCLUSION CXFA_Node * pTrailer
UNOWNED_PTR_EXCLUSION CXFA_Node * pLeader
CXFA_Node * XFA_DataMerge_FindDataScope(CXFA_Node *pParentFormNode)