XFA: add CPDFDocumentToFPDFDocument()
authorTom Sepez <tsepez@chromium.org>
Wed, 21 Oct 2015 21:07:23 +0000 (14:07 -0700)
committerTom Sepez <tsepez@chromium.org>
Wed, 21 Oct 2015 21:07:23 +0000 (14:07 -0700)
commitbf59a070593d079256161f6ff47148df309668c7
tree0c105507a20881f8f025127183510fefb851c3ce
parent63dfaab17af7121653749bc86d11fc77b5353dca
XFA: add CPDFDocumentToFPDFDocument()

Abstracts away that master returns CPDF_Documents directly,
but XFA wraps them with a CPDFXFA_Document.

Tidy dead code along the way.

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1415803002 .
fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h
fpdfsdk/include/fsdk_baseform.h
fpdfsdk/include/fsdk_define.h
fpdfsdk/include/fsdk_mgr.h
fpdfsdk/src/fpdf_dataavail.cpp
fpdfsdk/src/fpdfeditimg.cpp
fpdfsdk/src/fpdfeditpage.cpp
fpdfsdk/src/fpdfview.cpp
fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp
fpdfsdk/src/fsdk_baseform.cpp
fpdfsdk/src/javascript/app.cpp