/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_SWDTFLVR_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_SWDTFLVR_HXX
class ImageMap; class INetImage; class SfxAbstractPasteDialog; class SwDocFac; class SwPaM; class SwTextBlocks; class SwWrtShell; class SvxClipboardFormatItem; class SwFrameShell; class SwPasteContext; enumclass SwPasteSdr;
enumclass TransferBufferType : sal_uInt16
{
NONE = 0x0000,
Document = 0x0001,
DocumentWord = 0x0002,
Graphic = 0x0004,
Table = 0x0008,
Ole = 0x0020,
InetField = 0x0040,
Drawing = 0x0081, // drawing is internal too!
}; namespace o3tl { template<> struct typed_flags<TransferBufferType> : is_typed_flags<TransferBufferType, 0x00ef> {};
} // paste table into a table enumclass PasteTableType
{
PASTE_DEFAULT, // paste table by overwriting table cells
PASTE_ROW, // paste table as rows above
PASTE_COLUMN, // paste table as columns before
PASTE_TABLE // paste table as nested table
};
class SwTransferDdeLink;
class SAL_DLLPUBLIC_RTTI SwTransferable final : public TransferableHelper
{ friendclass SwView_Impl;
SfxObjectShellLock m_aDocShellRef;
TransferableObjectDescriptor m_aObjDesc;
tools::SvRef<SwTransferDdeLink> m_xDdeLink;
// set properties on the document, like PageMargin, VisArea. // And set real Size staticvoid InitOle( SfxObjectShell* pDoc );
// copy - methods and helper methods for the copy
SW_DLLPUBLIC int Cut();
SW_DLLPUBLIC int Copy( bool bIsCut = false, bool bDeleteRedlines = true ); int PrepareForCopy( bool bIsCut = false, bool bDeleteRedlines = true ); void PrepareForCopyTextRange(SwPaM & rPaM); void CalculateAndCopy(); // special for Calculator bool CopyGlossary( SwTextBlocks& rGlossary, const OUString& rStr );
// remove the DDE-Link format promise void RemoveDDELinkFormat(vcl::Window& rWin); // disconnect to not receive DataChanged listener notifications void DisconnectDDE();
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.