View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010595 | Scribus | Import / Export | public | 2012-02-23 09:22 | 2012-04-29 10:57 |
Reporter | c.amerijckx@nirond.be | Assigned To | jghali | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.4.0 | ||||
Fixed in Version | 1.4.1.svn | ||||
Summary | 0010595: Imported page, in some case, loses its text frame style | ||||
Description | I am using Scribus 1.4.0. When importing a document inside another one (either via the menus Page->Import or via the API command importPage), the style of the Text Frames are lost. Looking at the resulting document, it seems that the Style XML section is not imported and the text frame style is replaced by a "Default Paragraph Style". I don't know if I am doing something wrong or if this is bug/feature but for sure, this is not the expected result. I'm attaching the test case I am using. There are two documents Document-1.sla and Document-2.sla. In both documents, the texts in the frames are coming from an OpenOffice document and imported using getText. I am also attaching a Python script in order to execute the same commands (you'll have to fix the path to the files in it). In Document-1, I have 2 styles: Doc1_Heading_20_1 and Doc1_Text_20_body In Document-2, I also have 2 styles: Doc2_Heading_20_1 and Doc2_Text_20_body In the merged document, I only have the Document-1 style; the style for the second frame is replaced by: Default Paragraph Style. Using the drop down menu inside Properties > Text > Styles... only shows the Document-1 style, nothing for Document-2. There is a workaround. Before importing the page, I'm doing a "loadStylesFromFile" (commented in the Python script) to have the styles already known inside the document. This is working and the output document contains (and is using) all the correct styles. But this is still a workaround... Don't hesitate to get in touch if you need more info. | ||||
Tags | No tags attached. | ||||
Patch | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2012-02-23 09:22 | c.amerijckx@nirond.be | New Issue | |
2012-02-23 09:22 | c.amerijckx@nirond.be | File Added: mergeSLA.zip | |
2012-02-25 12:49 | jghali | Note Added: 0027749 | |
2012-02-25 12:49 | jghali | Status | new => resolved |
2012-02-25 12:49 | jghali | Fixed in Version | => 1.4.1.svn |
2012-02-25 12:49 | jghali | Resolution | open => fixed |
2012-02-25 12:49 | jghali | Assigned To | => jghali |
2012-04-29 10:57 | cbradney | Status | resolved => closed |