Bug 109319 - FILEOPEN: DOCX - Not importing drop caps space to text value (w:hSpace)
Summary: FILEOPEN: DOCX - Not importing drop caps space to text value (w:hSpace)
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Justin L
Whiteboard: target:6.0.0
Depends on:
Blocks: DOCX Paragraph-Drop-Caps
  Show dependency treegraph
Reported: 2017-07-24 17:20 UTC by Yousuf Philips (jay) (retired)
Modified: 2017-08-15 19:53 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2017-07-24 17:20:12 UTC
1. Open attachment 134821 [details]
2. Notice that their there is no space between first drop caps 'L' and the 'I' and the text next to it
3. Compare this with MS Word and notice that there is space.

Build ID: 888f3f18cf42ca08f55a5e4826b4298f391e14aa
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group

Checking the XML and LO isnt importing the w:hSpace attribute from the <w:framePr> tag.

e.g. <w:framePr w:dropCap="drop" w:lines="2" w:hSpace="720" w:wrap="around" w:vAnchor="text" w:hAnchor="text" />
Comment 1 Yousuf Philips (jay) (retired) 2017-07-24 17:35:06 UTC
how it looks in Word - attachment 134825 [details]
Comment 2 Jacques Guilleron 2017-07-25 14:21:23 UTC
Hi Yousuf,

I reproduce with
LO Build ID: 643da8ec4e721d33dfdf8d78bedd50a915f1188d
CPU threads: 2; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-06-26_01:24:22
Locale: fr-FR (fr_FR); Calc: CL
and LO Version ID : 235ab8a-3802056-4a8fed3-2d66ea8-e241b80
so probably inherited from OOo
In Word, distance to text is 1.27 cm for the first L drop cap
and 0.51 cm set for the I drop cap.
Comment 3 Commit Notification 2017-08-15 19:51:54 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "master":


tdf#109319 writerfilter: set DropCap.Distance

It will be available in 6.0.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:

Affected users are encouraged to test the fix and report feedback.