Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(756)

Unified Diff: core/fpdfapi/fpdf_page/include/cpdf_formobject.h

Issue 2195643002: Simplify some FPDF edit functions. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | fpdfsdk/fpdfeditimg.cpp » ('j') | fpdfsdk/fpdfeditimg.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfapi/fpdf_page/include/cpdf_formobject.h
diff --git a/core/fpdfapi/fpdf_page/include/cpdf_formobject.h b/core/fpdfapi/fpdf_page/include/cpdf_formobject.h
index 03e117a132558d3cdca203db57019866a85e73d8..5b146b268d18438941271af0248413fca1be5257 100644
--- a/core/fpdfapi/fpdf_page/include/cpdf_formobject.h
+++ b/core/fpdfapi/fpdf_page/include/cpdf_formobject.h
@@ -28,6 +28,7 @@ class CPDF_FormObject : public CPDF_PageObject {
const CPDF_FormObject* AsForm() const override;
void CalcBoundingBox();
+ const CPDF_Form* form() const { return m_pForm.get(); }
std::unique_ptr<CPDF_Form> m_pForm;
dsinclair 2016/07/29 13:22:49 Can these be made private: now?
Lei Zhang 2016/07/29 14:46:15 Maybe with a follow up CL to get the other NN plac
CFX_Matrix m_FormMatrix;
« no previous file with comments | « no previous file | fpdfsdk/fpdfeditimg.cpp » ('j') | fpdfsdk/fpdfeditimg.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698