Re: Fw: Questions

Hussein Shafie <[email protected]>
Newsgroups gmane.text.xml.xfc.general
Organization XMLmind
Message-ID <[email protected]>
J. McHam wrote:
> I have several questions about the XSL Utility that I am hoping you can
> answer, or at least point me in the right
> place in the XSL Utility documentation.
> 1. Are there any specific pros/cons to converting to RTF versus DOCX if
> I want to open the resulting file in Word 2007+?

Use .docx. It's the native format of MS-Word 2007+.



> The resulting RTF and DOCX files look the same to me, so I'm wondering
> if there is any significant difference?

.docx is not supported by MS-Word releases older than 2007+. RTF is.



> 2. I notice that none of paragraphs in the RTF or DOCX file have any
> Word styles attached to them. They are all
> "Normal." Is there any way to map Word styles to the paragraphs during
> the conversion process?

No.



> 3. I removed the numbering (i.e., 3.1, 3.1.1, 3.2, etc.) from my
> headings, but the headings are all formatted the
> same way in the RTF or DOCX files. Where/how to I specify that I want
> the different levels of headings
> formatted differently?

Customize the XSLT stylesheet which creates the XSL-FO intermediate 
file. Generally this kind of task is performed by an XML/XSLT consultant 
and not by the technical writer.

If your input XML files are DITA, what to do is explained here:
http://www.xmlmind.com/ditac/_distrib/doc/manual/manual-5.html
(XMLmind DITA Converter is embedded in XMLmind XSL Utility.)



> 4. Where/how would I change the color of heading text?

Customize the XSLT stylesheet which creates the XSL-FO intermediate file.



> 5. Where/how would I change the symbol used for bullets?

Customize the XSLT stylesheet which creates the XSL-FO intermediate file.



> 6. Where/how would I change the color of the number used for numbered
> lists? (We use a specific blue in bold for the numbers.)

Customize the XSLT stylesheet which creates the XSL-FO intermediate file.



> 7. I followed the instructions in Procedure 5 in online help for
> changing fonts, but I can't seem to get my fonts to appear
> in the resulting RTF file. We use Calibri for serif fonts (regular text)
> and Georgia for non-serif text (headings).

Why not? This does not look bad. See attached screenshot 
word2007_georgia.png.



> I know that may seem backwards, but that is our style. My RTF file still has Arial for
> headings and Times New Roman for regular text.
> I restarted the XSL Utility after changing the font specifications, and
> I still can't get my fonts to appear in the RTF.
> Any thoughts on what I am doing incorrectly?

I cannot reproduce this problem. See attached screenshot 
word2007_georgia.png.

I did what is depicted by attached screenshot 
xslutil_xfc_param_genericFontFamilies.png, that is, specify *XFC* (i.e. 
not FOP, not XSLT stylesheet) parameter:

genericFontFamilies

as:

serif=Calibri,sans-serif=Georgia

More information here:
http://www.xmlmind.com/foconverter/_distrib/doc/user/command_line_java.html
(Search for genericFontFamilies)

 
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support
word2007_georgia.png (image/png, 85.7 KB) - not displayed
xslutil_xfc_param_genericFontFamilies.png (image/png, 69.7 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.