View Issue Details

IDProjectCategoryView StatusLast Update
0001727ScribusImport / Exportpublic2006-04-24 13:53
Reporterpdonis Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status confirmedResolutionopen 
PlatformLinuxOSSuSEOS Version9.2
Product Version1.3 
Summary0001727: HTML import doesn't respect CSS
DescriptionWhen I import with "Get Text" an HTML document that is formatted with CSS, the CSS styles do not get included in Scribus. This happens both when the CSS is embedded in the HTML document and when it is in a separate stylesheet referenced with a link tag.
Steps To ReproduceOpen a blank document, create a text frame, "Get Text" and select an HTML document with CSS formatting. The style in Scribus will be the Scribus default HTML style, not the CSS style.
TagsNo tags attached.
Patch

Relationships

related to 0003698 closedHerm Latex import 

Activities

ringerc

2005-02-25 06:33

reporter   ~0003816

There's no CSS support in the importer at the moment. I don't know if there are any plans to work on it.

I'm converting this to a 'feature' bug, as it's really desired functionality rather than something that's broken.

plinnell

2005-04-07 21:03

viewer   ~0004131

moving to 1.3+ as a feature request

mhanski

2006-04-08 15:41

developer   ~0009698

do we really need this? Which real world scenario for this feature request would justify the amount of work needed to implement it?

christoph_s

2006-04-21 13:13

developer   ~0010235

The real world scenario is or will be, that in the future more and more HTML documents will contain CSS formatting, which is what W3C recommends.

mhanski

2006-04-21 13:23

developer   ~0010237

christoph_s: I extencively use CSS myself (it's a part of my job :), but under which circumstances would such a complexity in HTML importer be needed? Importing of CSS styled websites into a DTP application doesn't occur to me as a very common task.

christoph_s

2006-04-21 13:43

developer   ~0010240

I don't think the feature request means css formatted web pages, but css formatted text. IMHO, it makes sense to translate CSS text styles to scribus styles, if possible.

mhanski

2006-04-23 22:21

developer   ~0010382

Last edited: 2006-04-24 12:43

christoph_s: and which dtp related programmes (apart from web authoring tools) would produce such CSS styled html output to be imported into Scribus? I would without any hesitation support import/export filters for Lyx and Latex, even DocBook, but i don't think this one would become a widely used one.

christoph_s

2006-04-23 22:31

developer   ~0010384

mhanski,

>>>and which dtp related programmes (apart from web authoring tools) would produce such CSS styled html output to be imported into Scribus?

I'm not talking about DTP related programs, but any other program. OO.o, for instance, uses CSS in HTML export. There may be other text related programs (e.g. wordprocessors that don't support OpenDocument).

plinnell

2006-04-24 13:53

viewer   ~0010411

there are libraries which can provide the css parsing capabilities like libcroco with libxml2.

This is a legitimate request IMO.

Issue History

Date Modified Username Field Change
2005-02-25 04:18 pdonis New Issue
2005-02-25 06:33 ringerc Note Added: 0003816
2005-02-25 06:33 ringerc Severity minor => feature
2005-04-07 21:03 plinnell Note Added: 0004131
2005-04-07 21:03 plinnell Product Version 1.2.1 => 1.3
2006-04-08 15:41 mhanski Note Added: 0009698
2006-04-21 12:50 mhanski Status new => feedback
2006-04-21 13:13 christoph_s Note Added: 0010235
2006-04-21 13:23 mhanski Note Added: 0010237
2006-04-21 13:43 christoph_s Note Added: 0010240
2006-04-23 22:21 mhanski Note Added: 0010382
2006-04-23 22:31 christoph_s Note Added: 0010384
2006-04-24 11:49 mhanski Relationship added related to 0003698
2006-04-24 12:43 mhanski Note Edited: 0010382
2006-04-24 13:53 plinnell Note Added: 0010411
2006-04-24 13:53 plinnell Status feedback => confirmed