| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #ifndef _REFLOW_ENGINE_H | 7 #ifndef CORE_INCLUDE_REFLOW_REFLOWENGINE_H_ |
| 8 #define _REFLOW_ENGINE_H | 8 #define CORE_INCLUDE_REFLOW_REFLOWENGINE_H_ |
| 9 |
| 10 #include "../fpdfapi/fpdf_pageobj.h" |
| 9 #include "../fpdfapi/fpdf_render.h" | 11 #include "../fpdfapi/fpdf_render.h" |
| 12 #include "../fpdfdoc/fpdf_tagged.h" |
| 10 #include "../fpdftext/fpdf_text.h" | 13 #include "../fpdftext/fpdf_text.h" |
| 11 #include "fpdf_layout.h" | 14 #include "fpdf_layout.h" |
| 12 #include "../fpdfapi/fpdf_pageobj.h" | 15 |
| 13 #include "../fpdfdoc/fpdf_tagged.h" | |
| 14 class IPDF_ReflowedPage | 16 class IPDF_ReflowedPage |
| 15 { | 17 { |
| 16 public: | 18 public: |
| 17 static IPDF_ReflowedPage* Create(); | 19 static IPDF_ReflowedPage* Create(); |
| 18 | 20 |
| 19 virtual ~IPDF_ReflowedPage() {} | 21 virtual ~IPDF_ReflowedPage() {} |
| 20 virtual CFX_PrivateData* GetPrivateDataCtrl() = 0; | 22 virtual CFX_PrivateData* GetPrivateDataCtrl() = 0; |
| 21 | 23 |
| 22 | 24 |
| 23 virtual void GetDisplayMatrix(CFX_AffineMatrix& matrix, FX_IN
T32 xPos, FX_INT32 yPos, FX_INT32 xSize, FX_INT32 ySize, FX_INT32 iRotate, const
CFX_AffineMatrix* pPageMatrix) = 0; | 25 virtual void GetDisplayMatrix(CFX_AffineMatrix& matrix, FX_IN
T32 xPos, FX_INT32 yPos, FX_INT32 xSize, FX_INT32 ySize, FX_INT32 iRotate, const
CFX_AffineMatrix* pPageMatrix) = 0; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 virtual void Start(IPDF_ReflowedPage* pReflowPage, CFX_Render
Device* pDevice, const CFX_AffineMatrix* pMatrix, IFX_Pause* pPause, int DitherB
its ) = 0; | 68 virtual void Start(IPDF_ReflowedPage* pReflowPage, CFX_Render
Device* pDevice, const CFX_AffineMatrix* pMatrix, IFX_Pause* pPause, int DitherB
its ) = 0; |
| 67 virtual void Continue(IFX_Pause* pPause) = 0; | 69 virtual void Continue(IFX_Pause* pPause) = 0; |
| 68 virtual int GetPosition() = 0; | 70 virtual int GetPosition() = 0; |
| 69 | 71 |
| 70 | 72 |
| 71 virtual void Clear() = 0; | 73 virtual void Clear() = 0; |
| 72 }; | 74 }; |
| 73 IPDF_ReflowedPage* Create_ReflowPage(); | 75 IPDF_ReflowedPage* Create_ReflowPage(); |
| 74 IPDF_ProgressiveReflowPageParser* Create_ReflowPageParser(); | 76 IPDF_ProgressiveReflowPageParser* Create_ReflowPageParser(); |
| 75 IPDF_ProgressiveReflowPageRender* Create_ReflowPageRender(); | 77 IPDF_ProgressiveReflowPageRender* Create_ReflowPageRender(); |
| 76 #endif | 78 |
| 79 #endif // CORE_INCLUDE_REFLOW_REFLOWENGINE_H_ |
| OLD | NEW |