Re: Problem with margins in blocks containing form elements

Hussein Shafie <[email protected]>
Newsgroups gmane.text.xml.xfc.general
Organization XMLmind
Message-ID <[email protected]>
On 01/15/2013 12:45 PM, LEITNER Martin wrote:
>
> in the attached sample I use the docx-sdt-extensions to create dropdown
> fields. All is fine except for the third field:
>
> ·The margin-bottom from the block above is converted to a margin-top on
> the following block, as xfc always does. This were ok if it were a
> margin, but instead the dropdown-field becomes higher.

Yes, that's right. See attached screenshot.



>
> ·Also, the block with the field has a margin-bottom in the docx,
> although there is no such margin in the fo.
>
> I am using xfc version 4.7.0, calling it directly from my Java code.
>
> Is there a known solution to this problem?
>

Sorry but the answer is no. This looks like a bug in MS-Word. I've tried 
a couple of workarounds (suppress attributes like linefeed-treatment, 
wrap field in fo:inline, etc) but they didn't work.


--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support
dropdown-field_in_word_2007.png (image/png, 58.8 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.