1.1 --- a/pdf_bookmark.c Wed Mar 05 20:44:33 2003 +0000 1.2 +++ b/pdf_bookmark.c Wed Mar 05 20:56:25 2003 +0000 1.3 @@ -4,7 +4,7 @@ 1.4 * will be compressed using ITU-T T.6 (G4) fax encoding. 1.5 * 1.6 * PDF routines 1.7 - * $Id: pdf_bookmark.c,v 1.4 2003/03/05 12:44:33 eric Exp $ 1.8 + * $Id: pdf_bookmark.c,v 1.5 2003/03/05 12:56:25 eric Exp $ 1.9 * Copyright 2003 Eric Smith <eric@brouhaha.com> 1.10 * 1.11 * This program is free software; you can redistribute it and/or modify 1.12 @@ -38,6 +38,24 @@ 1.13 #include "pdf_private.h" 1.14 1.15 1.16 +struct pdf_bookmark 1.17 +{ 1.18 + struct pdf_obj *dict; /* indirect reference */ 1.19 + struct pdf_obj *count; 1.20 + bool open; 1.21 + 1.22 + struct pdf_bookmark *first; 1.23 + struct pdf_bookmark *last; 1.24 + 1.25 + /* the following fields don't appear in the root */ 1.26 + /* title and dest are in the dictionary but don't have 1.27 + explicit fields in the C structure */ 1.28 + struct pdf_bookmark *parent; 1.29 + struct pdf_bookmark *prev; 1.30 + struct pdf_bookmark *next; 1.31 +}; 1.32 + 1.33 + 1.34 static void pdf_bookmark_update_count (pdf_bookmark_handle entry) 1.35 { 1.36 while (entry)