1 // Copyright 2016 PDFium Authors. All rights reserved. 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_CAPTION_H_ 8 #define XFA_FXFA_PARSER_CXFA_CAPTION_H_ 9 10 #include "xfa/fxfa/parser/cxfa_data.h" 11 #include "xfa/fxfa/parser/cxfa_font.h" 12 #include "xfa/fxfa/parser/cxfa_margin.h" 13 #include "xfa/fxfa/parser/cxfa_value.h" 14 15 class CXFA_Node; 16 17 class CXFA_Caption : public CXFA_Data { 18 public: 19 explicit CXFA_Caption(CXFA_Node* pNode); 20 21 int32_t GetPresence(); 22 int32_t GetPlacementType(); 23 FX_FLOAT GetReserve(); 24 CXFA_Margin GetMargin(); 25 CXFA_Font GetFont(); 26 CXFA_Value GetValue(); 27 }; 28 29 #endif // XFA_FXFA_PARSER_CXFA_CAPTION_H_ 30