| OLD | NEW |
| 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_JAVASCRIPT_FIELD_H_ | 7 #ifndef FPDFSDK_JAVASCRIPT_FIELD_H_ |
| 8 #define FPDFSDK_JAVASCRIPT_FIELD_H_ | 8 #define FPDFSDK_JAVASCRIPT_FIELD_H_ |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 int nControlIndex, | 367 int nControlIndex, |
| 368 bool b); | 368 bool b); |
| 369 static void SetPassword(CPDFSDK_Document* pDocument, | 369 static void SetPassword(CPDFSDK_Document* pDocument, |
| 370 const CFX_WideString& swFieldName, | 370 const CFX_WideString& swFieldName, |
| 371 int nControlIndex, | 371 int nControlIndex, |
| 372 bool b); | 372 bool b); |
| 373 static void SetRect(CPDFSDK_Document* pDocument, | 373 static void SetRect(CPDFSDK_Document* pDocument, |
| 374 const CFX_WideString& swFieldName, | 374 const CFX_WideString& swFieldName, |
| 375 int nControlIndex, | 375 int nControlIndex, |
| 376 const CFX_FloatRect& rect); | 376 const CFX_FloatRect& rect); |
| 377 static void SetRichText(CPDFSDK_Document* pDocument, | |
| 378 const CFX_WideString& swFieldName, | |
| 379 int nControlIndex, | |
| 380 bool b); | |
| 381 static void SetRichValue(CPDFSDK_Document* pDocument, | |
| 382 const CFX_WideString& swFieldName, | |
| 383 int nControlIndex); | |
| 384 static void SetRotation(CPDFSDK_Document* pDocument, | 377 static void SetRotation(CPDFSDK_Document* pDocument, |
| 385 const CFX_WideString& swFieldName, | 378 const CFX_WideString& swFieldName, |
| 386 int nControlIndex, | 379 int nControlIndex, |
| 387 int number); | 380 int number); |
| 388 static void SetStrokeColor(CPDFSDK_Document* pDocument, | 381 static void SetStrokeColor(CPDFSDK_Document* pDocument, |
| 389 const CFX_WideString& swFieldName, | 382 const CFX_WideString& swFieldName, |
| 390 int nControlIndex, | 383 int nControlIndex, |
| 391 const CPWL_Color& color); | 384 const CPWL_Color& color); |
| 392 static void SetStyle(CPDFSDK_Document* pDocument, | 385 static void SetStyle(CPDFSDK_Document* pDocument, |
| 393 const CFX_WideString& swFieldName, | 386 const CFX_WideString& swFieldName, |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 558 JS_STATIC_METHOD(setLock, Field); | 551 JS_STATIC_METHOD(setLock, Field); |
| 559 JS_STATIC_METHOD(signatureGetModifications, Field); | 552 JS_STATIC_METHOD(signatureGetModifications, Field); |
| 560 JS_STATIC_METHOD(signatureGetSeedValue, Field); | 553 JS_STATIC_METHOD(signatureGetSeedValue, Field); |
| 561 JS_STATIC_METHOD(signatureInfo, Field); | 554 JS_STATIC_METHOD(signatureInfo, Field); |
| 562 JS_STATIC_METHOD(signatureSetSeedValue, Field); | 555 JS_STATIC_METHOD(signatureSetSeedValue, Field); |
| 563 JS_STATIC_METHOD(signatureSign, Field); | 556 JS_STATIC_METHOD(signatureSign, Field); |
| 564 JS_STATIC_METHOD(signatureValidate, Field); | 557 JS_STATIC_METHOD(signatureValidate, Field); |
| 565 }; | 558 }; |
| 566 | 559 |
| 567 #endif // FPDFSDK_JAVASCRIPT_FIELD_H_ | 560 #endif // FPDFSDK_JAVASCRIPT_FIELD_H_ |
| OLD | NEW |