Antwort: Re: bulleted numbering list

Frank Erlbacher <[email protected]>
Newsgroups gmane.text.xml.xfc.general
Message-ID <OF3C1E5213.DCB2063C-ONC125796D.006F221F-C125796D.0072CD77@data-experts.de>
Hello,

yes, in a rtf-viewer the generated rtf-File looks good. But is isn't a 
arial-bullet. It is a symbol-middlepoint, If you open the rtf-file as 
plain text you can see it.
The workflow I have to realize:

creating a rtf-template with substitution fields by customer
transforming the template to xsl-fo and substitute the fields with values 
by a third party tool
rendering to rtf with XSL-FO Converter
editing the rtf-file by customer
transforming the rtf-file to xsl-fo by a third party tool
rendering to pdf with apache fop

The rtf-file looks (step 4) looks good. But the rtf-file generated  by 
XSL-FO Converter (step 5) contains the following:
{\*\listtable
{\list\listid664038103\listsimple
{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0
{\leveltext\'02\'00·;}
{\levelnumbers\'01;}
\plain\f3\fs22\cf2
}

The result of step 6 is a numbered and bulleted list:

Rendering the xsl-fo (step 6) to rtf by XSL-FO Converter the result looks 
like this: 

Thanks
Frank Erlbacher

data experts gmbh
Woldegker Str. 12
17033 Neubrandenburg
Fax.:     0395 5630-302
E-Mail: [email protected]
http://www.data-experts.de

Sitz der Gesellschaft: Neubrandenburg
HRB-2211 Amtsgericht Neubrandenburg
Geschäftsführer: Dietmar Schielke, Stefan Jaster




Von:    Hussein Shafie <[email protected]>
An:     Frank Erlbacher <[email protected]>
Kopie:  "[email protected]" <[email protected]>
Datum:  21.12.2011 11:39
Betreff:        Re: [XFC] bulleted numbering list



On 12/20/2011 06:41 PM, Frank Erlbacher wrote:
>
> I converted a bulleted numbering list. The font-family of the
> list-item-label is "Arial".
> After rendering with XSL-FO-Converter the font-family of the
> list-item-label has changed to "Symbol". Furthermore the list-item-label
> is a MiddleDot (\u00B7) instead of a Bullet (\u2022).
>
> How can I solve this problem?
>

First of all, we don't really see what is wrong with 1324400091930.rtf 
(see attached screenshot: the bulleted list items look good and behave 
as expected).

Now if you want to control what happens with lists, you need to use the 
xfc:label-format extension attribute. See 
http://www.xmlmind.com/foconverter/_distrib/doc/user/implementation.html#xfc_label-format


If you specify xfc:label-format="", it will work --more or less-- as you 
want, but MS-Word will not consider that your list is a proper list. See 
attached not-proper-list.fo

If you specify xfc:label-format="&#x2022;" (see attached 
proper-list.fo), it will *not* work as you expect it. This behavior is 
specific to RTF. It should work as you expect it with say, the .docx 
format. We do not intend to change this behavior because we suspect 
(frankly, we do not remember) that the current behavior is needed to 
maintain the compatibility with ancient versions of MS-Word.

 
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support
1324400091930.png (application/octet-stream, 59.5 KB) - not displayed
not-proper-list.fo (application/octet-stream, 1.6 KB) - not displayed
proper-list.fo (application/octet-stream, 1.6 KB) - not displayed
1324400429546.pdf (application/octet-stream, 6.3 KB) - not displayed
1324500165351.rtf (application/rtf, 1.2 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.