MCPcopy Create free account
hub / github.com/FreeFem/FreeFem-sources / addBookmark

Method addBookmark

plugin/seq/plotPDF.cpp:730–742  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

728 return;
729}
730
731void 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//----------------------------------------------------------------------

Callers 1

operator()Method · 0.45

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected