This chapter describes only default functionality available from menu and toolbars because it is very customizable and can very differ from release to release. Removing and adding new functionality is very simple.
Default menu item File
File - description of items
Close currently opened docuement (if it is changed, shows question dialog whether we want to save changes) and displays open file dialog. If file is selected and contains correct pdf document, it is opened in current window.
Script equivalent: func_load()
Saves changes for current document. This changes will appear as new revision after document is closed. Repeating save action will update previous Save calls. If you whant to close bunch of changes and stores them as new revision use Save new revision . This will allow you to conserve previous changes and continue in new bunch of changes.
Script equivalent: func_save()
Saves copy of the current document in the selected revision (TODO link). This feature is very usefull if you want to make changes for older revisions. This is normally not possible, because pdf documents doesn't support revision branching. So you can select desired revision and then use Save copy to create new pdf file, which contains everything up to selected revision. This file can be then opened and manipulated as usual.
Please note that this function doesn't save any changes made on top of the latest revision as they are not technically a part of this revision (changes will form a new revision after they are saved by save new revision).
Script equivalent: func_savecopy()
This is same as Save except that changes are closed and forms new revision which is definitivelly written to the file. All changes made after doesn't affect saved revision and goes to the currently newest one (as usual).
Script equivalent: func_saverev()
Open new window of PDFedit.
Script equivalent: newwindow()
Close actual window of PDFedit. If the document is changed allows saving the changes.
Script equivalent:
Close all windows of PDFedit and quit.
Script equivalent: closeAll()