ScripterNG/Development/PortingOldScripter gsoc2011: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
|-
|-
| loadStylesFromFile(...) || Scripter.activeDocument.loadStylesFromFile(...) || Document || not done
| loadStylesFromFile(...) || Scripter.activeDocument.loadStylesFromFile(...) || Document || not done
|-
| masterPageNames(...) || Scripter.activeDocument.masterPageNames || Document || not done
|}
|}

Revision as of 17:23, 13 May 2011

Document related commands

filename : cmddoc.h, cmddoc.cpp

Command in old scripter Speculated in Scripter2 Proposed API Status
closeDoc(...) Scripter.activeDocument.close() Document done
docChanged(...) Scripter.activeDocument.setModified(bool) Document done
getUnit(...) Scripter.activeDocument.getUnit Document not done
haveDoc(...) Scripter.activeDocument.available Document done
loadStylesFromFile(...) Scripter.activeDocument.loadStylesFromFile(...) Document not done
masterPageNames(...) Scripter.activeDocument.masterPageNames Document not done