diff options
author | Harri Pitkänen <hatapitk@iki.fi> | 2011-11-22 20:24:52 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-11-23 14:29:13 +0000 |
commit | 98761e3680bcb2268efd679330fa034e21ff2b9e (patch) | |
tree | 2a42421411459879bdb796be4d70f127979ce045 /sw/source/ui | |
parent | ff1b70c92aed555ecdbe424aac29373142c8fcb6 (diff) |
Enable :first-letter CSS pseudo-class for all browsers in HTML export
Previously when drop caps were specified in a paragraph style (not
as direct formatting) export to HTML was implemented with :first-letter
pseudo-class for "LibreOffice Writer" and through styling individual
characters for other browsers. Since all browsers used these days (even
obsolete ones like IE 5.5) support :first-letter there seems to be no
reason to maintain this difference. This patch unifies all export
modes to use :first-letter in such cases.
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/config/viewopt.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/ui/config/viewopt.cxx b/sw/source/ui/config/viewopt.cxx index 0ac6f96b4bee..5524fe2c70fa 100644 --- a/sw/source/ui/config/viewopt.cxx +++ b/sw/source/ui/config/viewopt.cxx @@ -348,7 +348,6 @@ sal_uInt16 GetHtmlMode(const SwDocShell* pShell) break; case HTML_CFG_WRITER: nRet |= HTMLMODE_FRM_COLUMNS|HTMLMODE_FULL_STYLES| - HTMLMODE_DROPCAPS| HTMLMODE_SOME_ABS_POS; break; } |