]>
git.ipfire.org Git - thirdparty/cups.git/blob - pdftops/Outline.h
1 //========================================================================
5 // Copyright 2002-2003 Glyph & Cog, LLC
7 //========================================================================
14 #ifdef USE_GCC_PRAGMAS
19 #include "CharTypes.h"
26 //------------------------------------------------------------------------
31 Outline(Object
*outlineObj
, XRef
*xref
);
34 GList
*getItems() { return items
; }
38 GList
*items
; // NULL if document has no outline
42 //------------------------------------------------------------------------
47 OutlineItem(Dict
*dict
, XRef
*xrefA
);
50 static GList
*readItemList(Object
*firstItemRef
, Object
*lastItemRef
,
56 Unicode
*getTitle() { return title
; }
57 int getTitleLength() { return titleLen
; }
58 LinkAction
*getAction() { return action
; }
59 GBool
isOpen() { return startsOpen
; }
60 GBool
hasKids() { return firstRef
.isRef(); }
61 GList
*getKids() { return kids
; }
73 GList
*kids
; // NULL unless this item is open [OutlineItem]