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

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

Issue 1519693002: Merge to XFA: Remove CFX_AffineMatrix/CPDF_Matrix (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: XFA-specific changes Created 5 years 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
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_BASEFORM_H_ 7 #ifndef FPDFSDK_INCLUDE_FSDK_BASEFORM_H_
8 #define FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ 8 #define FPDFSDK_INCLUDE_FSDK_BASEFORM_H_
9 9
10 #if _FX_OS_ == _FX_ANDROID_ 10 #if _FX_OS_ == _FX_ANDROID_
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 void ResetAppearance_RadioButton(); 184 void ResetAppearance_RadioButton();
185 void ResetAppearance_ComboBox(const FX_WCHAR* sValue); 185 void ResetAppearance_ComboBox(const FX_WCHAR* sValue);
186 void ResetAppearance_ListBox(); 186 void ResetAppearance_ListBox();
187 void ResetAppearance_TextField(const FX_WCHAR* sValue); 187 void ResetAppearance_TextField(const FX_WCHAR* sValue);
188 188
189 CPDF_Rect GetClientRect() const; 189 CPDF_Rect GetClientRect() const;
190 CPDF_Rect GetRotatedRect() const; 190 CPDF_Rect GetRotatedRect() const;
191 191
192 CFX_ByteString GetBackgroundAppStream() const; 192 CFX_ByteString GetBackgroundAppStream() const;
193 CFX_ByteString GetBorderAppStream() const; 193 CFX_ByteString GetBorderAppStream() const;
194 CPDF_Matrix GetMatrix() const; 194 CFX_Matrix GetMatrix() const;
195 195
196 CPWL_Color GetTextPWLColor() const; 196 CPWL_Color GetTextPWLColor() const;
197 CPWL_Color GetBorderPWLColor() const; 197 CPWL_Color GetBorderPWLColor() const;
198 CPWL_Color GetFillPWLColor() const; 198 CPWL_Color GetFillPWLColor() const;
199 199
200 void AddImageToAppearance(const CFX_ByteString& sAPType, CPDF_Stream* pImage); 200 void AddImageToAppearance(const CFX_ByteString& sAPType, CPDF_Stream* pImage);
201 void RemoveAppearance(const CFX_ByteString& sAPType); 201 void RemoveAppearance(const CFX_ByteString& sAPType);
202 202
203 public: 203 public:
204 FX_BOOL IsWidgetAppearanceValid(CPDF_Annot::AppearanceMode mode); 204 FX_BOOL IsWidgetAppearanceValid(CPDF_Annot::AppearanceMode mode);
205 void DrawAppearance(CFX_RenderDevice* pDevice, 205 void DrawAppearance(CFX_RenderDevice* pDevice,
206 const CPDF_Matrix* pUser2Device, 206 const CFX_Matrix* pUser2Device,
207 CPDF_Annot::AppearanceMode mode, 207 CPDF_Annot::AppearanceMode mode,
208 const CPDF_RenderOptions* pOptions) override; 208 const CPDF_RenderOptions* pOptions) override;
209 209
210 FX_BOOL HitTest(FX_FLOAT pageX, FX_FLOAT pageY); 210 FX_BOOL HitTest(FX_FLOAT pageX, FX_FLOAT pageY);
211 211
212 #ifndef PDF_ENABLE_XFA 212 #ifndef PDF_ENABLE_XFA
213 private: 213 private:
214 #endif // PDF_ENABLE_XFA 214 #endif // PDF_ENABLE_XFA
215 CPDFSDK_InterForm* m_pInterForm; 215 CPDFSDK_InterForm* m_pInterForm;
216 FX_BOOL m_bAppModified; 216 FX_BOOL m_bAppModified;
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot); 402 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot);
403 403
404 CPDFSDK_PageView* m_pPageView; 404 CPDFSDK_PageView* m_pPageView;
405 CFX_ByteString m_sType; 405 CFX_ByteString m_sType;
406 CFX_ByteString m_sSubType; 406 CFX_ByteString m_sSubType;
407 int m_nTabs; 407 int m_nTabs;
408 CPDFSDK_Annots m_Annots; 408 CPDFSDK_Annots m_Annots;
409 }; 409 };
410 410
411 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ 411 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698