View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005809 | Scribus | Scripter | public | 2007-06-01 14:55 | 2009-11-23 06:30 |
Reporter | CedricD | Assigned To | subik | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
OS | window | OS Version | XP | ||
Product Version | 1.3.3.9cvs | ||||
Summary | 0005809: The setText command reset the style of the text frame | ||||
Description | If text frame has been manually given some style when changing the text with the command setText the style is lost. Natural behavior should change only text and don't touch anything else. | ||||
Steps To Reproduce | Create text frame named text1 with anytext (say "ha que coucou") Change style to be centered and Font size 20pt from script console import scribus scribus.setText("bye bye","text1") the style is back to size 12 pt sometime centered sometimes not. | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
Still happens with 1.3.5.1. I'm running Scribus on Windows XP. I snagged on this while working on a numbering script that replaces text frames containing strings of zeroes (e.g. '000', '0000') with numbers. The preservation of styles would ease the writing of text replacement scripts like these. |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-06-01 14:55 | CedricD | New Issue | |
2008-02-06 00:17 | christoph_s | Status | new => assigned |
2008-02-06 00:17 | christoph_s | Assigned To | => subik |
2009-11-23 06:30 | kaixiong | Note Added: 0022876 |