View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005802 | Scribus | Scripter | public | 2007-05-31 16:49 | 2014-07-25 08:36 |
Reporter | CedricD | Assigned To | jainbasil | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | assigned | Resolution | open | ||
Product Version | 1.3.3.9cvs | ||||
Summary | 0005802: Two more script command would be nice : getObjectType and getTextAlignement | ||||
Description | getObjectType(n) to know the type of one object n without the need to query all by getPageItems command. getTextAlignement would be the mirror of setTextAlignement as all other text specification have their function and only this one is missing. | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
getStyle would also be very welcome to know the style applied to one object (Opposite commande of setStyle) |
|
and finally a setObjectName to change the name of object is also a basic missing. I promiss this is last of list... :) |
|
getObjectType(n) is now implemented and fully functional (1.4.1 svn) |
|
Reminder sent to: ale, gpittman Guys, what do we do with this issue? |
|
split it :-) as usual, i'm currently for removing rather than adding... so, instead of adding setObjectName() we should in the long term remove any way of seeing and chagning the items names. (except in the scripter, you should of course be able to get an handle to the item! and, of course one should be able to get the id for the current item in the gui and use it in a script!) we should have unique ids for everything in scribus, instead of ids with a pseudo meaning. this would help avoiding bugs with translations and conversions. (so a color should internally be referenced by its unique id not by its name! we also have hacks in place to avoid setting the name of styles to an empty string... and so on...). getStyle and getType are good ideas... but not sure if the effort is worth for adding them into the current scripter... |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-05-31 16:49 | CedricD | New Issue | |
2007-06-01 10:07 | CedricD | Note Added: 0016386 | |
2007-06-01 17:03 | CedricD | Note Added: 0016390 | |
2008-02-06 00:16 | christoph_s | Status | new => assigned |
2008-02-06 00:16 | christoph_s | Assigned To | => subik |
2012-07-05 17:03 | ale | Assigned To | subik => jainbasil |
2013-08-08 16:14 | CedricD | Note Added: 0030511 | |
2014-07-25 02:58 | Kunda | Note Added: 0032979 | |
2014-07-25 08:36 | ale | Note Added: 0032988 |