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" Create()9IPDF_ReflowedPage* IPDF_ReflowedPage::Create() 10 { 11 return new CPDF_ReflowedPage(NULL); 12 } Create_ReflowPage()13IPDF_ReflowedPage* Create_ReflowPage() 14 { 15 return IPDF_ReflowedPage::Create(); 16 } Create_ReflowPageParser()17IPDF_ProgressiveReflowPageParser* Create_ReflowPageParser() 18 { 19 return IPDF_ProgressiveReflowPageParser::Create(); 20 } Create()21IPDF_ProgressiveReflowPageParser* IPDF_ProgressiveReflowPageParser::Create() 22 { 23 CPDF_ProgressiveReflowPageParser* pParser = new CPDF_ProgressiveReflowPageParser; 24 pParser->Init(); 25 return pParser; 26 } Create_ReflowPageRender()27IPDF_ProgressiveReflowPageRender* Create_ReflowPageRender() 28 { 29 return IPDF_ProgressiveReflowPageRender::Create(); 30 } Create()31IPDF_ProgressiveReflowPageRender* IPDF_ProgressiveReflowPageRender::Create() 32 { 33 return new CPDF_ProgressiveReflowPageRender; 34 } 35