LibreOffice Module sw (master)  1
Classes | Macros | Functions | Variables
swdtflvr.cxx File Reference
#include <config_features.h>
#include <com/sun/star/embed/XTransactedObject.hpp>
#include <com/sun/star/embed/Aspects.hpp>
#include <com/sun/star/embed/XEmbedObjectClipboardCreator.hpp>
#include <com/sun/star/embed/NoVisualAreaSizeException.hpp>
#include <com/sun/star/embed/MSOLEObjectSystemCreator.hpp>
#include <com/sun/star/text/XPasteListener.hpp>
#include <svtools/embedtransfer.hxx>
#include <svtools/insdlg.hxx>
#include <unotools/tempfile.hxx>
#include <comphelper/fileformat.h>
#include <comphelper/processfactory.hxx>
#include <comphelper/servicehelper.hxx>
#include <comphelper/storagehelper.hxx>
#include <comphelper/string.hxx>
#include <o3tl/deleter.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <sot/filelist.hxx>
#include <svx/svxdlg.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <osl/endian.h>
#include <sfx2/linkmgr.hxx>
#include <tools/urlobj.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/weld.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/viewfrm.hxx>
#include <svl/stritem.hxx>
#include <vcl/imap.hxx>
#include <sot/storage.hxx>
#include <vcl/graph.hxx>
#include <svl/urihelper.hxx>
#include <svx/svdmodel.hxx>
#include <svx/xmlexchg.hxx>
#include <svx/dbaexchange.hxx>
#include <svx/clipfmtitem.hxx>
#include <svx/svxids.hrc>
#include <sfx2/mieclip.hxx>
#include <svx/svdetc.hxx>
#include <svx/xoutbmp.hxx>
#include <svl/urlbmk.hxx>
#include <svtools/htmlout.hxx>
#include <svx/hlnkitem.hxx>
#include <vcl/inetimg.hxx>
#include <editeng/paperinf.hxx>
#include <svx/fmview.hxx>
#include <editeng/scripttypeitem.hxx>
#include <sfx2/docfilt.hxx>
#include <vcl/imapobj.hxx>
#include <sfx2/docfile.hxx>
#include <unotools/transliterationwrapper.hxx>
#include <unotools/streamwrap.hxx>
#include <vcl/graphicfilter.hxx>
#include <svx/unomodel.hxx>
#include <fmturl.hxx>
#include <fmtinfmt.hxx>
#include <fmtfsize.hxx>
#include <swdtflvr.hxx>
#include <shellio.hxx>
#include <ddefld.hxx>
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentDeviceAccess.hxx>
#include <IDocumentDrawModelAccess.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <IDocumentState.hxx>
#include <pagedesc.hxx>
#include <IMark.hxx>
#include <docary.hxx>
#include <section.hxx>
#include <ndtxt.hxx>
#include <edtdd.hxx>
#include <edtwin.hxx>
#include <navicont.hxx>
#include <swcont.hxx>
#include <wrtsh.hxx>
#include <swmodule.hxx>
#include <view.hxx>
#include <docsh.hxx>
#include <wdocsh.hxx>
#include <fldbas.hxx>
#include <swundo.hxx>
#include <pam.hxx>
#include <ndole.hxx>
#include <swwait.hxx>
#include <viewopt.hxx>
#include <swerror.h>
#include <SwCapObjType.hxx>
#include <cmdid.h>
#include <strings.hrc>
#include <sot/stg.hxx>
#include <svx/svditer.hxx>
#include <editeng/eeitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <svx/svdpage.hxx>
#include <avmedia/mediawindow.hxx>
#include <swcrsr.hxx>
#include <SwRewriter.hxx>
#include <globals.hrc>
#include <app.hrc>
#include <vcl/svapp.hxx>
#include <swserv.hxx>
#include <calbck.hxx>
#include <fmtmeta.hxx>
#include <itabenum.hxx>
#include <iodetect.hxx>
#include <unotextrange.hxx>
#include <unoframe.hxx>
#include <vcl/uitest/logger.hxx>
#include <vcl/uitest/eventdescription.hxx>
#include <vcl/GraphicNativeTransform.hxx>
#include <vcl/GraphicNativeMetadata.hxx>
#include <comphelper/lok.hxx>
#include <sfx2/classificationhelper.hxx>
#include <sfx2/sfxdlg.hxx>
#include <memory>
Include dependency graph for swdtflvr.cxx:

Go to the source code of this file.

Classes

class  SwTransferDdeLink
 
class  SwPasteContext
 Tracks the boundaries of pasted content and notifies listeners. More...
 
class  SwTrnsfrActionAndUndo
 

Macros

#define OLESIZE   11905 - 2 * lMinBorder, 6 * MM50
 
#define DDE_TXT_ENCODING   osl_getThreadTextEncoding()
 

Functions

static SwDoclcl_GetDoc (SwDocFac &rDocFac)
 
static uno::Reference< XTransferable > * lcl_getTransferPointer (uno::Reference< XTransferable > &xRef)
 

Variables

constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_DRAWMODEL = 0x00000001
 
constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_HTML = 0x00000002
 
constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_RTF = 0x00000004
 
constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_STRING = 0x00000008
 
constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_SWOLE = 0x00000010
 
constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_DDE = 0x00000020
 
constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_RICHTEXT = 0x00000040
 
static SotClipboardFormatId aPasteSpecialIds []
 the list of formats which will be offered to the user in the 'Paste Special...' dialog and the paste button menu More...
 

Macro Definition Documentation

#define DDE_TXT_ENCODING   osl_getThreadTextEncoding()

Definition at line 181 of file swdtflvr.cxx.

Referenced by SwTransferable::PasteDDE(), and SwTransferDdeLink::WriteData().

#define OLESIZE   11905 - 2 * lMinBorder, 6 * MM50

Function Documentation

static SwDoc* lcl_GetDoc ( SwDocFac rDocFac)
static
static uno::Reference< XTransferable >* lcl_getTransferPointer ( uno::Reference< XTransferable > &  xRef)
static

Variable Documentation

SotClipboardFormatId aPasteSpecialIds[]
static
Initial value:
=
{
SotClipboardFormatId::HTML,
SotClipboardFormatId::HTML_SIMPLE,
SotClipboardFormatId::HTML_NO_COMMENT,
SotClipboardFormatId::RTF,
SotClipboardFormatId::RICHTEXT,
SotClipboardFormatId::STRING,
SotClipboardFormatId::SONLK,
SotClipboardFormatId::NETSCAPE_BOOKMARK,
SotClipboardFormatId::DRAWING,
SotClipboardFormatId::SVXB,
SotClipboardFormatId::GDIMETAFILE,
SotClipboardFormatId::BITMAP,
SotClipboardFormatId::SVIM,
SotClipboardFormatId::FILEGRPDESCRIPTOR,
SotClipboardFormatId::NONE
}

the list of formats which will be offered to the user in the 'Paste Special...' dialog and the paste button menu

Definition at line 3167 of file swdtflvr.cxx.

constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_DDE = 0x00000020

Definition at line 159 of file swdtflvr.cxx.

Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().

constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_DRAWMODEL = 0x00000001

Definition at line 154 of file swdtflvr.cxx.

Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().

constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_HTML = 0x00000002

Definition at line 155 of file swdtflvr.cxx.

Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().

constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_RICHTEXT = 0x00000040

Definition at line 160 of file swdtflvr.cxx.

Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().

constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_RTF = 0x00000004

Definition at line 156 of file swdtflvr.cxx.

Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().

constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_STRING = 0x00000008

Definition at line 157 of file swdtflvr.cxx.

Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().

constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_SWOLE = 0x00000010

Definition at line 158 of file swdtflvr.cxx.

Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().