#include "xfa/fxfa/parser/cxfa_margin.h"
#include "fxjs/xfa/cjx_node.h"
#include "xfa/fxfa/parser/cxfa_document.h"
namespace {
const CXFA_Node::PropertyData kMarginPropertyData[] = …;
const CXFA_Node::AttributeData kMarginAttributeData[] = …;
}
CXFA_Margin::CXFA_Margin(CXFA_Document* doc, XFA_PacketType packet)
: … { … }
CXFA_Margin::~CXFA_Margin() = default;
float CXFA_Margin::GetLeftInset() const { … }
float CXFA_Margin::GetTopInset() const { … }
float CXFA_Margin::GetRightInset() const { … }
float CXFA_Margin::GetBottomInset() const { … }
std::optional<float> CXFA_Margin::TryLeftInset() const { … }
std::optional<float> CXFA_Margin::TryTopInset() const { … }
std::optional<float> CXFA_Margin::TryRightInset() const { … }
std::optional<float> CXFA_Margin::TryBottomInset() const { … }