bookmarks

책갈피 (Bookmark) 컬렉션.

노트

API 시그니처와 docstring 은 Python 소스에서 자동 생성되어 영문으로 표시됩니다.

bookmarks.BookmarkCollection

collections.bookmarks.BookmarkCollection(app)

doc.bookmarks — collection of HWP bookmarks (책갈피).

Enumerates the document’s HeadCtrlNext chain, yielding a :class:Bookmark for each control whose CtrlID is "bokm".

Methods

Name Description
add Insert a bookmark at the current cursor position.

add

collections.bookmarks.BookmarkCollection.add(name)

Insert a bookmark at the current cursor position.

bookmarks.Bookmark

collections.bookmarks.Bookmark(app, name)

Value object for a single HWP bookmark.

Methods

Name Description
goto Move the cursor to this bookmark. Returns success.
remove Delete this bookmark. Returns success.

goto

collections.bookmarks.Bookmark.goto()

Move the cursor to this bookmark. Returns success.

remove

collections.bookmarks.Bookmark.remove()

Delete this bookmark. Returns success.

맨 위로