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

Side by Side Diff: xfa/fxfa/parser/cxfa_dataexporter.cpp

Issue 2382723003: Move core/fxcrt/include to core/fxcrt (Closed)
Patch Set: Rebase to master Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « xfa/fxfa/parser/cxfa_dataexporter.h ('k') | xfa/fxfa/parser/cxfa_dataimporter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "xfa/fxfa/parser/cxfa_dataexporter.h" 7 #include "xfa/fxfa/parser/cxfa_dataexporter.h"
8 8
9 #include "core/fxcrt/include/fx_basic.h" 9 #include "core/fxcrt/fx_basic.h"
10 #include "xfa/fde/xml/fde_xml_imp.h" 10 #include "xfa/fde/xml/fde_xml_imp.h"
11 #include "xfa/fgas/crt/fgas_codepage.h" 11 #include "xfa/fgas/crt/fgas_codepage.h"
12 #include "xfa/fxfa/parser/cxfa_document.h" 12 #include "xfa/fxfa/parser/cxfa_document.h"
13 #include "xfa/fxfa/parser/cxfa_widgetdata.h" 13 #include "xfa/fxfa/parser/cxfa_widgetdata.h"
14 #include "xfa/fxfa/parser/xfa_object.h" 14 #include "xfa/fxfa/parser/xfa_object.h"
15 15
16 namespace { 16 namespace {
17 17
18 CFX_WideString ExportEncodeAttribute(const CFX_WideString& str) { 18 CFX_WideString ExportEncodeAttribute(const CFX_WideString& str) {
19 CFX_WideTextBuf textBuf; 19 CFX_WideTextBuf textBuf;
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 if (!pElement || pElement->GetType() != FDE_XMLNODE_Element) 532 if (!pElement || pElement->GetType() != FDE_XMLNODE_Element)
533 return FALSE; 533 return FALSE;
534 534
535 XFA_DataExporter_DealWithDataGroupNode(pExportNode); 535 XFA_DataExporter_DealWithDataGroupNode(pExportNode);
536 pElement->SetString(L"xmlns:xfa", L"http://www.xfa.org/schema/xfa-data/1.0/"); 536 pElement->SetString(L"xmlns:xfa", L"http://www.xfa.org/schema/xfa-data/1.0/");
537 pXMLDoc->SaveXMLNode(pStream, pElement); 537 pXMLDoc->SaveXMLNode(pStream, pElement);
538 pElement->RemoveAttribute(L"xmlns:xfa"); 538 pElement->RemoveAttribute(L"xmlns:xfa");
539 539
540 return TRUE; 540 return TRUE;
541 } 541 }
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/cxfa_dataexporter.h ('k') | xfa/fxfa/parser/cxfa_dataimporter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698