MCPcopy Create free account
hub / github.com/lxn/walk / currentPage

Method currentPage

src/pkg/walk/document.go:64–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62}
63
64func (doc *Document) currentPage() *Page {
65 if len(doc.pages) == 0 {
66 return nil
67 }
68
69 return doc.pages[len(doc.pages)-1]
70}
71
72func (doc *Document) NextPageInfo() *PageInfo {
73 return doc.nextPageInfo

Callers 2

InsertPageBreakMethod · 0.95
paginateItemMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected