SmXMLWrapper Class Reference

#include <mathml.hxx>

List of all members.

Public Member Functions

 SmXMLWrapper (com::sun::star::uno::Reference< com::sun::star::frame::XModel > &rRef)
ULONG Import (SfxMedium &rMedium)
sal_Bool Export (SfxMedium &rMedium)
void SetFlat (sal_Bool bIn)

Private Member Functions

ULONG ReadThroughComponent (::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > xInputStream,::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > xModelComponent,::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &rFactory,::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &rPropSet, const sal_Char *pFilterName, sal_Bool bEncrypted)
ULONG ReadThroughComponent (const::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > &xStorage,::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > xModelComponent, const sal_Char *pStreamName, const sal_Char *pCompatibilityStreamName,::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &rFactory,::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &rPropSet, const sal_Char *pFilterName)
sal_Bool WriteThroughComponent (::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > xOutputStream,::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > xComponent,::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &rFactory,::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &rPropSet, const sal_Char *pComponentName)
sal_Bool WriteThroughComponent (const::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > &xStor,::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > xComponent, const sal_Char *pStreamName,::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &rFactory,::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &rPropSet, const sal_Char *pComponentName, sal_Bool bCompress=sal_True)

Private Attributes

com::sun::star::uno::Reference<
com::sun::star::frame::XModel > 
xModel
sal_Bool bFlat


Detailed Description

Definition at line 64 of file mathml.hxx.


Constructor & Destructor Documentation

SmXMLWrapper::SmXMLWrapper ( com::sun::star::uno::Reference< com::sun::star::frame::XModel > &  rRef  )  [inline]

Definition at line 67 of file mathml.hxx.


Member Function Documentation

ULONG SmXMLWrapper::Import ( SfxMedium &  rMedium  ) 

Definition at line 322 of file mathml.cxx.

References SmModel::getUnoTunnelId(), ReadThroughComponent(), and xModel.

Referenced by SmDocShell::ConvertFrom(), SmViewShell::InsertFrom(), and SmDocShell::Load().

sal_Bool SmXMLWrapper::Export ( SfxMedium &  rMedium  ) 

Definition at line 1043 of file mathml.cxx.

References bFlat, SmModel::getUnoTunnelId(), WriteThroughComponent(), and xModel.

Referenced by SmDocShell::ConvertTo(), SmDocShell::Save(), and SmDocShell::SaveAs().

void SmXMLWrapper::SetFlat ( sal_Bool  bIn  )  [inline]

Definition at line 71 of file mathml.hxx.

References bFlat.

Referenced by SmDocShell::ConvertTo(), SmDocShell::Save(), and SmDocShell::SaveAs().

ULONG SmXMLWrapper::ReadThroughComponent ( ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >  xInputStream,
::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >  xModelComponent,
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  rFactory,
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &  rPropSet,
const sal_Char *  pFilterName,
sal_Bool  bEncrypted 
) [private]

Referenced by Import().

ULONG SmXMLWrapper::ReadThroughComponent ( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > &  xStorage,
::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >  xModelComponent,
const sal_Char *  pStreamName,
const sal_Char *  pCompatibilityStreamName,
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  rFactory,
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &  rPropSet,
const sal_Char *  pFilterName 
) [private]

sal_Bool SmXMLWrapper::WriteThroughComponent ( ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream >  xOutputStream,
::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >  xComponent,
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  rFactory,
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &  rPropSet,
const sal_Char *  pComponentName 
) [private]

Referenced by Export().

sal_Bool SmXMLWrapper::WriteThroughComponent ( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > &  xStor,
::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >  xComponent,
const sal_Char *  pStreamName,
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  rFactory,
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &  rPropSet,
const sal_Char *  pComponentName,
sal_Bool  bCompress = sal_True 
) [private]


Member Data Documentation

com::sun::star::uno::Reference<com::sun::star::frame::XModel> SmXMLWrapper::xModel [private]

Definition at line 73 of file mathml.hxx.

Referenced by Export(), and Import().

sal_Bool SmXMLWrapper::bFlat [private]

Definition at line 74 of file mathml.hxx.

Referenced by Export(), and SetFlat().


The documentation for this class was generated from the following files:
Generated on Wed Feb 20 17:24:00 2008 for maths by  doxygen 1.5.1