filters
- filters
- kword
- wordperfect
- import
29#include "WriterProperties.h"
30#include "DocumentElement.h"
32FontStyle::FontStyle( const char *psName, const char *psFontFamily) : Style(psName),
33 msFontFamily(psFontFamily),
34 msFontPitch(IMP_DEFAULT_FONT_PITCH)
38FontStyle::~FontStyle()
42void FontStyle::write(DocumentHandler &xHandler) const
44 TagOpenElement styleOpen( "style:font-decl");
45 styleOpen.addAttribute( "style:name", getName());
46 styleOpen.addAttribute( "fo:font-family", msFontFamily);
47 styleOpen.addAttribute( "style:font-pitch", msFontPitch);
48 styleOpen.write(xHandler);
49 TagCloseElement styleClose( "style:font-decl");
50 styleClose.write(xHandler);
|