ScripterNG/Development/PortingOldScripter gsoc2011: Difference between revisions
Jump to navigation
Jump to search
Jainbasil1 (talk | contribs) (Created page with "==Document API== Object name : Scripter.activeDocument {| class="wikitable" |- ! Old Scripter Func/Prop Name !! File (in old scripter) |- | Example || Example |- | Example || Ex...") |
Jainbasil1 (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Old Scripter Func/Prop Name !! | ! Old Scripter Func/Prop Name !! Filename (in old scripter) !! Scripter2 | ||
|- | |- | ||
| | | closedoc || cmddoc.cpp || Scripter.activeDocument.close() | ||
|- | |- | ||
| | | havedoc || cmddoc.cpp || Scripter.activeDocument.available() | ||
|- | |- | ||
| | | selcount || cmdmani.cpp || Scripter.activeDocument.selection | ||
|- | |- | ||
| | | pagedimension || cmdpage.cpp || Scripter.activeDocument.dimensions | ||
|- | |- | ||
| | | getpagemargins || cmdpage.cpp || Scripter.activeDocument.margins | ||
|} | |} |
Revision as of 16:47, 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() |
selcount | cmdmani.cpp | Scripter.activeDocument.selection |
pagedimension | cmdpage.cpp | Scripter.activeDocument.dimensions |
getpagemargins | cmdpage.cpp | Scripter.activeDocument.margins |