From 57f228d7527594de55951fa05e6082ba62382c57 Mon Sep 17 00:00:00 2001 From: Jane Liu Date: Thu, 13 Jul 2017 18:10:30 -0400 Subject: Updated pdfium_test's WriteAnnot() Updated pdfium_test's WriteAnnot() (corresponding to the --annot flag) to output more annotation info using the new APIs. Also fixed some nits in the annotation API code. Bug=pdfium:737 Change-Id: I3f40e83279ec82529f732eb94f309ab7d4992d3c Reviewed-on: https://pdfium-review.googlesource.com/7791 Reviewed-by: dsinclair Commit-Queue: Jane Liu --- public/fpdf_annot.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'public') diff --git a/public/fpdf_annot.h b/public/fpdf_annot.h index c42b7059dc..e6c33a59eb 100644 --- a/public/fpdf_annot.h +++ b/public/fpdf_annot.h @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com - #ifndef PUBLIC_FPDF_ANNOT_H_ #define PUBLIC_FPDF_ANNOT_H_ @@ -318,7 +316,7 @@ DLLEXPORT FPDF_BOOL STDCALL FPDFAnnot_HasKey(FPDF_ANNOTATION annot, FPDF_WIDESTRING key); // Experimental API. -// Get the type of the value corresponding to |key| in |annot|'s dictioanry. +// Get the type of the value corresponding to |key| in |annot|'s dictionary. // // annot - handle to an annotation. // key - the key to look for. @@ -330,7 +328,7 @@ DLLEXPORT FPDF_OBJECT_TYPE STDCALL FPDFAnnot_GetValueType(FPDF_ANNOTATION annot, // Experimental API. // Set the string value corresponding to |key| in |annot|'s dictionary, // overwriting the existing value if any. The value type would be -// FPDF_OBJECT_STRING after this function call. +// FPDF_OBJECT_STRING after this function call succeeds. // // annot - handle to an annotation. // key - the key to the dictionary entry to be set, encoded in UTF16-LE. -- cgit v1.2.3