From: Francis James Franklin (f.j.franklin@sheffield.ac.uk)
Date: Tue Aug 05 2003 - 15:44:39 EDT
The [X]HTML now supports options on the command line, e.g.:
AbiWord-2.0 --exp-props='html-markup: html4; html-images: embed'
--to=xhtml file.abw
The recognized options are:
html-markup html4 | xhtml whether to write HTML4 or XHTML
html-php yes | no whether to add <?php
instructions (for Abi's website)
html-xml declare | suppress whether to declare as <?xml
(sometimes problematic with <?php )
html-awml allow | suppress whether to add extra attributes
in AWML namespace
html-css embed | external whether to embed the stylesheet
html-images embed | external whether to embed images in URLs
as in the HTML options dialog (cf. Bug 5407), and also:
html-template <file> use <file> as template for
output
href-prefix <path> use <path> as prefix for
template href attributes marked with initial '$'
which I will explain in a different e-mail.
o UT_UTF8Hash:
- rename recently added parse_css_string() method to parse_properties()
- add new parse_attributes() method to handle 'key1="val1" key2="val2"
...'
o UT_UTF8String:
- new escape() method, wrapper around UT_UTF8Stringbuf method of same
name
o UT_UTF8Stringbuf:
- new escape() method: an inline replace of one string with another
- fix nasty evil bug (at least I think it's a bug) to do with buffer
length
o UT_XML:
- implement functionality in libxml2 parser required for ExpertListener
- fix oversight in expat parser to do with ExpertListener
o IE_Exp:
- make recently added getProperty() method public in scope
o IE_Exp_HTML:
- support command-line export properties
- option to export XHTML within an external XHTML template
CVS:
----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/af/util/xp/ut_IntStrMap.cpp src/af/util/xp/ut_IntStrMap.h
CVS: src/af/util/xp/ut_string_class.cpp
CVS: src/af/util/xp/ut_string_class.h
CVS: src/af/util/xp/ut_stringbuf.cpp src/af/util/xp/ut_stringbuf.h
CVS: src/af/util/xp/ut_xml_expat.cpp
CVS: src/af/util/xp/ut_xml_libxml2.cpp src/wp/impexp/xp/ie_exp.cpp
CVS: src/wp/impexp/xp/ie_exp.h src/wp/impexp/xp/ie_exp_HTML.cpp
CVS: src/wp/impexp/xp/ie_exp_HTML.h
CVS:
----------------------------------------------------------------------
Regards, Frank
This archive was generated by hypermail 2.1.4 : Tue Aug 05 2003 - 16:00:49 EDT