ScripterNG/Development/PortingOldScripter gsoc2011: Difference between revisions
Jump to navigation
Jump to search
Jainbasil1 (talk | contribs) No edit summary |
Jainbasil1 (talk | contribs) |
||
Line 9: | Line 9: | ||
|- | |- | ||
| havedoc || cmddoc.cpp || Scripter.activeDocument.available() | | havedoc || cmddoc.cpp || Scripter.activeDocument.available() | ||
|- | |||
| setmargins || cmddoc.cpp || Scripter.activeDocument.margins.set(..) | |||
|- | |- | ||
| selcount || cmdmani.cpp || Scripter.activeDocument.selection | | selcount || cmdmani.cpp || Scripter.activeDocument.selection | ||
Line 15: | Line 17: | ||
|- | |- | ||
| getpagemargins || cmdpage.cpp || Scripter.activeDocument.margins | | getpagemargins || cmdpage.cpp || Scripter.activeDocument.margins | ||
|- | |||
| getpageitems || cmdpage.cpp || Scripter.activeDocument.items | |||
|- | |||
| docchanged || guiapp.cpp || Scripter.activeDocument.modified | |||
|- | |||
| getallobj || cmdgetprop.cpp || Scripter.activeDocument.items | |||
|} | |} |
Revision as of 16:53, 13 May 2011
Document API
Object name : Scripter.activeDocument
Old Scripter Func/Prop Name | Filename (in old scripter) | Scripter2 |
---|---|---|
closedoc | cmddoc.cpp | Scripter.activeDocument.close() |
havedoc | cmddoc.cpp | Scripter.activeDocument.available() |
setmargins | cmddoc.cpp | Scripter.activeDocument.margins.set(..) |
selcount | cmdmani.cpp | Scripter.activeDocument.selection |
pagedimension | cmdpage.cpp | Scripter.activeDocument.dimensions |
getpagemargins | cmdpage.cpp | Scripter.activeDocument.margins |
getpageitems | cmdpage.cpp | Scripter.activeDocument.items |
docchanged | guiapp.cpp | Scripter.activeDocument.modified |
getallobj | cmdgetprop.cpp | Scripter.activeDocument.items |