Wed, 05 Mar 2003 20:56:25 +0000
move struct pdf_bookmark from pdf_private.h into pdf_bookmark.c.
pdf_bookmark.c | file | annotate | diff | revisions | |
pdf_private.h | file | annotate | diff | revisions |
1.1 diff -r 74b6b230f85d -r 4cd9d23d924a pdf_bookmark.c 1.2 --- a/pdf_bookmark.c Wed Mar 05 20:44:33 2003 +0000 1.3 +++ b/pdf_bookmark.c Wed Mar 05 20:56:25 2003 +0000 1.4 @@ -4,7 +4,7 @@ 1.5 * will be compressed using ITU-T T.6 (G4) fax encoding. 1.6 * 1.7 * PDF routines 1.8 - * $Id: pdf_bookmark.c,v 1.4 2003/03/05 12:44:33 eric Exp $ 1.9 + * $Id: pdf_bookmark.c,v 1.5 2003/03/05 12:56:25 eric Exp $ 1.10 * Copyright 2003 Eric Smith <eric@brouhaha.com> 1.11 * 1.12 * This program is free software; you can redistribute it and/or modify 1.13 @@ -38,6 +38,24 @@ 1.14 #include "pdf_private.h" 1.15 1.16 1.17 +struct pdf_bookmark 1.18 +{ 1.19 + struct pdf_obj *dict; /* indirect reference */ 1.20 + struct pdf_obj *count; 1.21 + bool open; 1.22 + 1.23 + struct pdf_bookmark *first; 1.24 + struct pdf_bookmark *last; 1.25 + 1.26 + /* the following fields don't appear in the root */ 1.27 + /* title and dest are in the dictionary but don't have 1.28 + explicit fields in the C structure */ 1.29 + struct pdf_bookmark *parent; 1.30 + struct pdf_bookmark *prev; 1.31 + struct pdf_bookmark *next; 1.32 +}; 1.33 + 1.34 + 1.35 static void pdf_bookmark_update_count (pdf_bookmark_handle entry) 1.36 { 1.37 while (entry)
2.1 diff -r 74b6b230f85d -r 4cd9d23d924a pdf_private.h 2.2 --- a/pdf_private.h Wed Mar 05 20:44:33 2003 +0000 2.3 +++ b/pdf_private.h Wed Mar 05 20:56:25 2003 +0000 2.4 @@ -4,7 +4,7 @@ 2.5 * will be compressed using ITU-T T.6 (G4) fax encoding. 2.6 * 2.7 * PDF routines 2.8 - * $Id: pdf_private.h,v 1.4 2003/03/05 12:39:50 eric Exp $ 2.9 + * $Id: pdf_private.h,v 1.5 2003/03/05 12:56:25 eric Exp $ 2.10 * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com> 2.11 * 2.12 * This program is free software; you can redistribute it and/or modify 2.13 @@ -45,24 +45,6 @@ 2.14 }; 2.15 2.16 2.17 -struct pdf_bookmark 2.18 -{ 2.19 - struct pdf_obj *dict; /* indirect reference */ 2.20 - struct pdf_obj *count; 2.21 - bool open; 2.22 - 2.23 - struct pdf_bookmark *first; 2.24 - struct pdf_bookmark *last; 2.25 - 2.26 - /* the following fields don't appear in the root */ 2.27 - /* title and dest are in the dictionary but don't have 2.28 - explicit fields in the C structure */ 2.29 - struct pdf_bookmark *parent; 2.30 - struct pdf_bookmark *prev; 2.31 - struct pdf_bookmark *next; 2.32 -}; 2.33 - 2.34 - 2.35 struct pdf_file 2.36 { 2.37 FILE *f;