LibreOffice Module sw (master) 1
|
#include <sal/config.h>
#include <sal/log.hxx>
#include <cassert>
#include <com/sun/star/document/PrinterIndependentLayout.hpp>
#include <com/sun/star/document/XExporter.hpp>
#include <com/sun/star/drawing/XDrawPage.hpp>
#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/text/XTextDocument.hpp>
#include <com/sun/star/text/XTextRange.hpp>
#include <o3tl/any.hxx>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/xmlictxt.hxx>
#include <xmloff/txtimp.hxx>
#include <xmloff/XMLTextShapeImportHelper.hxx>
#include <xmloff/XMLFontStylesContext.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include <doc.hxx>
#include <drawdoc.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentDeviceAccess.hxx>
#include <IDocumentListsAccess.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <IDocumentDrawModelAccess.hxx>
#include <TextCursorHelper.hxx>
#include <unotext.hxx>
#include <unotextrange.hxx>
#include <poolfmt.hxx>
#include <ndtxt.hxx>
#include <editsh.hxx>
#include <strings.hrc>
#include <svl/stritem.hxx>
#include "xmlimp.hxx"
#include "xmlimpit.hxx"
#include "xmltexti.hxx"
#include <list.hxx>
#include <swdll.hxx>
#include <xmloff/DocumentSettingsContext.hxx>
#include <docsh.hxx>
#include <svx/xmlgrhlp.hxx>
#include <svx/xmleohlp.hxx>
#include <sfx2/printer.hxx>
#include <sfx2/sfxmodelfactory.hxx>
#include <xmloff/xmluconv.hxx>
#include <unotools/fcm.hxx>
#include <unotools/mediadescriptor.hxx>
#include <unotools/streamwrap.hxx>
#include <unotools/tempfile.hxx>
#include <tools/UnitConversion.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <vcl/svapp.hxx>
#include <unotxdoc.hxx>
#include <numrule.hxx>
#include <xmloff/xmlmetai.hxx>
#include <xmloff/xformsimport.hxx>
#include <comphelper/servicehelper.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/propertysequence.hxx>
#include <officecfg/Office/Common.hxx>
#include <unordered_set>
Go to the source code of this file.
Functions | |
static OTextCursorHelper * | lcl_xml_GetSwXTextCursor (const Reference< XTextCursor > &rTextCursor) |
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * | com_sun_star_comp_Writer_XMLOasisImporter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &) |
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * | com_sun_star_comp_Writer_XMLOasisStylesImporter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &) |
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * | com_sun_star_comp_Writer_XMLOasisContentImporter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &) |
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * | com_sun_star_comp_Writer_XMLOasisMetaImporter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &) |
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * | com_sun_star_comp_Writer_XMLOasisSettingsImporter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &) |
SAL_DLLPUBLIC_EXPORT bool | TestImportFODT (SvStream &rStream) |
SAL_DLLPUBLIC_EXPORT bool | TestPDFExportFODT (SvStream &rStream) |
SAL_DLLPUBLIC_EXPORT bool | TestImportDOCX (SvStream &rStream) |
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_Writer_XMLOasisContentImporter_get_implementation | ( | css::uno::XComponentContext * | context, |
css::uno::Sequence< css::uno::Any > const & | |||
) |
Definition at line 1708 of file xmlimp.cxx.
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_Writer_XMLOasisImporter_get_implementation | ( | css::uno::XComponentContext * | context, |
css::uno::Sequence< css::uno::Any > const & | |||
) |
Definition at line 1689 of file xmlimp.cxx.
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_Writer_XMLOasisMetaImporter_get_implementation | ( | css::uno::XComponentContext * | context, |
css::uno::Sequence< css::uno::Any > const & | |||
) |
Definition at line 1717 of file xmlimp.cxx.
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_Writer_XMLOasisSettingsImporter_get_implementation | ( | css::uno::XComponentContext * | context, |
css::uno::Sequence< css::uno::Any > const & | |||
) |
Definition at line 1726 of file xmlimp.cxx.
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_Writer_XMLOasisStylesImporter_get_implementation | ( | css::uno::XComponentContext * | context, |
css::uno::Sequence< css::uno::Any > const & | |||
) |
Definition at line 1698 of file xmlimp.cxx.
|
static |
Definition at line 370 of file xmlimp.cxx.
Referenced by SwXMLImport::startDocument().
SAL_DLLPUBLIC_EXPORT bool TestImportDOCX | ( | SvStream & | rStream | ) |
Definition at line 1877 of file xmlimp.cxx.
References SfxObjectShell::DoClose(), SfxObjectShell::DoInitNew(), SwGlobals::ensure(), SfxObjectShell::GetModel(), comphelper::getProcessServiceFactory(), comphelper::InitPropertySequence(), SfxObjectShell::SetLoading(), xModel, and xStream.
SAL_DLLPUBLIC_EXPORT bool TestImportFODT | ( | SvStream & | rStream | ) |
Definition at line 1733 of file xmlimp.cxx.
References SfxObjectShell::DoClose(), SfxObjectShell::DoInitNew(), SwGlobals::ensure(), SfxObjectShell::GetModel(), comphelper::getProcessServiceFactory(), comphelper::InitPropertySequence(), SfxObjectShell::SetLoading(), xModel, and xStream.
SAL_DLLPUBLIC_EXPORT bool TestPDFExportFODT | ( | SvStream & | rStream | ) |
Definition at line 1786 of file xmlimp.cxx.
References SvFileStream::Close(), utl::ConnectFrameControllerModel(), utl::TempFileNamed::EnableKillingFile(), comphelper::getProcessComponentContext(), comphelper::getProcessServiceFactory(), utl::TempFileNamed::GetURL(), comphelper::InitPropertySequence(), read_uInt8s_ToOString(), SvStream::Seek(), STREAM_SEEK_TO_BEGIN, xController, xModel, and xStream.