diff options
Diffstat (limited to 'xfa/fxfa/parser/cxfa_margin.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_margin.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_margin.h b/xfa/fxfa/parser/cxfa_margin.h index 3ac7657d17..621704ab7a 100644 --- a/xfa/fxfa/parser/cxfa_margin.h +++ b/xfa/fxfa/parser/cxfa_margin.h @@ -13,6 +13,16 @@ class CXFA_Margin : public CXFA_Node { public: CXFA_Margin(CXFA_Document* doc, XFA_PacketType packet); ~CXFA_Margin() override; + + float GetLeftInset() const; + float GetTopInset() const; + float GetRightInset() const; + float GetBottomInset() const; + + pdfium::Optional<float> TryLeftInset() const; + pdfium::Optional<float> TryTopInset() const; + pdfium::Optional<float> TryRightInset() const; + pdfium::Optional<float> TryBottomInset() const; }; #endif // XFA_FXFA_PARSER_CXFA_MARGIN_H_ |