Kaydet (Commit) eb4dc87e authored tarafından Luboš Luňák's avatar Luboš Luňák

move all GetId(whatever type for font) to the base class

üst f218e840
...@@ -584,6 +584,18 @@ public: ...@@ -584,6 +584,18 @@ public:
USHORT GetId( const SwTOXType& rTOXType ); USHORT GetId( const SwTOXType& rTOXType );
/// Return the numeric id of the font (and add it to the font list if needed)
USHORT GetId( const SvxFontItem& rFont)
{
return maFontHelper.GetId(rFont);
}
/// @overload
USHORT GetId( const wwFont& rFont)
{
return maFontHelper.GetId(rFont);
}
const SfxPoolItem& GetItem( USHORT nWhich ) const; const SfxPoolItem& GetItem( USHORT nWhich ) const;
/// Find the reference. /// Find the reference.
...@@ -974,12 +986,6 @@ public: ...@@ -974,12 +986,6 @@ public:
WW8OleMaps& GetOLEMap() { return *pOleMap; } WW8OleMaps& GetOLEMap() { return *pOleMap; }
void ExportDopTypography(WW8DopTypography &rTypo); void ExportDopTypography(WW8DopTypography &rTypo);
using MSWordExportBase::GetId;
USHORT GetId( const SvxFontItem& rFont)
{
return maFontHelper.GetId(rFont);
}
USHORT AddRedlineAuthor( USHORT nId ); USHORT AddRedlineAuthor( USHORT nId );
void WriteFtnBegin( const SwFmtFtn& rFtn, WW8Bytes* pO = 0 ); void WriteFtnBegin( const SwFmtFtn& rFtn, WW8Bytes* pO = 0 );
......
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