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 PUBLIC_FPDF_FORMFILL_H_ | 7 #ifndef PUBLIC_FPDF_FORMFILL_H_ |
8 #define PUBLIC_FPDF_FORMFILL_H_ | 8 #define PUBLIC_FPDF_FORMFILL_H_ |
9 | 9 |
10 #include "fpdfview.h" | 10 #include "fpdfview.h" |
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 /** | 677 /** |
678 * Method: FFI_DoGoToAction | 678 * Method: FFI_DoGoToAction |
679 * This action changes the view to a specified destination. | 679 * This action changes the view to a specified destination. |
680 * Interface Version: | 680 * Interface Version: |
681 * 1 | 681 * 1 |
682 * Implementation Required: | 682 * Implementation Required: |
683 * No | 683 * No |
684 * Parameters: | 684 * Parameters: |
685 * pThis - Pointer to the interface structure itself. | 685 * pThis - Pointer to the interface structure itself. |
686 * nPageIndex - The index of the PDF page. | 686 * nPageIndex - The index of the PDF page. |
687 * zoomMode - The zoom mode for viewing page.See Macros | 687 * zoomMode - The zoom mode for viewing page. See below. |
688 *"PDFZOOM_XXX" defined in "fpdfdoc.h". | |
689 * fPosArray - The float array which carries the position info. | 688 * fPosArray - The float array which carries the position info. |
690 * sizeofArray - The size of float array. | 689 * sizeofArray - The size of float array. |
| 690 * |
| 691 * PDFZoom values: |
| 692 * - XYZ = 1 |
| 693 * - FITPAGE = 2 |
| 694 * - FITHORZ = 3 |
| 695 * - FITVERT = 4 |
| 696 * - FITRECT = 5 |
| 697 * - FITBBOX = 6 |
| 698 * - FITBHORZ = 7 |
| 699 * - FITBVERT = 8 |
| 700 * |
691 * Return value: | 701 * Return value: |
692 * None. | 702 * None. |
693 * Comments: | 703 * Comments: |
694 * See the Destinations description of <<PDF Reference, version 1.7>> in | 704 * See the Destinations description of <<PDF Reference, version 1.7>> in |
695 *8.2.1 for more details. | 705 *8.2.1 for more details. |
696 **/ | 706 **/ |
697 void (*FFI_DoGoToAction)(struct _FPDF_FORMFILLINFO* pThis, | 707 void (*FFI_DoGoToAction)(struct _FPDF_FORMFILLINFO* pThis, |
698 int nPageIndex, | 708 int nPageIndex, |
699 int zoomMode, | 709 int zoomMode, |
700 float* fPosArray, | 710 float* fPosArray, |
(...skipping 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1742 FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringHandle, | 1752 FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringHandle, |
1743 FPDF_BYTESTRING bsText, | 1753 FPDF_BYTESTRING bsText, |
1744 FPDF_DWORD size); | 1754 FPDF_DWORD size); |
1745 #endif // PDF_ENABLE_XFA | 1755 #endif // PDF_ENABLE_XFA |
1746 | 1756 |
1747 #ifdef __cplusplus | 1757 #ifdef __cplusplus |
1748 } | 1758 } |
1749 #endif | 1759 #endif |
1750 | 1760 |
1751 #endif // PUBLIC_FPDF_FORMFILL_H_ | 1761 #endif // PUBLIC_FPDF_FORMFILL_H_ |
OLD | NEW |