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

Side by Side Diff: fpdfsdk/fpdfeditpage.cpp

Issue 2385423004: Rename fpdfsdk/fpdfxfa files to match contents (Closed)
Patch Set: 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 | « fpdfsdk/fpdfdoc_unittest.cpp ('k') | fpdfsdk/fpdfformfill.cpp » ('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 "public/fpdf_edit.h" 7 #include "public/fpdf_edit.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <memory> 10 #include <memory>
(...skipping 11 matching lines...) Expand all
22 #include "core/fpdfapi/parser/cpdf_document.h" 22 #include "core/fpdfapi/parser/cpdf_document.h"
23 #include "core/fpdfapi/parser/cpdf_number.h" 23 #include "core/fpdfapi/parser/cpdf_number.h"
24 #include "core/fpdfapi/parser/cpdf_string.h" 24 #include "core/fpdfapi/parser/cpdf_string.h"
25 #include "core/fpdfdoc/cpdf_annot.h" 25 #include "core/fpdfdoc/cpdf_annot.h"
26 #include "core/fpdfdoc/cpdf_annotlist.h" 26 #include "core/fpdfdoc/cpdf_annotlist.h"
27 #include "fpdfsdk/fsdk_define.h" 27 #include "fpdfsdk/fsdk_define.h"
28 #include "public/fpdf_formfill.h" 28 #include "public/fpdf_formfill.h"
29 #include "third_party/base/stl_util.h" 29 #include "third_party/base/stl_util.h"
30 30
31 #ifdef PDF_ENABLE_XFA 31 #ifdef PDF_ENABLE_XFA
32 #include "fpdfsdk/fpdfxfa/fpdfxfa_app.h" 32 #include "fpdfsdk/fpdfxfa/cpdfxfa_app.h"
33 #include "fpdfsdk/fpdfxfa/fpdfxfa_doc.h" 33 #include "fpdfsdk/fpdfxfa/cpdfxfa_document.h"
34 #include "fpdfsdk/fpdfxfa/fpdfxfa_page.h" 34 #include "fpdfsdk/fpdfxfa/cpdfxfa_page.h"
35 #endif // PDF_ENABLE_XFA 35 #endif // PDF_ENABLE_XFA
36 36
37 #if _FX_OS_ == _FX_ANDROID_ 37 #if _FX_OS_ == _FX_ANDROID_
38 #include "time.h" 38 #include "time.h"
39 #else 39 #else
40 #include <ctime> 40 #include <ctime>
41 #endif 41 #endif
42 42
43 namespace { 43 namespace {
44 44
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 310
311 DLLEXPORT void STDCALL FPDFPage_SetRotation(FPDF_PAGE page, int rotate) { 311 DLLEXPORT void STDCALL FPDFPage_SetRotation(FPDF_PAGE page, int rotate) {
312 CPDF_Page* pPage = CPDFPageFromFPDFPage(page); 312 CPDF_Page* pPage = CPDFPageFromFPDFPage(page);
313 if (!IsPageObject(pPage)) 313 if (!IsPageObject(pPage))
314 return; 314 return;
315 315
316 CPDF_Dictionary* pDict = pPage->m_pFormDict; 316 CPDF_Dictionary* pDict = pPage->m_pFormDict;
317 rotate %= 4; 317 rotate %= 4;
318 pDict->SetFor("Rotate", new CPDF_Number(rotate * 90)); 318 pDict->SetFor("Rotate", new CPDF_Number(rotate * 90));
319 } 319 }
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfdoc_unittest.cpp ('k') | fpdfsdk/fpdfformfill.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698