Changeset 58 for trunk/src/DocumentOutline.cxx
- Timestamp:
- 04/14/06 10:13:02 (3 years ago)
- Files:
-
- 1 moved
-
trunk/src/DocumentOutline.cxx (moved) (moved from trunk/src/DocumentIndex.cxx) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/DocumentOutline.cxx
r49 r58 22 22 23 23 /// 24 /// @brief Constructs a new Document Index.24 /// @brief Constructs a new DocumentOutline. 25 25 /// 26 Document Index::DocumentIndex()26 DocumentOutline::DocumentOutline () 27 27 { 28 28 } 29 29 30 30 /// 31 /// @brief Destroys any dynamically created object of DocumentIndex;31 /// @brief Destroys any dynamically allocated memory for DocumentOutline. 32 32 /// 33 Document Index::~DocumentIndex()33 DocumentOutline::~DocumentOutline () 34 34 { 35 35 } 36 36 37 37 /// 38 /// @brief Get the number of children for this index.38 /// @brief Get the outline's destination page. 39 39 /// 40 /// @return The number of children this index has. 40 /// I'm only using the outlines as a way to go to an specific page, although 41 /// the PDF Specification says that an outline could open a page from another 42 /// file, execute an application, etc... I won't use all those features and 43 /// concentrate only on the pages. 44 /// 45 /// @return The destination page number for the outline number or 1 if the 46 /// outline item has no page number (like the root outline item or 47 /// other kinds of destinations). 41 48 /// 42 49 gint 43 DocumentIndex::getNumChildren () 50 DocumentOutline::getDestinationPage () 51 { 52 return 1; 53 } 54 55 /// 56 /// @brief The first children of the outline item. 57 /// 58 /// @return The pointer to the first children of the outline item, or 59 /// NULL if the outline has no children. 60 /// 61 DocumentOutline * 62 DocumentOutline::getFirstChild () 63 { 64 return NULL; 65 } 66 67 /// 68 /// @brief Gets the number of children for this outline. 69 /// 70 /// @return The number of children this utline has. 71 /// 72 gint 73 DocumentOutline::getNumChildren () 44 74 { 45 75 return 0; 46 76 } 77 78 /// 79 /// @brief Gets the outline's title. 80 /// 81 /// @return The title of the outline item or an empty string if the 82 /// outline item has no title (like the root outline item). 83 /// 84 const gchar * 85 DocumentOutline::getTitle () 86 { 87 return ""; 88 }
