View Issue Details

IDProjectCategoryView StatusLast Update
0016211ScribusScripterpublic2020-08-14 12:29
Reporterale Assigned To 
Status newResolutionopen 
Summary0016211: rename a few scripter commands to better match what they do
Description- setInfo -> setDocInfo
- setBaseLine -> setDocBaseline
- createCustomLineStyle -> createLineStyle
- for colors use set/create instead of change/define.
- fileQuit -> fileQuitDialog
- `loadStylesFromFile -> loadParagraphStyles (if the docstring is correct...)

on top of it, a bit more "optional" / "controversial":

setUnit -> setDocUnit
scrollDocument -> scrollView
zoomDocumnet -> zoomView
redrawAll -> redrawDoc

on top of it (2) we should think about

- always using Doc or Document
- merging getAllObjects() and getPageItems()
- renameing all or most command with Objects to Items

p.s.: sadly, a timeout issue has eaten up a few of my notes, so this is what i can deliver now...
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-08-13 09:21 ale New Issue
2020-08-13 09:36 ale Description Updated
2020-08-13 10:23 ale Description Updated
2020-08-13 10:41 ale Description Updated
2020-08-13 11:15 ale Description Updated
2020-08-14 06:09 ale Description Updated
2020-08-14 12:29 ale Description Updated