summaryrefslogtreecommitdiff
path: root/xfa/src/fxfa/src/app/xfa_ffConfigAcc.h
blob: c26876a4e315162a82666f655ba57254bce9c71c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2014 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_SRC_FXFA_SRC_APP_XFA_FFCONFIGACC_H_
#define XFA_SRC_FXFA_SRC_APP_XFA_FFCONFIGACC_H_

class CXFA_FFConfigAcc {
 public:
  CXFA_FFConfigAcc(CXFA_Node* pNode);
  ~CXFA_FFConfigAcc();
  int32_t CountChildren();
  FX_BOOL GetFontInfo(int32_t index,
                      CFX_WideString& wsFontFamily,
                      CFX_WideString& wsPsName,
                      FX_BOOL bBold,
                      FX_BOOL bItalic);

 private:
  void GetPsMapNode();
  CXFA_Node* m_pNode;
  CXFA_Node* m_pPsMapNode;
};

#endif  // XFA_SRC_FXFA_SRC_APP_XFA_FFCONFIGACC_H_