| 728 | return; |
| 729 | } |
| 730 | |
| 731 | void SimplePDFModule::addBookmark( const char *const BookmarkLabel ) |
| 732 | { |
| 733 | OutlineItem item; |
| 734 | |
| 735 | item.headPageObjectNumber = page_obj_offset+2*page; |
| 736 | |
| 737 | item.label = new char [ strlen(BookmarkLabel)+1 ]; |
| 738 | strcpy( item.label, BookmarkLabel ); |
| 739 | |
| 740 | outline.push_back( item ); |
| 741 | |
| 742 | return; |
| 743 | } |
| 744 | |
| 745 | //---------------------------------------------------------------------- |