1
0
mirror of synced 2026-01-13 15:27:55 +00:00

move struct pdf_bookmark from pdf_private.h into pdf_bookmark.c.

This commit is contained in:
Eric Smith 2003-03-05 20:56:25 +00:00
parent 0ba478a208
commit 47d13daa0c
2 changed files with 20 additions and 20 deletions

View File

@ -4,7 +4,7 @@
* will be compressed using ITU-T T.6 (G4) fax encoding.
*
* PDF routines
* $Id: pdf_bookmark.c,v 1.4 2003/03/05 12:44:33 eric Exp $
* $Id: pdf_bookmark.c,v 1.5 2003/03/05 12:56:25 eric Exp $
* Copyright 2003 Eric Smith <eric@brouhaha.com>
*
* This program is free software; you can redistribute it and/or modify
@ -38,6 +38,24 @@
#include "pdf_private.h"
struct pdf_bookmark
{
struct pdf_obj *dict; /* indirect reference */
struct pdf_obj *count;
bool open;
struct pdf_bookmark *first;
struct pdf_bookmark *last;
/* the following fields don't appear in the root */
/* title and dest are in the dictionary but don't have
explicit fields in the C structure */
struct pdf_bookmark *parent;
struct pdf_bookmark *prev;
struct pdf_bookmark *next;
};
static void pdf_bookmark_update_count (pdf_bookmark_handle entry)
{
while (entry)

View File

@ -4,7 +4,7 @@
* will be compressed using ITU-T T.6 (G4) fax encoding.
*
* PDF routines
* $Id: pdf_private.h,v 1.4 2003/03/05 12:39:50 eric Exp $
* $Id: pdf_private.h,v 1.5 2003/03/05 12:56:25 eric Exp $
* Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
*
* This program is free software; you can redistribute it and/or modify
@ -45,24 +45,6 @@ struct pdf_pages
};
struct pdf_bookmark
{
struct pdf_obj *dict; /* indirect reference */
struct pdf_obj *count;
bool open;
struct pdf_bookmark *first;
struct pdf_bookmark *last;
/* the following fields don't appear in the root */
/* title and dest are in the dictionary but don't have
explicit fields in the C structure */
struct pdf_bookmark *parent;
struct pdf_bookmark *prev;
struct pdf_bookmark *next;
};
struct pdf_file
{
FILE *f;