LibreOffice Module sw (master) 1
|
#include <sal/config.h>
#include <comphelper/classids.hxx>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <com/sun/star/embed/XLinkageSupport.hpp>
#include <com/sun/star/document/XEmbeddedObjectSupplier.hpp>
#include <xmloff/families.hxx>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/txtprmap.hxx>
#include <xmloff/maptype.hxx>
#include <xmloff/xmlexppr.hxx>
#include <ndole.hxx>
#include <fmtcntnt.hxx>
#include <unoframe.hxx>
#include "xmlexp.hxx"
#include "xmltexte.hxx"
#include <SwAppletImpl.hxx>
#include <ndindex.hxx>
#include <osl/diagnose.h>
#include <sot/exchange.hxx>
#include <svl/urihelper.hxx>
#include <sfx2/frmdescr.hxx>
Go to the source code of this file.
Functions | |
constexpr OUStringLiteral | gsEmbeddedObjectProtocol (u"vnd.sun.star.EmbeddedObject:") |
static void | lcl_addURL (SvXMLExport &rExport, const OUString &rURL, bool bToRel=true) |
static void | lcl_addAspect (const svt::EmbeddedObjectRef &rObj, std::vector< XMLPropertyState > &rStates, const rtl::Reference< XMLPropertySetMapper > &rMapper) |
static void | lcl_addOutplaceProperties (const svt::EmbeddedObjectRef &rObj, std::vector< XMLPropertyState > &rStates, const rtl::Reference< XMLPropertySetMapper > &rMapper) |
static void | lcl_addFrameProperties (const uno::Reference< embed::XEmbeddedObject > &xObj, std::vector< XMLPropertyState > &rStates, const rtl::Reference< XMLPropertySetMapper > &rMapper) |
|
constexpr |
Referenced by SwXMLTextParagraphExport::_exportTextEmbedded().
|
static |
Definition at line 111 of file xmltexte.cxx.
References CTF_OLE_DRAW_ASPECT, and svt::EmbeddedObjectRef::GetViewAspect().
Referenced by SwXMLTextParagraphExport::_collectTextEmbeddedAutoStyles(), and SwXMLTextParagraphExport::_exportTextEmbedded().
|
static |
Definition at line 138 of file xmltexte.cxx.
References Any, CTF_FRAME_DISPLAY_BORDER, CTF_FRAME_DISPLAY_SCROLLBAR, CTF_FRAME_MARGIN_HORI, CTF_FRAME_MARGIN_VERT, SIZE_NOT_SET, and svt::EmbeddedObjectRef::TryRunningState().
Referenced by SwXMLTextParagraphExport::_collectTextEmbeddedAutoStyles(), and SwXMLTextParagraphExport::_exportTextEmbedded().
|
static |
Definition at line 121 of file xmltexte.cxx.
References Any, CTF_OLE_VIS_AREA_HEIGHT, CTF_OLE_VIS_AREA_LEFT, CTF_OLE_VIS_AREA_TOP, CTF_OLE_VIS_AREA_WIDTH, svt::EmbeddedObjectRef::GetSize(), Size::Height(), and Size::Width().
Referenced by SwXMLTextParagraphExport::_collectTextEmbeddedAutoStyles(), and SwXMLTextParagraphExport::_exportTextEmbedded().
|
static |
Definition at line 95 of file xmltexte.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::GetOrigFileName(), URIHelper::simpleNormalizedMakeRelative(), XML_ACTUATE, XML_EMBED, XML_HREF, XML_NAMESPACE_XLINK, XML_ONLOAD, XML_SHOW, XML_SIMPLE, and XML_TYPE.
Referenced by SwXMLTextParagraphExport::_exportTextEmbedded().