LibreOffice Module sd (master) 1
|
#include <sdxmlwrp.hxx>
Public Member Functions | |
SdXMLFilter (SfxMedium &rMedium, ::sd::DrawDocShell &rDocShell, SdXMLFilterMode eFilterMode=SdXMLFilterMode::Normal, sal_uLong nStoreVer=SOFFICE_FILEFORMAT_8) | |
virtual | ~SdXMLFilter () override |
bool | Import (ErrCode &nError) |
bool | Export () override |
Public Member Functions inherited from SdFilter | |
SdFilter (SfxMedium &rMedium, ::sd::DrawDocShell &rDocShell) | |
virtual | ~SdFilter () |
bool | IsDraw () const |
virtual bool | Export ()=0 |
Private Attributes | |
SdXMLFilterMode | meFilterMode |
sal_uLong | mnStoreVer |
Additional Inherited Members | |
Protected Member Functions inherited from SdFilter | |
void | CreateStatusIndicator () |
Protected Attributes inherited from SdFilter | |
css::uno::Reference< css::frame::XModel > | mxModel |
css::uno::Reference< css::task::XStatusIndicator > | mxStatusIndicator |
SfxMedium & | mrMedium |
::sd::DrawDocShell & | mrDocShell |
SdDrawDocument & | mrDocument |
bool | mbIsDraw: 1 |
Definition at line 34 of file sdxmlwrp.hxx.
SdXMLFilter::SdXMLFilter | ( | SfxMedium & | rMedium, |
::sd::DrawDocShell & | rDocShell, | ||
SdXMLFilterMode | eFilterMode = SdXMLFilterMode::Normal , |
||
sal_uLong | nStoreVer = SOFFICE_FILEFORMAT_8 |
||
) |
Definition at line 157 of file sdxmlwrp.cxx.
|
overridevirtual |
Definition at line 162 of file sdxmlwrp.cxx.
|
overridevirtual |
property map for export info set
Implements SdFilter.
Definition at line 731 of file sdxmlwrp.cxx.
References aName, Any, SvXMLEmbeddedObjectHelper::Create(), SvXMLGraphicHelper::Create(), SdFilter::CreateStatusIndicator(), DBG_ASSERT, GenericPropertySet_CreateInstance(), cppu::UnoType< typename T >::get(), SfxMedium::GetBaseURL(), SfxObjectShell::GetCreateMode(), sd::DrawDocShell::GetDoc(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), SfxMedium::GetName(), SfxMedium::GetOutputStorage(), SdrModel::GetPersist(), getServices(), CntUnencodedStringItem::GetValue(), i, SdFilter::IsDraw(), mnStoreVer, SdFilter::mrDocShell, SdFilter::mrMedium, SdFilter::mxModel, SdFilter::mxStatusIndicator, SAL_INFO, SAL_WARN, SdResId(), TOOLS_WARN_EXCEPTION, and xStream.
Referenced by sd::DrawDocShell::Save(), and sd::DrawDocShell::SaveAs().
bool SdXMLFilter::Import | ( | ErrCode & | nError | ) |
property map for import info set
Definition at line 443 of file sdxmlwrp.cxx.
References aName, Any, ErrCode::anyOf(), sd::DrawDocShell::ClearUndoBuffer(), SvXMLEmbeddedObjectHelper::Create(), SvXMLGraphicHelper::Create(), SdDrawDocument::CreateFirstPages(), SdrModel::EnableUndo(), ERRCODE_IO_BROKENPACKAGE, ERRCODE_NONE, fixupOutlinePlaceholderNumberingDepths(), GenericPropertySet_CreateInstance(), cppu::UnoType< typename T >::get(), SfxMedium::GetBaseURL(), SfxObjectShell::GetCreateMode(), sd::DrawDocShell::GetDoc(), SfxMedium::GetFilter(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), SfxMedium::GetName(), SdrModel::GetPersist(), comphelper::getProcessComponentContext(), getServices(), SfxMedium::GetStorage(), SfxUnoAnyItem::GetValue(), CntUnencodedStringItem::GetValue(), ErrorHandler::HandleError(), SdFilter::IsDraw(), SdrModel::IsStarDrawPreviewMode(), SdrModel::IsUndoEnabled(), ErrCode::IsWarning(), meFilterMode, mnStoreVer, SdFilter::mrDocShell, SdFilter::mrMedium, SdFilter::mxModel, SdFilter::mxStatusIndicator, New, SdDrawDocument::NewOrLoadCompleted(), nIndex, Organizer, SAL_INFO_IF, SD_XML_READERROR, SdDrawDocument::StopWorkStartupDelay(), SvxResId(), o3tl::toInt32(), TransformOOo2xDocument(), typeName, u, and SdDrawDocument::UpdateAllLinks().
Referenced by sd::DrawDocShell::ConvertFrom(), sd::DrawDocShell::Load(), and sd::DrawDocShell::LoadFrom().
|
private |
Definition at line 48 of file sdxmlwrp.hxx.
Referenced by Import().
|
private |
Definition at line 49 of file sdxmlwrp.hxx.