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

Side by Side Diff: fpdfsdk/include/fsdk_mgr.h

Issue 1821043003: Remove FX_WORD in favor of uint16_t. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Use stdint.h directly, bitfield minefield. Created 4 years, 9 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/fxedit/fxet_pageobjs.cpp ('k') | fpdfsdk/include/fx_systemhandler.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 #ifndef FPDFSDK_INCLUDE_FSDK_MGR_H_ 7 #ifndef FPDFSDK_INCLUDE_FSDK_MGR_H_
8 #define FPDFSDK_INCLUDE_FSDK_MGR_H_ 8 #define FPDFSDK_INCLUDE_FSDK_MGR_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 void RemovePageView(UnderlyingPageType* pPage); 506 void RemovePageView(UnderlyingPageType* pPage);
507 void UpdateAllViews(CPDFSDK_PageView* pSender, CPDFSDK_Annot* pAnnot); 507 void UpdateAllViews(CPDFSDK_PageView* pSender, CPDFSDK_Annot* pAnnot);
508 508
509 CPDFSDK_Annot* GetFocusAnnot(); 509 CPDFSDK_Annot* GetFocusAnnot();
510 510
511 IJS_Runtime* GetJsRuntime(); 511 IJS_Runtime* GetJsRuntime();
512 512
513 FX_BOOL SetFocusAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag = 0); 513 FX_BOOL SetFocusAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag = 0);
514 FX_BOOL KillFocusAnnot(FX_UINT nFlag = 0); 514 FX_BOOL KillFocusAnnot(FX_UINT nFlag = 0);
515 515
516 FX_BOOL ExtractPages(const std::vector<FX_WORD>& arrExtraPages, 516 FX_BOOL ExtractPages(const std::vector<uint16_t>& arrExtraPages,
517 CPDF_Document* pDstDoc); 517 CPDF_Document* pDstDoc);
518 FX_BOOL InsertPages(int nInsertAt, 518 FX_BOOL InsertPages(int nInsertAt,
519 const CPDF_Document* pSrcDoc, 519 const CPDF_Document* pSrcDoc,
520 const std::vector<FX_WORD>& arrSrcPages); 520 const std::vector<uint16_t>& arrSrcPages);
521 FX_BOOL ReplacePages(int nPage, 521 FX_BOOL ReplacePages(int nPage,
522 const CPDF_Document* pSrcDoc, 522 const CPDF_Document* pSrcDoc,
523 const std::vector<FX_WORD>& arrSrcPages); 523 const std::vector<uint16_t>& arrSrcPages);
524 524
525 void OnCloseDocument(); 525 void OnCloseDocument();
526 526
527 int GetPageCount() { return m_pDoc->GetPageCount(); } 527 int GetPageCount() { return m_pDoc->GetPageCount(); }
528 FX_BOOL GetPermissions(int nFlag); 528 FX_BOOL GetPermissions(int nFlag);
529 FX_BOOL GetChangeMark() { return m_bChangeMask; } 529 FX_BOOL GetChangeMark() { return m_bChangeMask; }
530 void SetChangeMark() { m_bChangeMask = TRUE; } 530 void SetChangeMark() { m_bChangeMask = TRUE; }
531 void ClearChangeMark() { m_bChangeMask = FALSE; } 531 void ClearChangeMark() { m_bChangeMask = FALSE; }
532 CFX_WideString GetPath(); 532 CFX_WideString GetPath();
533 UnderlyingPageType* GetPage(int nIndex); 533 UnderlyingPageType* GetPage(int nIndex);
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 FX_BOOL m_bTakeOverPage; 647 FX_BOOL m_bTakeOverPage;
648 #endif // PDF_ENABLE_XFA 648 #endif // PDF_ENABLE_XFA
649 FX_BOOL m_bEnterWidget; 649 FX_BOOL m_bEnterWidget;
650 FX_BOOL m_bExitWidget; 650 FX_BOOL m_bExitWidget;
651 FX_BOOL m_bOnWidget; 651 FX_BOOL m_bOnWidget;
652 FX_BOOL m_bValid; 652 FX_BOOL m_bValid;
653 FX_BOOL m_bLocked; 653 FX_BOOL m_bLocked;
654 }; 654 };
655 655
656 #endif // FPDFSDK_INCLUDE_FSDK_MGR_H_ 656 #endif // FPDFSDK_INCLUDE_FSDK_MGR_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fxedit/fxet_pageobjs.cpp ('k') | fpdfsdk/include/fx_systemhandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698