ScripterNG/Development/PortingOldScripter gsoc2011: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
{| class="wikitable"
{| class="wikitable"
|-
|-
! command in old scripter !! speculated in Scripter2 !! Proposed API !! Status
! Command in old scripter !! Speculated in Scripter2 !! Proposed API !! Status
|-
|-
| closeDoc(...) || Scripter.activeDocument.close() || Document API || done
| closeDoc(...) || Scripter.activeDocument.close() || Document || done
|-
|-
| Example || Example || .. || ..
| docChanged(...) || Scripter.activeDocument.setModified(bool) || Document || done
|-
|-
| Example || Example || .. || ..
| getUnit(...) || Scripter.activeDocument.getUnit || Document || not done
|-
|-
| Example || Example || .. || ..
| haveDoc(...) || Scripter.activeDocument.available || Document || done
|-
| loadStylesFromFile(...) || Scripter.activeDocument.loadStylesFromFile(...) || Document || not done
|}
|}
* closeDoc(...)
* docChanged(...)
* getUnit(...)
* haveDoc(...)
* loadStylesFromFile(...)

Revision as of 17:22, 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