UIExtensions.h
1 
19 #pragma once
20 
21 namespace foxit
22 {
23  namespace rdk
24  {
25  namespace uiextensions
26  {
27 #define POPUPWINDOWWIDTH 405
28 #define POPUPWINDOWHEIGHT 234
29 
30  public enum class AnnotContextMenuType
31  {
32  Add,
33  Delete,
34  Note,
35  Edit,
36  NotePro,
37  NewSign,
38  ApplySign
39  };
40 
41  public enum class AnnotCommandType
42  {
43  Add,
44  Open
45  };
46 
47  [Windows::Foundation::Metadata::WebHostHidden]
48  public ref class AnnotCommandToken sealed
49  {
50  public:
51  property AnnotCommandType Type;
52  property int Pageindex;
53  property Platform::Object^ Param;
54  property Platform::Object^ StrickoutParam;
55  };
56 
58  public ref class FormFillTimerWrapper sealed
59  {
60  public:
61  virtual ~FormFillTimerWrapper();
62 
64  property UINT_PTR TimerId
65  {
66  UINT_PTR get();
67  }
68 
70  property int Elapse
71  {
72  int get();
73  }
74 
75  void SetTimerElapse(int uElapse);
76 
77  void Start();
78  void Stop();
79 
80  internal:
81  FormFillTimerWrapper(FS_LPVOID clientData, int uElapse, foxit::pdf::interform::ITimerCallback^ lpTimerFunc);
82 
83  private:
84  FS_LPVOID m_FormFillClientData;
85  int m_uElapse;
86  foxit::pdf::interform::ITimerCallback^ m_lpTimerFunc;
87  Windows::UI::Xaml::DispatcherTimer^ m_FormFillTimer;
88 
89  private:
90  void OnTick(Platform::Object ^sender, Platform::Object ^args);
91  };
92 
93  public ref class NoteIcoObj sealed
94  {
95  internal:
96  property Platform::String^ IconName;
97  Microsoft::WRL::ComPtr<IWICFormatConverter> m_bitmap;
98  };
99 
100  ref class FoxitViewControl;
101  ref class PDFTextManager;
102  ref class MainPageAppBar;
103  ref class PDFFormAbstration;
104  ref class PDFFormFillerManagement;
105  ref class FormOperationBarControl;
106  ref class AnnotNoteUserControl;
107  ref class FoxitUIHostedContorl;
108  ref class ContextMenuUserControl;
109  ref class AnnotPropertyAppBar;
110  ref class FindTextControl;
111  ref class DocUndo;
112  [Windows::Foundation::Metadata::WebHostHidden]
113  public ref class UIExtensionsManager sealed : public IUIExtensionsEvents
114  {
115  friend ref class MainPageAppBar;
116  public:
118  property foxit::rdk::PDFViewCtrl^ viewControl
119  {
121  {
122  return m_control;
123  }
124  }
126  property bool IsRightMenuAdd
127  {
128  virtual bool get() {
129  return m_IsRightMenuAdd
130  ;
131  }
132  void set(bool value)
133  {
134  m_IsRightMenuAdd = value;
135  }
136  }
138  property bool IsShowAnnot
139  {
140  virtual bool get()
141  {
142  return ((viewControl->GetRenderFlag() & foxit::common::ContentFlag::e_RenderAnnot) == foxit::common::ContentFlag::e_RenderAnnot);
143  }
144  void set(bool value)
145  {
146  if (value)
147  viewControl->SetRenderFlag(foxit::common::ContentFlag::e_RenderAnnot | foxit::common::ContentFlag::e_RenderPage);
148  else
149  viewControl->SetRenderFlag(foxit::common::ContentFlag::e_RenderPage);
150  }
151  }
153  property Windows::UI::Xaml::Controls::Grid^ FlyoutPlacement
154  {
155  Windows::UI::Xaml::Controls::Grid^ get();
156  }
158  property PDFTextManager^ TextManager
159  {
160  PDFTextManager^ get()
161  {
162  return m_textManager;
163  }
164  }
166  property IAnnotManager^ AnnotMgr
167  {
168  IAnnotManager^ get()
169  {
170  return m_AnnotMgr;
171  }
172  }
173 
175  event Windows::Foundation::EventHandler<Platform::Object^>^ AppBarShow;
177  event Windows::Foundation::EventHandler<Platform::Object^>^ AppBarHide;
178 
179  public:
181  virtual void ManipulationStarted(Platform::Object^ sender, Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs^ e);
182  virtual void ManipulationDelta(Platform::Object^ sender, Windows::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs^ e);
183  virtual void ManipulationCompleted(Platform::Object^ sender, Windows::UI::Xaml::Input::ManipulationCompletedRoutedEventArgs^ e);
184  virtual void PointerPressed(Platform::Object^ sender, Windows::UI::Xaml::Input::PointerRoutedEventArgs^ e);
185  virtual void PointerMoved(Platform::Object^ sender, Windows::UI::Xaml::Input::PointerRoutedEventArgs^ e);
186  virtual void PointerReleased(Platform::Object^ sender, Windows::UI::Xaml::Input::PointerRoutedEventArgs^ e);
187  virtual void PointerEntered(Platform::Object^ sender, Windows::UI::Xaml::Input::PointerRoutedEventArgs^ e);
188  virtual void PointerExited(Platform::Object^ sender, Windows::UI::Xaml::Input::PointerRoutedEventArgs^ e);
189  virtual void PointerCaptureLost(Platform::Object^ sender, Windows::UI::Xaml::Input::PointerRoutedEventArgs^ e);
190  virtual void PointerCanceled(Platform::Object^ sender, Windows::UI::Xaml::Input::PointerRoutedEventArgs^ e);
191  virtual void PointerWheelChanged(Platform::Object^ sender, Windows::UI::Xaml::Input::PointerRoutedEventArgs^ e);
192  virtual void Holding(Platform::Object^ sender, Windows::UI::Xaml::Input::HoldingRoutedEventArgs^ e);
193  virtual void Tapped(Platform::Object^ sender, Windows::UI::Xaml::Input::TappedRoutedEventArgs^ e);
194  virtual void CompositionScaleChanged(Windows::UI::Xaml::Controls::SwapChainPanel^ sender, Platform::Object^ args);
195  virtual void SizeChanged(Platform::Object^ sender, Windows::UI::Xaml::SizeChangedEventArgs^ e);
196 
198  void ResetDefaultAppBarButton();
200  void ShowOrHideAppBar();
202  void ShowWidgetAnnotPopup();
204  void HideWidgetAnnotPopup();
206  void ShowFormOperationBarInPhone();
208  void SetBottomBarIsVisible(bool isVisible);
210  void ExitPageView();
212  void ExitFileView();
214  bool IsInThumbnailMode();
216  void EnterThumbnailPage();
218  void ExitThumbnailPage();
220  void SetFlyoutPlacement(Windows::UI::Xaml::Controls::Grid^ pPlacementGrid);
222  void SaveDoc();
224  MainPageAppBar^ GetMainAppBar();
226  bool IsHaveForm();
228  foxit::pdf::interform::Form^ GetSdkForm();
230  void SetPageNumberSliderVisible(bool isVisible);
232  void ShowPageNumberCountPopup(bool isActiveTimer);
234  void HidePageNumberCountPopup();
235  internal:
236  void ShowProgressRing();
237  void HideProgressRing();
238  void OnLoaded(Platform::Object ^sender, Windows::UI::Xaml::RoutedEventArgs ^e);
239  void OnUnloaded(Platform::Object ^sender, Windows::UI::Xaml::RoutedEventArgs ^e);
240  void OnAcceleratorKeyActivated(Windows::UI::Core::CoreDispatcher ^sender, Windows::UI::Core::AcceleratorKeyEventArgs ^args);
241  void OnKeyDown(Windows::UI::Core::CoreWindow ^sender, Windows::UI::Core::KeyEventArgs ^args);
242  void OnKeyUp(Windows::UI::Core::CoreWindow ^sender, Windows::UI::Core::KeyEventArgs ^args);
243  bool IsCreateDrawAnnot();
244  void InitMainAppBar();
245  foxit::pdf::interform::Filler^ GetFormFiller();
246  void ReleaseFormFiller();
247  bool IsEnableFormModule();
248  void ResetForm();
249  void BeginFormFiller();
250  void EndFormFiller();
251  void ImportFormDataFromFdfFile();
252  void ExportFormDataToFdfFile();
253  static Windows::Foundation::IAsyncOperation<foxit::fdf::FDFDoc^>^ OpenNewFdfDocumentAsync();
254  static Windows::Foundation::IAsyncOperation<foxit::fdf::FDFDoc^>^ OpenFdfDocumentAsync(Windows::Storage::StorageFile^ pdfFile);
255  PDFTextManager^ getTextMgr() { return m_textManager; }
256  AnnotationManager^ getAnnotMgr() { return m_AnnotMgr; }
257  void CreateTimer(FS_LPVOID clientData, int uElapse, foxit::pdf::interform::ITimerCallback^ lpTimerFunc);
258  void DestroyTime(UINT_PTR nTimerID);
259  Microsoft::WRL::ComPtr<IWICFormatConverter> LoadPicSource(Platform::String^ iconName);
260  void LoadNoteLogo(Platform::String^ logoUrl);
261  void SaveDocumentData();
262  PDFPagePoint^ GetHoldingPoint();
263  void SaveAsFile();
264  AppBarType GetCurAppBarType();
265  void ShowOpenPdfDocumentErrorDialog();
266  void ShowOpenEncryptedDocumentErrorMsgDialog();
267  bool GetIsCanScrollPageView();
268  void ShowSearchBarInPhone();
269  concurrency::cancellation_token_source m_TipsDlgCts;
270  property SelectOperateType SelectOperate
271  {
272  SelectOperateType get();
273  }
274  property AnnotCreateType CreateTypeOfAnnot
275  {
276  AnnotCreateType get();
277  void set(AnnotCreateType value);
278  }
279  int GetFormControlType(IBaseAnnot^ pAnnot);
280  void SdkFocusFormControl(IBaseAnnot^ pAnnot);
281  void SdkKillFocusFormControl();
282  void KillFormfillerFocus();
283  void FocusPrevFormControl();
284  void FocusNextFormControl();
285  IBaseAnnot^ GetCanSelectFormControl(Windows::Foundation::Collections::IVector<IBaseAnnot^>^ annotList, int nStartIndex, bool bReverse);
286  void CollectAnnotOperation(Platform::String^ Type, Platform::String^ ActionType, Platform::String^ PageIndex, Platform::String^ Rect);
287  void SetAnnotCanvasVisible(bool isVisible);
288  void SetTextMenuPopupHide();
289  void CloseAddNoteWindows();
290  void ShowSelHandleButton(bool bIsShow);
291  void ShowTouchSelectHandleButton(Windows::Foundation::Collections::IVector<IPageSelectText^>^ e);
292  void ShowTextmarkContextmenu(AnnotContextMenuType type, Windows::Foundation::Point viewPoint);
293  void OnMenuControlLoaded(Platform::Object ^sender, Windows::UI::Xaml::RoutedEventArgs ^e);
294  void HideFindBar();
295  int GetCurrentPageIndex();
296  void ExitSearchMode();
297  void UpdateView();
298  void ResetAnnotToolAppBar();
299  void SetManipulationStartFlagFalse();
300  void SetUnRedoIsEnabled(bool isEnable);
301  void CloseAllPropertyPopup();
302  void InitPageNumberSliderByPageViewMode();
303  void InitSliderPageNumber(int pageIndex);
304  void SetPageNumberSlideHide();
305  void SetAppBarHideTimer(bool isStop);
306  void ShowPageNumberJumpWindow();
307  void HideJumpPagePopup();
308  void JumpPageIndex(int pageIndex);
309  void HideFloatWindow();
310  void ExitAnnotPropertyMode();
311  bool ExitNotePopupEdit();
312  Windows::Foundation::Point GetAnnotPopupOffset();
313  void SetPropertyPoupHide();
314  void ReLocateImageSignature(Windows::Foundation::Rect rect);
315  void LoadNoteStylePage();
316  void UpdateFreeTextAnnotOverlayControl(int pageIndex, Windows::Foundation::Rect rect);
317  void CreateGraphAnnotBySliderPage();
318  void SetPropertyCurColor(Windows::UI::Color color);
319  void HideNoteStylePopup();
320  void ShowDirecControl(bool isVisible);
321  void SetAnnotStampClosed();
322  void AddAnnotByType(AnnotCreateType type);
323  bool IsPopupShow();
324  void CollectEraserOpration();
325  void SizeChangedCreateAnnot();
326  bool IsSelectAnnotPhonePropertyOpen();
327  void ExitAnnotSelect();
328  void SaveOrCreateNoteAnnot();
329  void SetUnRedoPhoneAppBarVisible(bool isVisible);
330  void ShowPhonAnnotPropertyIcon(bool isVisble);
331  void ShowAddNoteWindows(AnnotNoteUserControl^ control, Windows::Foundation::Point curPoint);
332  void CreateNewShapeToCanvas(Windows::UI::Xaml::Shapes::Shape^ shape);
333  void UpdatePolyLinePoints(Windows::UI::Xaml::Shapes::Shape^ shape, Windows::UI::Xaml::Media::PointCollection^ pointVector);
334  void CreatePolyLineAnnotToCanvas(int pageIndex, Windows::Foundation::Rect minRect, Windows::Foundation::Collections::IVector<Windows::Foundation::Collections::IVector<Windows::Foundation::Point>^>^ Page_VectPoint, double opacity, double borderWidth, Windows::UI::Color color);
335  void CreateRectangelAnnotToCanvas(int pageIndex, Windows::Foundation::Rect rect, double opacity, double borderWidth, Windows::UI::Color color);
336  void CreateEllipseAnnotToCanvas(int pageIndex, Windows::Foundation::Rect rect, double opacity, double borderWidth, Windows::UI::Color color);
337  void CreateLineAnnotToCanvas(int pageIndex, Windows::Foundation::Rect rect, Windows::Foundation::Point startPoint, Windows::Foundation::Point endPoint, double opacity, double borderWidth, Windows::UI::Color color);
338  void CreateFreeTextBoxToCanvas(Windows::UI::Xaml::Controls::UserControl^ userControl);
339  Platform::String^ GetResourceString(Platform::String^ str);
340  Platform::String^ GetAnnotTypeString(AnnotationType type);
341  void LoadAnnotAppBar(AppBarType appbarType);
342  void LoadAnnotAppBarEdit(AppBarType appbarType);
343  void LoadAppBarByType(AppBarType appbarType);
344  void ShowDrawSignatureControl();
345  Windows::Foundation::Point GetSignPoint();
346  void HideSignatureCanvas();
347  void HideDrawSignatureControl();
348  void SetAnnotPropertyToolIsEnable(bool isVisible);
349  void SetEraserPageIndex(int pageIndex);
350  bool GetAnnotCanvasHasChild();
351  TypeWriterRange^ GetTypeWriterContent(int m_pageIndex, Platform::String^ content, double fontsize, Windows::UI::Xaml::Media::FontFamily^ fontfamily, Windows::UI::Text::FontStyle fontstyle, Windows::UI::Text::FontWeight fontweight, double minWidth, double maxWidth);
352  void SetFreeTextPropertyShow(bool isShow, Platform::String^ title);
353  Windows::UI::Xaml::Media::PointCollection^ RemoveDrawPolyLine();
354  void CreateNewPolyLineToCanvas(Windows::UI::Xaml::Shapes::Polyline^ polyLine);
355  Windows::Foundation::Collections::IVector<Windows::UI::Xaml::Media::PointCollection^>^ GetPolyLinePoints();
356  void UpdateAnnotToolUnReDoControl();
357  void SetFormControlTappedPoint(Windows::Foundation::Point pt);
358  bool IsWidgetAnnotPopupOpend();
359  bool IsFormControlCanSelect(IBaseAnnot^ pAnnot);
360  bool IsValidFormControlPtr(IBaseAnnot^ pAnnot);
361  void ExitSearchingModel();
362  void SetMainAppBarVisible(bool isVisible);
363  void InitStampAppBar();
364  void SetNoteStylePageIsActive(bool isActive);
365  void InitCurNoteIcon();
366  bool IsAnnotAppBarTipShow();
367  void SetAnnotPropertyTipShow(bool isShow);
368  void HidePopupWindow();
369  void ShowUndoRedoBarInPhone();
370  void HideUndoRedoBarInPhone();
371  void ShowSearchControl();
372  void HideSearchControl();
373  bool IsPhonePropertyPopupOpen();
374  void SetPhonePropertyPopupClosed();
375  void FocusFormControlHiddenTextBox();
376  void LostFocusFormControlHiddenTextBox();
377  void UpdateFormControlHiddenTextBoxPosition();
378  void OnTappedTick(Platform::Object ^sender, Platform::Object ^args);
379  void OnTick(Platform::Object ^sender, Platform::Object ^args);
380  void OnPointerWheelScaleOperationTick(Platform::Object ^sender, Platform::Object ^args);
381  void OnAutoSaveFileTick(Platform::Object ^sender, Platform::Object ^args);
382  void OnCopyFileTick(Platform::Object ^sender, Platform::Object ^args);
383  void StartZoomInOutTimer();
384  void StopZoomInOutTimer();
385  void LoadViewByViewMode(foxit::rdk::LayoutMode viewmode);
386  bool LoadPrevViewMode();
387 
388  void AnnotHighlightFlicker(Windows::Foundation::Rect rc);
389  foxit::rdk::uiextensions::AnnotIconNameTextType GetCurIconType();
390 
391  private:
392  concurrency::task<void> SaveFileAsync();
393  concurrency::task<void> SaveAsFileAsync();
394  concurrency::task<void> SaveAsFileWithSelectDialogAsync();
395  concurrency::task<void> CopyFileStreamData(Windows::Storage::StorageFile^ dstFile, Windows::Storage::StorageFile^ srcFile);
396  concurrency::task<void> DeleteTemporaryFile();
397  concurrency::task<void> CopyCurrentFileAsync();
398  bool GetCanModifyForm();
399  FormFillTimerWrapper^ GetTimerById(UINT_PTR nTimerID);
400  void ResetPropertyPopupLocation(bool isShowMainBorad);
401  void OnAnnotPropertyAppBarLoaded(Platform::Object ^sender, Windows::UI::Xaml::RoutedEventArgs ^e);
402  void OnOpenPdfFileEvent(foxit::rdk::PDFViewCtrl ^sender, foxit::rdk::DocEventArgs^ e);
403  void OnClosePdfFileEvent(foxit::rdk::PDFViewCtrl ^sender, foxit::rdk::DocEventArgs^ e);
404  void OnPageLoadedEvent(foxit::rdk::PDFViewCtrl^ sender, foxit::rdk::PageLoadedEventArgs^ e);
405  void OnPageUnloadedEvent(foxit::rdk::PDFViewCtrl ^sender, foxit::rdk::PageUnloadedEventArgs ^e);
406  void OnPageVisibleEvent(foxit::rdk::PDFViewCtrl ^sender, foxit::rdk::PageVisibleEventArgs ^e);
407  void OnPageInvisibleEvent(foxit::rdk::PDFViewCtrl ^sender, foxit::rdk::PageInvisibleEventArgs ^e);
408  void OnPageChangedEvent(foxit::rdk::PDFViewCtrl ^sender, foxit::rdk::PageChangedEventArgs ^e);
409  void OnDrawAnnotEvent(foxit::rdk::PDFViewCtrl^ sender, foxit::rdk::RenderPageEventArgs^ e);
410  void OnPageLayoutModeChangedEvent(foxit::rdk::PDFViewCtrl ^sender, foxit::rdk::PageLayoutModeChangedEventArgs ^e);
411 
412  Windows::Foundation::Point SetNoteCreateOrSave();
413 
414  private:
415  Platform::Collections::Vector<FormFillTimerWrapper^>^ m_FormFillTimers;
416  FormOperationBarControl^ m_pFormOperationBarControl;
417  Windows::Foundation::Point m_FormControlTappedPt;
418  FoxitUIHostedContorl^ m_pHostedControl;
419  foxit::rdk::PDFViewCtrl^ m_control;
420  PDFTextManager^ m_textManager;
421  MainPageAppBar^ m_MainAppBar;
422  foxit::pdf::interform::Filler^ m_FormFiller;
423  foxit::pdf::interform::Form^ m_pPDFForm;
424  PDFFormAbstration^ m_pFormAbs;
425  PDFFormFillerManagement^ m_FormFillerMgr;
426  AnnotationManager^ m_AnnotMgr;
427  bool m_isDesktopPlatform;
428  Windows::UI::Xaml::DispatcherTimer^ m_BottomBarVisibleTimer;
429  ProgressBarFactory^ m_pProgressBar;
430  Windows::Foundation::Point sigPt;
431  //For typewriter.
432  double height;
433  int linecount;
434 
435  Platform::String^ textStr;
436  Platform::String^ copyStr;
437  bool m_bIsSaveDocReadStateSetting;
438  Windows::UI::Xaml::Shapes::Polyline^ m_curpolyLine;
439  bool m_isPressed;
440  bool m_isPressedMove;
441  Windows::UI::Xaml::Media::CompositeTransform^ m_LayoutGridTransform;
442  Windows::Foundation::Rect graphminRect;
443  Windows::Foundation::Rect graphAnnotInPageRange;
444  Windows::Foundation::Point deviceLineStartPt;
445  Windows::Foundation::Point deviceLineEndPt;
446  bool m_isAnnotMoveEnd;
447  Windows::Foundation::Point positionChangePt;
448  bool m_IsRightMenuAdd;
449  bool m_IsDefaultSignature;
450  bool m_IsHandleBackPressed;
451  Windows::UI::Xaml::Controls::Primitives::Popup^ m_PoppupTextMenu;
452  Windows::UI::Xaml::Controls::Primitives::Popup^ m_PoppupNoteWindow;
453  Windows::UI::Xaml::Controls::Primitives::Popup^ m_NumberPopup;
454  Windows::UI::Xaml::Controls::Primitives::Popup^ m_ShowNumberPopup;
455  PDFPagePoint^ m_holdingPoint;
456  PixelSource^ m_picSource;
457  bool m_isContinueEditAnnot;
458  bool m_isSDToLocalFile;
459  bool m_isSDFile;
460  int m_curRotateValue;
461  ContextMenuUserControl^ menuControl;
462  Windows::Foundation::Rect m_showTextMinRect;
463  Windows::Foundation::Point m_showTextPoint;
464  Windows::Foundation::Rect pageviewRect;
465  Windows::Foundation::EventRegistrationToken m_TextPopupLoadedEventToken;
466  double m_TextMenuTipHoffset;
467  Windows::Foundation::EventRegistrationToken m_propertyPopupLoadedEventToken;
468  AnnotPropertyAppBar^ control;
469  Windows::UI::Xaml::Controls::Primitives::Popup^ propertyPopup;
470  FindTextControl^ m_FindTextControl;
471  bool m_bIsAppBarInSearchMode;
472  int m_EraserPageIndex;
473  bool m_SavingFile;
474  Windows::Foundation::Collections::IVector<NoteIcoObj^>^ notIconCollections;
475  bool m_isMovingAnnot;
476  Windows::Storage::StorageFile^ newFile;
477  Windows::Storage::StorageFile^ m_FileActivatedFile;
478  bool m_isExitPageView;
479  bool m_isOpenFileComplete;
480  Platform::String^ m_changedFileName;
481  Windows::Storage::StorageFile^ m_SwapTemperFile;
482  Windows::UI::Xaml::DispatcherTimer^ m_TappedTimer;
483  double m_scale;
484  bool m_isHasBookmark;
485  bool m_isSaveAsFile;
486  Windows::Foundation::Rect m_WindowsRect;
487  SelectOperateType m_SelectOperateType;
488  AnnotCreateType m_AnnotCreateType;
489  AppBarType m_CurAppBarType;
490  bool m_isShowAnnot;
491  bool m_CtrlKeyDown;
492  Windows::Foundation::EventRegistrationToken m_WindowSizeChangedEventToken, m_AcceleratorKeyActivatedEventToken;
493  Windows::Foundation::EventRegistrationToken m_KeyDownToken, m_KeyUpToken;
494  bool m_ManipulationStart;
495  Windows::UI::Xaml::DispatcherTimer^ m_PointerWheelScaleTimer;
496  Windows::Foundation::Point m_PointerWheelScaleOriPoint;
497  int m_PointerPrevMouseWheelDelta;
498  bool m_IsContinuousOperate;
499  Windows::UI::Xaml::DispatcherTimer^ m_AutoSaveFileTimer;
500  Windows::UI::Xaml::DispatcherTimer^ m_CopyFileTimer;
501  bool m_IsAutoSaveFileFlag;
502  concurrency::cancellation_token_source m_CopyFileCts;
503  Windows::Foundation::EventRegistrationToken m_HardwareButtonsBackPressedEventToken, m_SystemNavigationBackRequestedEventToken;
504  foxit::rdk::LayoutMode m_docViewMode;
505  foxit::rdk::LayoutMode m_PrevViewMode;
506 
507  Windows::UI::Xaml::Controls::Grid^ m_FlyoutPlacement;
508 
509  foxit::common::ErrorCode m_OpenStateCode;
510 
511  internal:
512  DocUndo^ m_docUndo;
513  };
514  }
515  }
516 }
The PDF view control, which is able to open/display/save/...etc the PDF document. ...
Definition: FoxitRdkComponentViewCtrl.h:95
Mouse or gesture events for UI extensions of pdf view control.
Definition: FoxitRdkComponentViewCtrl.h:17
Timer class packaging for form.
Definition: UIExtensions.h:58
Definition: UIExtensions.h:48
Definition: UIExtensions.h:113
Definition: PDFTextManager.h:106
Definition: UIExtensions.h:93
void SetRenderFlag(foxit::common::ContentFlag flag)
Set the render content flag, See macros FSRenderContentFlag::XXX.
Definition: FoxitRdkComponentViewCtrl.h:3
Definition: IAnnot.h:217

Foxit Software Corporation Logo
@2017 Foxit Software Incorporated. All rights reserved.