From 29479f6380942515b06240c4933bf3b4cf502013 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 4 Apr 2017 10:48:19 -0400 Subject: Add method to get tagged type This CL adds a FPDF_StructElement_GetType method to get the type of a given tagged struct. This corresponds to the /S key in the structure element dictionary. See PDF1.7 Table 10.10. Bug: pdfium:672 Change-Id: I313eb886dc9623715995d73a76bce01ba9985e4b Reviewed-on: https://pdfium-review.googlesource.com/3623 Commit-Queue: dsinclair Reviewed-by: Lei Zhang --- fpdfsdk/fpdfview_c_api_test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'fpdfsdk/fpdfview_c_api_test.c') diff --git a/fpdfsdk/fpdfview_c_api_test.c b/fpdfsdk/fpdfview_c_api_test.c index fec91efeca..9afbdd479e 100644 --- a/fpdfsdk/fpdfview_c_api_test.c +++ b/fpdfsdk/fpdfview_c_api_test.c @@ -178,6 +178,7 @@ int CheckPDFiumCApi() { CHK(FPDF_StructTree_CountChildren); CHK(FPDF_StructTree_GetChildAtIndex); CHK(FPDF_StructElement_GetAltText); + CHK(FPDF_StructElement_GetType); CHK(FPDF_StructElement_CountChildren); CHK(FPDF_StructElement_GetChildAtIndex); -- cgit v1.2.3