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/propertyvalue.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 <editeng/prntitem.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 <txatbase.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 <osl/diagnose.h>
#include <memory>
Go to the source code of this file.
Classes | |
class | SwPasteContext |
Tracks the boundaries of pasted content and notifies listeners. More... | |
Functions | |
constexpr Size | constOleSize100mm (constOleWidthInMm *100, 3000) |
static SwDoc & | lcl_GetDoc (SwDocFac &rDocFac) |
static void | DeleteDDEMarks (SwDoc &rDest) |
static uno::Reference< XTransferable > * | lcl_getTransferPointer (uno::Reference< XTransferable > &xRef) |
static sal_Int32 | lcl_getLevel (OUString &sText, sal_Int32 nIdx) |
Variables | |
constexpr tools::Long | constOleWidthInMm = 210 - 2 * lMinBorderInMm |
constexpr Size | constOleSizeTwip = o3tl::convert(constOleSize100mm, o3tl::Length::mm100, o3tl::Length::twip) |
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... | |
|
constexpr |
|
static |
Definition at line 873 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 321 of file swdtflvr.cxx.
References SwDocFac::GetDoc(), and SwDoc::SetClipBoard().
Referenced by SwTransferable::CalculateAndCopy(), SwTransferable::CopyGlossary(), SwTransferable::GetData(), SwTransferable::PrepareForCopy(), and SwTransferable::PrepareForCopyTextRange().
|
static |
Definition at line 1445 of file swdtflvr.cxx.
Referenced by SwTransferable::Paste().
|
static |
Definition at line 1269 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 3462 of file swdtflvr.cxx.
Referenced by SwTransferable::FillClipFormatItem(), and SwTransferable::PrePasteSpecial().
|
constexpr |
Definition at line 147 of file swdtflvr.cxx.
Referenced by SwTransferable::InitOle().
|
constexpr |
Definition at line 140 of file swdtflvr.cxx.
|
constexpr |
Definition at line 154 of file swdtflvr.cxx.
Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().
|
constexpr |
Definition at line 149 of file swdtflvr.cxx.
Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().
|
constexpr |
Definition at line 150 of file swdtflvr.cxx.
Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().
|
constexpr |
Definition at line 155 of file swdtflvr.cxx.
Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().
|
constexpr |
Definition at line 151 of file swdtflvr.cxx.
Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().
|
constexpr |
Definition at line 152 of file swdtflvr.cxx.
Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().
|
constexpr |
Definition at line 153 of file swdtflvr.cxx.
Referenced by SwTransferable::GetData(), and SwTransferable::WriteObject().