00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef _XMLOFF_PROPERTYHANDLER_FONTYPES_HXX
00029 #define _XMLOFF_PROPERTYHANDLER_FONTTYPES_HXX
00030
00031 #include <xmloff/xmlprhdl.hxx>
00032
00036 class XMLFontFamilyNamePropHdl : public XMLPropertyHandler
00037 {
00038 public:
00039 virtual ~XMLFontFamilyNamePropHdl();
00040
00041 virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
00042 virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
00043 };
00044
00048 class XMLFontFamilyPropHdl : public XMLPropertyHandler
00049 {
00050 public:
00051 virtual ~XMLFontFamilyPropHdl();
00052
00053 virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
00054 virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
00055 };
00056
00060 class XMLFontEncodingPropHdl : public XMLPropertyHandler
00061 {
00062 public:
00063 virtual ~XMLFontEncodingPropHdl();
00064
00065 virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
00066 virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
00067 };
00068
00072 class XMLFontPitchPropHdl : public XMLPropertyHandler
00073 {
00074 public:
00075 virtual ~XMLFontPitchPropHdl();
00076
00077 virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
00078 virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
00079 };
00080
00081
00082 #endif // _XMLOFF_PROPERTYHANDLER_FONTTYPES_HXX