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

Side by Side Diff: fpdfsdk/fpdfview_c_api_test.c

Issue 2521843003: Add API for getting page labels. (Closed)
Patch Set: Add tests, distinguish between failure and empty label Created 4 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 2015 PDFium Authors. All rights reserved. 1 // Copyright 2015 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 // This "C" (not "C++") file ensures that the public headers compile 5 // This "C" (not "C++") file ensures that the public headers compile
6 // and link for "C" (and not just "C++"). 6 // and link for "C" (and not just "C++").
7 7
8 #include <stdio.h> 8 #include <stdio.h>
9 9
10 #include "fpdfsdk/fpdfview_c_api_test.h" 10 #include "fpdfsdk/fpdfview_c_api_test.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 CHK(FPDFDest_GetLocationInPage); 57 CHK(FPDFDest_GetLocationInPage);
58 CHK(FPDFLink_GetLinkAtPoint); 58 CHK(FPDFLink_GetLinkAtPoint);
59 CHK(FPDFLink_GetLinkZOrderAtPoint); 59 CHK(FPDFLink_GetLinkZOrderAtPoint);
60 CHK(FPDFLink_GetDest); 60 CHK(FPDFLink_GetDest);
61 CHK(FPDFLink_GetAction); 61 CHK(FPDFLink_GetAction);
62 CHK(FPDFLink_Enumerate); 62 CHK(FPDFLink_Enumerate);
63 CHK(FPDFLink_GetAnnotRect); 63 CHK(FPDFLink_GetAnnotRect);
64 CHK(FPDFLink_CountQuadPoints); 64 CHK(FPDFLink_CountQuadPoints);
65 CHK(FPDFLink_GetQuadPoints); 65 CHK(FPDFLink_GetQuadPoints);
66 CHK(FPDF_GetMetaText); 66 CHK(FPDF_GetMetaText);
67 CHK(FPDF_GetPagelLabel);
67 68
68 // fpdf_edit.h 69 // fpdf_edit.h
69 CHK(FPDF_CreateNewDocument); 70 CHK(FPDF_CreateNewDocument);
70 CHK(FPDFPage_New); 71 CHK(FPDFPage_New);
71 CHK(FPDFPage_Delete); 72 CHK(FPDFPage_Delete);
72 CHK(FPDFPage_GetRotation); 73 CHK(FPDFPage_GetRotation);
73 CHK(FPDFPage_SetRotation); 74 CHK(FPDFPage_SetRotation);
74 CHK(FPDFPage_InsertObject); 75 CHK(FPDFPage_InsertObject);
75 CHK(FPDFPage_CountObject); 76 CHK(FPDFPage_CountObject);
76 CHK(FPDFPage_GetObject); 77 CHK(FPDFPage_GetObject);
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 #ifdef PDF_ENABLE_XFA 238 #ifdef PDF_ENABLE_XFA
238 CHK(FPDF_BStr_Init); 239 CHK(FPDF_BStr_Init);
239 CHK(FPDF_BStr_Set); 240 CHK(FPDF_BStr_Set);
240 CHK(FPDF_BStr_Clear); 241 CHK(FPDF_BStr_Clear);
241 #endif 242 #endif
242 243
243 return 1; 244 return 1;
244 } 245 }
245 246
246 #undef CHK 247 #undef CHK
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698