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

Side by Side Diff: core/fpdfdoc/cpvt_generateap.h

Issue 2273893002: Display content of the annotation when mouse hover. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Display content of the annotation when mouse hover. Created 4 years, 3 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 | « core/fpdfdoc/cpdf_annotlist.cpp ('k') | core/fpdfdoc/cpvt_generateap.cpp » ('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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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 CORE_FPDFDOC_CPVT_GENERATEAP_H_ 7 #ifndef CORE_FPDFDOC_CPVT_GENERATEAP_H_
8 #define CORE_FPDFDOC_CPVT_GENERATEAP_H_ 8 #define CORE_FPDFDOC_CPVT_GENERATEAP_H_
9 9
10 #include "core/fpdfdoc/cpvt_color.h" 10 #include "core/fpdfdoc/cpvt_color.h"
(...skipping 16 matching lines...) Expand all
27 public: 27 public:
28 static bool GenerateCircleAP(CPDF_Document* pDoc, 28 static bool GenerateCircleAP(CPDF_Document* pDoc,
29 CPDF_Dictionary* pAnnotDict); 29 CPDF_Dictionary* pAnnotDict);
30 static bool GenerateComboBoxAP(CPDF_Document* pDoc, 30 static bool GenerateComboBoxAP(CPDF_Document* pDoc,
31 CPDF_Dictionary* pAnnotDict); 31 CPDF_Dictionary* pAnnotDict);
32 static bool GenerateHighlightAP(CPDF_Document* pDoc, 32 static bool GenerateHighlightAP(CPDF_Document* pDoc,
33 CPDF_Dictionary* pAnnotDict); 33 CPDF_Dictionary* pAnnotDict);
34 static bool GenerateInkAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict); 34 static bool GenerateInkAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict);
35 static bool GenerateListBoxAP(CPDF_Document* pDoc, 35 static bool GenerateListBoxAP(CPDF_Document* pDoc,
36 CPDF_Dictionary* pAnnotDict); 36 CPDF_Dictionary* pAnnotDict);
37 static bool GeneratePopupAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict);
37 static bool GenerateSquareAP(CPDF_Document* pDoc, 38 static bool GenerateSquareAP(CPDF_Document* pDoc,
38 CPDF_Dictionary* pAnnotDict); 39 CPDF_Dictionary* pAnnotDict);
39 static bool GenerateSquigglyAP(CPDF_Document* pDoc, 40 static bool GenerateSquigglyAP(CPDF_Document* pDoc,
40 CPDF_Dictionary* pAnnotDict); 41 CPDF_Dictionary* pAnnotDict);
41 static bool GenerateStrikeOutAP(CPDF_Document* pDoc, 42 static bool GenerateStrikeOutAP(CPDF_Document* pDoc,
42 CPDF_Dictionary* pAnnotDict); 43 CPDF_Dictionary* pAnnotDict);
43 static bool GenerateTextAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict); 44 static bool GenerateTextAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict);
44 static bool GenerateTextFieldAP(CPDF_Document* pDoc, 45 static bool GenerateTextFieldAP(CPDF_Document* pDoc,
45 CPDF_Dictionary* pAnnotDict); 46 CPDF_Dictionary* pAnnotDict);
46 static bool GenerateUnderlineAP(CPDF_Document* pDoc, 47 static bool GenerateUnderlineAP(CPDF_Document* pDoc,
(...skipping 17 matching lines...) Expand all
64 int32_t nFontIndex, 65 int32_t nFontIndex,
65 uint16_t Word, 66 uint16_t Word,
66 uint16_t SubWord); 67 uint16_t SubWord);
67 static CFX_ByteString GetWordRenderString(const CFX_ByteString& strWords); 68 static CFX_ByteString GetWordRenderString(const CFX_ByteString& strWords);
68 static CFX_ByteString GetFontSetString(IPVT_FontMap* pFontMap, 69 static CFX_ByteString GetFontSetString(IPVT_FontMap* pFontMap,
69 int32_t nFontIndex, 70 int32_t nFontIndex,
70 FX_FLOAT fFontSize); 71 FX_FLOAT fFontSize);
71 }; 72 };
72 73
73 #endif // CORE_FPDFDOC_CPVT_GENERATEAP_H_ 74 #endif // CORE_FPDFDOC_CPVT_GENERATEAP_H_
OLDNEW
« no previous file with comments | « core/fpdfdoc/cpdf_annotlist.cpp ('k') | core/fpdfdoc/cpvt_generateap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698