diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2016-03-21 09:15:45 -0400 |
---|---|---|
committer | Dan Sinclair <dsinclair@chromium.org> | 2016-03-21 09:15:45 -0400 |
commit | 584b1e679f41a580e2b38d5534f126355c78043b (patch) | |
tree | ca3f78bc30673b9c4650433168efe574920c60f1 /core/fpdfapi/fpdf_page/pageint.h | |
parent | edbb319d3143692befdbb0603089b7e265cf89aa (diff) | |
download | pdfium-584b1e679f41a580e2b38d5534f126355c78043b.tar.xz |
Move core/include/fpdfapi/fpdf_pageobj.h into core/fpdfapi.
This CL splits the file into individual classes and moves them into
core/fpdfapi/fpdf_page as needed.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1811053002 .
Diffstat (limited to 'core/fpdfapi/fpdf_page/pageint.h')
-rw-r--r-- | core/fpdfapi/fpdf_page/pageint.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/core/fpdfapi/fpdf_page/pageint.h b/core/fpdfapi/fpdf_page/pageint.h index eab3d42b2b..e6a150072e 100644 --- a/core/fpdfapi/fpdf_page/pageint.h +++ b/core/fpdfapi/fpdf_page/pageint.h @@ -12,13 +12,25 @@ #include <unordered_map> #include <vector> +#include "core/fpdfapi/fpdf_page/cpdf_contentmark.h" #include "core/fpdfapi/fpdf_page/cpdf_parseoptions.h" #include "core/fpdfapi/fpdf_page/include/cpdf_pageobjectholder.h" -#include "core/include/fpdfapi/fpdf_pageobj.h" +#include "core/include/fpdfapi/fpdf_resource.h" +#include "core/include/fxge/fx_ge.h" class CPDF_AllStates; -class CPDF_ParseOptions; +class CPDF_ColorSpace; +class CPDF_Font; +class CPDF_FontEncoding; +class CPDF_Form; class CPDF_IccProfile; +class CPDF_Image; +class CPDF_ImageObject; +class CPDF_ParseOptions; +class CPDF_Pattern; +class CPDF_StreamAcc; +class CPDF_TextObject; +class CPDF_Type3Char; #define PARSE_STEP_LIMIT 100 @@ -308,17 +320,6 @@ class CPDF_ContentParser { FX_DWORD m_CurrentOffset; std::unique_ptr<CPDF_StreamContentParser> m_pParser; }; -class CPDF_AllStates : public CPDF_GraphicStates { - public: - CPDF_AllStates(); - ~CPDF_AllStates(); - void Copy(const CPDF_AllStates& src); - void ProcessExtGS(CPDF_Dictionary* pGS, CPDF_StreamContentParser* pParser); - void SetLineDash(CPDF_Array*, FX_FLOAT, FX_FLOAT scale); - CFX_Matrix m_TextMatrix, m_CTM, m_ParentMatrix; - FX_FLOAT m_TextX, m_TextY, m_TextLineX, m_TextLineY; - FX_FLOAT m_TextLeading, m_TextRise, m_TextHorzScale; -}; class CPDF_DocPageData { public: |