/* -*- 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 . */ #pragma once #include #if !defined WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN #endif #include #include /********************************************************************** stl container elements must fulfill the following requirements: 1. they need a copy ctor and assignment operator(?) 2. they must be comparable because the FORMATETC structure has a pointer to a TARGETDEVICE structure we need a simple wrapper class to fulfill these needs ***********************************************************************/ class CFormatEtc { public: CFormatEtc( ); explicit CFormatEtc( const FORMATETC& aFormatEtc ); CFormatEtc( CLIPFORMAT cf, DWORD tymed = TYMED_HGLOBAL, DVTARGETDEVICE* ptd = nullptr, DWORD dwAspect = DVASPECT_CONTENT, LONG lindex = -1 ); CFormatEtc( const CFormatEtc& theOther ); ~CFormatEtc( ); CFormatEtc& operator=( const CFormatEtc& theOther ); operator FORMATETC*( ); operator FORMATETC( ); void getFORMATETC( LPFORMATETC lpFormatEtc ); CLIPFORMAT getClipformat( ) const; DWORD getTymed( ) const; void getTargetDevice( DVTARGETDEVICE** ptd ) const; DWORD getDvAspect( ) const; LONG getLindex( ) const; void setClipformat( CLIPFORMAT cf ); void setTymed( DWORD tymed ); void setTargetDevice( DVTARGETDEVICE* ptd ); void setDvAspect( DWORD dwAspect ); void setLindex( LONG lindex ); private: FORMATETC m_FormatEtc; friend bool operator==( const CFormatEtc& lhs, const CFormatEtc& rhs ); friend bool operator!=( const CFormatEtc& lhs, const CFormatEtc& rhs ); }; bool operator==( const CFormatEtc& lhs, const CFormatEtc& rhs ); bool operator!=( const CFormatEtc& lhs, const CFormatEtc& rhs ); /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ tion> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/scp2
AgeCommit message (Expand)Author
2020-01-13Merge both x64 and x86 CRT merge modules into x64 MSIMike Kaganski
2020-01-12Make RunQuickstartAtFirstStart branding-dependent keyMike Kaganski
2020-01-11Use registry key to track installed state of gm_SharePointSupport_SubstMSOMike Kaganski
2020-01-09Register spsupp*.dll during installationMike Kaganski
2019-12-06tdf#126192 tdf#126030 (related) Package translations of ooxKelemen Gábor
2019-11-20tdf#127711 Fix msi-soffice.ini CrashDumpEnable-entryJuergen Funk
2019-11-11User interface languages: At least one is requiredSamuel Mehrbrodt
2019-10-02tdf#127711 - A runtime-switch for the MiniCrashDumpJuergen Funk
2019-09-30drop gtk2 supportCaolán McNamara
2019-09-20Replace remaining occurrences of LIBO_HEADLESS with HAVE_FEATURE_UIAndras Timar
2019-08-30Move spsupp components to a separate installer featureMike Kaganski
2019-08-27add Silesian (szl) language packChristian Lohmaier
2019-07-25Correct a fragmented sentenceAdolfo Jayme Barrientos
2019-07-21tdf#125922 rename kde5 to kf5 + plasma5Jan-Marek Glogowski
2019-05-24Shell extension also enables full-text search on WindowsMike Kaganski
2019-05-15tdf#116431 Make the string "LibreOffice (Safe Mode)" translatableTakeshi Abe
2019-04-30Fix mac build with --with-package-format=dmgXisco Fauli
2019-04-26ITERATE_ALL_LANG_DIR_LPROJ appears to be unusedStephan Bergmann
2019-04-26DIR_ISOLANGUAGE_ALL_LANG_LPROJ is apparently unusedStephan Bergmann
2019-03-29tdf#114311 Translate "LibreOffice Extension" file type in WindowsTakeshi Abe
2019-03-08Related tdf#111344: fix Bad token \text/x-ms-iqyJulien Nabet
2018-12-24tdf#122302: Set status message when installing KB2999226Mike Kaganski
2018-12-22tdf#122266: Register default extensions for OOXML content typesMike Kaganski
2018-12-21Fix typo in codeAndrea Gelmini
2018-12-17kde5: remove older kde/tde plugins, and references to thatThorsten Behrens
2018-12-17tdf#122134: use CurrentMajorVersionNumber to filter out Windows 10Mike Kaganski
2018-12-16tdf#121987 follow-up: never fail MSU install; warn instead.Mike Kaganski
2018-11-21tdf#112536 related: make soffice.bin a proper console application on WinMike Kaganski
2018-11-09Related: tdf#121134: Changing http to https where possibleSophia Schröder
2018-10-22add Lower Serbian (dsb) language packChristian Lohmaier
2018-09-30Correcting description: Gnome -> GNOMEMatthias Seidel
2018-09-20tdf#115405, tdf#119910: don't check if UCRT is already installedMike Kaganski