Kaydet (Commit) d262bcdd authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS oasis (1.3.276); FILE MERGED

2004/04/19 12:34:26 mib 1.3.276.1: - changed "graphics" style family to "graphic" (#i20153#)
- replaced "inch" with "in" (#i18170#)
üst 503e6958
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: XMLFontAutoStylePool.cxx,v $ * $RCSfile: XMLFontAutoStylePool.cxx,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* last change: $Author: dvo $ $Date: 2001-06-29 21:07:17 $ * last change: $Author: rt $ $Date: 2004-07-13 08:22:31 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -288,7 +288,7 @@ OUString XMLFontAutoStylePool::Add( ...@@ -288,7 +288,7 @@ OUString XMLFontAutoStylePool::Add(
void XMLFontAutoStylePool::exportXML() void XMLFontAutoStylePool::exportXML()
{ {
SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_OFFICE, SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_OFFICE,
XML_FONT_DECLS, XML_FONT_FACE_DECLS,
sal_True, sal_True ); sal_True, sal_True );
Any aAny; Any aAny;
OUString sTmp; OUString sTmp;
...@@ -308,13 +308,13 @@ void XMLFontAutoStylePool::exportXML() ...@@ -308,13 +308,13 @@ void XMLFontAutoStylePool::exportXML()
aAny <<= pEntry->GetFamilyName(); aAny <<= pEntry->GetFamilyName();
if( aFamilyNameHdl.exportXML( sTmp, aAny, rUnitConv ) ) if( aFamilyNameHdl.exportXML( sTmp, aAny, rUnitConv ) )
GetExport().AddAttribute( XML_NAMESPACE_FO, GetExport().AddAttribute( XML_NAMESPACE_SVG,
XML_FONT_FAMILY, sTmp ); XML_FONT_FAMILY, sTmp );
const OUString& rStyleName = pEntry->GetStyleName(); const OUString& rStyleName = pEntry->GetStyleName();
if( rStyleName.getLength() ) if( rStyleName.getLength() )
GetExport().AddAttribute( XML_NAMESPACE_STYLE, GetExport().AddAttribute( XML_NAMESPACE_STYLE,
XML_FONT_STYLE_NAME, XML_FONT_ADORNMENTS,
rStyleName ); rStyleName );
aAny <<= (sal_Int16)pEntry->GetFamily(); aAny <<= (sal_Int16)pEntry->GetFamily();
...@@ -333,7 +333,7 @@ void XMLFontAutoStylePool::exportXML() ...@@ -333,7 +333,7 @@ void XMLFontAutoStylePool::exportXML()
XML_FONT_CHARSET, sTmp ); XML_FONT_CHARSET, sTmp );
SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE, SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE,
XML_FONT_DECL, XML_FONT_FACE,
sal_True, sal_True ); sal_True, sal_True );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment