#include <mathml.hxx>
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 |
Definition at line 64 of file mathml.hxx.
SmXMLWrapper::SmXMLWrapper | ( | com::sun::star::uno::Reference< com::sun::star::frame::XModel > & | rRef | ) | [inline] |
Definition at line 67 of file mathml.hxx.
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] |
com::sun::star::uno::Reference<com::sun::star::frame::XModel> SmXMLWrapper::xModel [private] |
sal_Bool SmXMLWrapper::bFlat [private] |