2022-08-31 01:11:03 +00:00
|
|
|
Extension { #name : #LePageHeaderBuilder }
|
|
|
|
|
|
|
|
{ #category : #'*MiniDocs' }
|
|
|
|
LePageHeaderBuilder >> addExportPageButton [
|
|
|
|
<leHeaderAction>
|
|
|
|
| newButton |
|
|
|
|
|
|
|
|
newButton := BrButton new
|
|
|
|
aptitude: BrGlamorousButtonWithIconAptitude;
|
|
|
|
label: 'Export Page';
|
|
|
|
icon: BrGlamorousVectorIcons down;
|
2022-08-31 01:56:10 +00:00
|
|
|
action: [ :aButton | self page asMarkdeepFile ].
|
2022-08-31 01:11:03 +00:00
|
|
|
self toolbarElement addItem: newButton.
|
|
|
|
]
|