Updates:
Status: WontFix
Comment #1 on issue 1602 by
ni...@chromium.org: Retrieving the text color and syles of Bookmark.
https://bugs.chromium.org/p/pdfium/issues/detail?id=1602#c1Once you have a CPDF_Bookmark structure, you can get all entries of an outline(bookmark) according to their types indicated by Table 153 in the PDF 32000-2008 reference.
For example:
If you already get a CPDF_Bookmark pointer |bookmark|, you can get its dictionary by :
dict = bookmark->GetDict();
Key "/C" stands for an array type in the dictionary, so you can do:
CPDF_Array* color = dict->GetArrayFor("C");
Similarly, to get key "/F", which stands for an integer value if the text style, you can call:
int text_style = dict->GetIntegerFor("F");
Hope this helpful! If you have further questions, feel free to post in
pdf...@googlegroups.com.