From 5fe712cb6c605e597f65f6b4cd0afa3213234639 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 7 Nov 2017 20:59:30 +0000 Subject: Rename CXFA_Para to CXFA_ParaData This CL renames CXFA_Para to CXFA_ParaData to show it is part of the data hierarchy. Change-Id: I71f58c87416b17d1e59252ca374aad13935fc430 Reviewed-on: https://pdfium-review.googlesource.com/17989 Commit-Queue: dsinclair Reviewed-by: Tom Sepez --- xfa/fxfa/parser/cxfa_paradata.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 xfa/fxfa/parser/cxfa_paradata.h (limited to 'xfa/fxfa/parser/cxfa_paradata.h') diff --git a/xfa/fxfa/parser/cxfa_paradata.h b/xfa/fxfa/parser/cxfa_paradata.h new file mode 100644 index 0000000000..3e0afb36e5 --- /dev/null +++ b/xfa/fxfa/parser/cxfa_paradata.h @@ -0,0 +1,29 @@ +// Copyright 2016 PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com + +#ifndef XFA_FXFA_PARSER_CXFA_PARADATA_H_ +#define XFA_FXFA_PARSER_CXFA_PARADATA_H_ + +#include "core/fxcrt/fx_system.h" +#include "xfa/fxfa/parser/cxfa_data.h" + +class CXFA_Node; + +class CXFA_ParaData : public CXFA_Data { + public: + explicit CXFA_ParaData(CXFA_Node* pNode); + + int32_t GetHorizontalAlign(); + int32_t GetVerticalAlign(); + float GetLineHeight(); + float GetMarginLeft(); + float GetMarginRight(); + float GetSpaceAbove(); + float GetSpaceBelow(); + float GetTextIndent(); +}; + +#endif // XFA_FXFA_PARSER_CXFA_PARADATA_H_ -- cgit v1.2.3