LibreOffice Module sw (master)  1
Classes | Macros | Functions | Variables
xmltexti.cxx File Reference
#include <comphelper/storagehelper.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/propertysequence.hxx>
#include <com/sun/star/embed/EmbeddedObjectCreator.hpp>
#include <com/sun/star/embed/OOoEmbeddedObjectFactory.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <com/sun/star/embed/Aspects.hpp>
#include <com/sun/star/task/XInteractionHandler.hpp>
#include <o3tl/any.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <comphelper/classids.hxx>
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <xmloff/prstylei.hxx>
#include <xmloff/maptype.hxx>
#include <xmloff/xmlprmap.hxx>
#include <xmloff/txtprmap.hxx>
#include <xmloff/i18nmap.hxx>
#include <xmloff/xmlimppr.hxx>
#include <unocrsr.hxx>
#include <TextCursorHelper.hxx>
#include <unoframe.hxx>
#include <doc.hxx>
#include <IDocumentDrawModelAccess.hxx>
#include <IDocumentContentOperations.hxx>
#include <unocoll.hxx>
#include <fmtfsize.hxx>
#include <fmtanchr.hxx>
#include <fmtcntnt.hxx>
#include "xmlimp.hxx"
#include "xmltbli.hxx"
#include "xmltexti.hxx"
#include "XMLRedlineImportHelper.hxx"
#include <xmloff/XMLFilterServiceNames.h>
#include <SwAppletImpl.hxx>
#include <ndole.hxx>
#include <docsh.hxx>
#include <sfx2/docfile.hxx>
#include <calbck.hxx>
#include <vcl/svapp.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <svtools/embedhlp.hxx>
#include <svl/urihelper.hxx>
#include <sfx2/frmdescr.hxx>
#include <tools/globname.hxx>
Include dependency graph for xmltexti.cxx:

Go to the source code of this file.

Classes

struct  XMLServiceMapEntry_Impl
 

Macros

#define SERVICE_MAP_ENTRY(app, s)
 

Functions

static void lcl_putHeightAndWidth (SfxItemSet &rItemSet, sal_Int32 nHeight, sal_Int32 nWidth, Size *pTwipSize=nullptr)
 
static void lcl_setObjectVisualArea (const uno::Reference< embed::XEmbeddedObject > &xObj, sal_Int64 nAspect, const Size &aVisSize, const MapUnit &aUnit)
 
static SwOLENodelcl_GetOLENode (const SwFrameFormat *pFrameFormat)
 

Variables

const XMLServiceMapEntry_Impl aServiceMap []
 

Macro Definition Documentation

#define SERVICE_MAP_ENTRY (   app,
 
)
Value:
{ XML_IMPORT_FILTER_##app, sizeof(XML_IMPORT_FILTER_##app)-1, \
SO3_##s##_CLASSID }
const char * app

Definition at line 84 of file xmltexti.cxx.

Function Documentation

static SwOLENode* lcl_GetOLENode ( const SwFrameFormat pFrameFormat)
static
static void lcl_putHeightAndWidth ( SfxItemSet rItemSet,
sal_Int32  nHeight,
sal_Int32  nWidth,
Size pTwipSize = nullptr 
)
static
static void lcl_setObjectVisualArea ( const uno::Reference< embed::XEmbeddedObject > &  xObj,
sal_Int64  nAspect,
const Size aVisSize,
const MapUnit aUnit 
)
static

Variable Documentation

const XMLServiceMapEntry_Impl aServiceMap[]
Initial value:
=
{
SERVICE_MAP_ENTRY( WRITER, SW ),
SERVICE_MAP_ENTRY( CALC, SC ),
SERVICE_MAP_ENTRY( DRAW, SDRAW ),
SERVICE_MAP_ENTRY( IMPRESS, SIMPRESS ),
SERVICE_MAP_ENTRY( CHART, SCH ),
SERVICE_MAP_ENTRY( MATH, SM ),
{ nullptr, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
}
#define SERVICE_MAP_ENTRY(app, s)
Definition: xmltexti.cxx:84

Definition at line 88 of file xmltexti.cxx.

Referenced by SwXMLTextImportHelper::createAndInsertOLEObject().