7f766caefb0c41886d718451216f4dd14d809e46
[pdfium.git] / core / src / reflow / reflowengine.cpp
1 // Copyright 2014 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 #include "../../include/reflow/reflowengine.h"
8 #include "reflowedpage.h"
9 IPDF_ReflowedPage* IPDF_ReflowedPage::Create()
10 {
11     return new CPDF_ReflowedPage(NULL);
12 }
13 IPDF_ReflowedPage* Create_ReflowPage()
14 {
15     return IPDF_ReflowedPage::Create();
16 }
17 IPDF_ProgressiveReflowPageParser* Create_ReflowPageParser()
18 {
19     return IPDF_ProgressiveReflowPageParser::Create();
20 }
21 IPDF_ProgressiveReflowPageParser* IPDF_ProgressiveReflowPageParser::Create()
22 {
23     CPDF_ProgressiveReflowPageParser* pParser = new CPDF_ProgressiveReflowPageParser;
24     pParser->Init();
25     return pParser;
26 }
27 IPDF_ProgressiveReflowPageRender* Create_ReflowPageRender()
28 {
29     return IPDF_ProgressiveReflowPageRender::Create();
30 }
31 IPDF_ProgressiveReflowPageRender* IPDF_ProgressiveReflowPageRender::Create()
32 {
33     return new CPDF_ProgressiveReflowPageRender;
34 }