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

Unified Diff: xfa/fxfa/parser/cxfa_text.cpp

Issue 1861353002: Split fxfa_objectacc.h into pieces. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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 | « xfa/fxfa/parser/cxfa_text.h ('k') | xfa/fxfa/parser/cxfa_tooltip.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxfa/parser/cxfa_text.cpp
diff --git a/core/fpdfapi/fpdf_parser/cpdf_null.cpp b/xfa/fxfa/parser/cxfa_text.cpp
similarity index 52%
copy from core/fpdfapi/fpdf_parser/cpdf_null.cpp
copy to xfa/fxfa/parser/cxfa_text.cpp
index c74daf300ff983dc373729199d1b02fbc5e5de0c..fc7d7aa280e2900081d2e05d99d1a5e94fd7bd68 100644
--- a/core/fpdfapi/fpdf_parser/cpdf_null.cpp
+++ b/xfa/fxfa/parser/cxfa_text.cpp
@@ -4,14 +4,12 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_parser/cpdf_null.h"
+#include "xfa/fxfa/parser/cxfa_text.h"
-CPDF_Null::CPDF_Null() {}
+#include "xfa/fxfa/parser/xfa_object.h"
-CPDF_Object::Type CPDF_Null::GetType() const {
- return NULLOBJ;
-}
+CXFA_Text::CXFA_Text(CXFA_Node* pNode) : CXFA_Data(pNode) {}
-CPDF_Object* CPDF_Null::Clone(FX_BOOL bDirect) const {
- return new CPDF_Null;
+void CXFA_Text::GetContent(CFX_WideString& wsText) {
+ m_pNode->TryContent(wsText);
}
« no previous file with comments | « xfa/fxfa/parser/cxfa_text.h ('k') | xfa/fxfa/parser/cxfa_tooltip.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698