LibreOffice Module sw (master)
1
|
#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/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 <sfx2/mieclip.hxx>
#include <svl/urlbmk.hxx>
#include <vcl/inetimg.hxx>
#include <svx/fmview.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 <swdtflvr.hxx>
#include <shellio.hxx>
#include <ddefld.hxx>
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <IDocumentDrawModelAccess.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <IDocumentRedlineAccess.hxx>
#include <IDocumentState.hxx>
#include <IMark.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 <SwCapObjType.hxx>
#include <cmdid.h>
#include <strings.hrc>
#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 <vcl/svapp.hxx>
#include <swserv.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 <vcl/TypeSerializer.hxx>
#include <comphelper/lok.hxx>
#include <sfx2/classificationhelper.hxx>
#include <sfx2/sfxdlg.hxx>
#include <comphelper/classids.hxx>
#include <memory>
Go to the source code of this file.
Classes | |
class | SwPasteContext |
Tracks the boundaries of pasted content and notifies listeners. More... | |
Macros | |
#define | OLESIZE 11905 - 2 * lMinBorder, 6 * MM50 |
Functions | |
static SwDoc & | lcl_GetDoc (SwDocFac &rDocFac) |
static void | DeleteDDEMarks (SwDoc &rDest) |
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... | |
#define OLESIZE 11905 - 2 * lMinBorder, 6 * MM50 |
Definition at line 135 of file swdtflvr.cxx.
Referenced by SwTransferable::CopyGlossary(), SwTransferable::InitOle(), SwTransferable::PrepareForCopy(), and SwTransferable::SetDataForDragAndDrop().
Definition at line 870 of file swdtflvr.cxx.
References IDocumentMarkAccess::DDE_BOOKMARK, IDocumentMarkAccess::deleteMark(), IDocumentMarkAccess::getAllMarksBegin(), IDocumentMarkAccess::getAllMarksEnd(), SwDoc::getIDocumentMarkAccess(), and IDocumentMarkAccess::GetType().
Referenced by SwTransferable::PrepareForCopy(), and SwTransferable::PrepareForCopyTextRange().
Definition at line 309 of file swdtflvr.cxx.
References SwDocFac::GetDoc(), and SwDoc::SetClipBoard().
Referenced by SwTransferable::CalculateAndCopy(), SwTransferable::CopyGlossary(), SwTransferable::GetData(), SwTransferable::isComplex(), SwTransferable::PrepareForCopy(), and SwTransferable::PrepareForCopyTextRange().
|
static |
Definition at line 1268 of file swdtflvr.cxx.
Referenced by SwTransferable::IsPaste(), SwTransferable::Paste(), SwTransferable::PasteFormat(), and SwTransferable::TestAllowedFormat().
|
static |
the list of formats which will be offered to the user in the 'Paste Special...' dialog and the paste button menu
Definition at line 3400 of file swdtflvr.cxx.
constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_DDE = 0x00000020 |
Definition at line 142 of file swdtflvr.cxx.
Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().
constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_DRAWMODEL = 0x00000001 |
Definition at line 137 of file swdtflvr.cxx.
Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().
constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_HTML = 0x00000002 |
Definition at line 138 of file swdtflvr.cxx.
Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().
constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_RICHTEXT = 0x00000040 |
Definition at line 143 of file swdtflvr.cxx.
Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().
constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_RTF = 0x00000004 |
Definition at line 139 of file swdtflvr.cxx.
Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().
constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_STRING = 0x00000008 |
Definition at line 140 of file swdtflvr.cxx.
Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().
constexpr sal_uInt32 SWTRANSFER_OBJECTTYPE_SWOLE = 0x00000010 |
Definition at line 141 of file swdtflvr.cxx.
Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().