/* -*- 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/. */ #ifndef INCLUDED_SC_INC_TYPEDSTRDATA_HXX #define INCLUDED_SC_INC_TYPEDSTRDATA_HXX #include #include "scdllapi.h" #include class ScTypedStrData { public: enum StringType { Value = 0, Standard = 1, Name = 2, DbName = 3, Header = 4 }; ScTypedStrData( const OUString& rStr, double nVal = 0.0, StringType eType = Standard, bool bDate = false ); ScTypedStrData( const ScTypedStrData& rCpy ); bool IsDate() const { return mbIsDate;} const OUString& GetString() const { return maStrValue;} StringType GetStringType() const { return meStrType;} double GetValue() const { return mfValue; } struct LessCaseSensitive : std::binary_function { bool operator() (const ScTypedStrData& left, const ScTypedStrData& right) const; }; struct LessCaseInsensitive : std::binary_function { bool operator() (const ScTypedStrData& left, const ScTypedStrData& right) const; }; struct EqualCaseSensitive : std::binary_function { bool operator() (const ScTypedStrData& left, const ScTypedStrData& right) const; }; struct EqualCaseInsensitive : std::binary_function { bool operator() (const ScTypedStrData& left, const ScTypedStrData& right) const; }; bool operator< (const ScTypedStrData& r) const; private: OUString maStrValue; double mfValue; StringType meStrType; bool mbIsDate; }; class FindTypedStrData : public std::unary_function { ScTypedStrData maVal; bool mbCaseSens; public: FindTypedStrData(const ScTypedStrData& rVal, bool bCaseSens); bool operator() (const ScTypedStrData& r) const; }; typedef std::set ScTypedCaseStrSet; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ .05 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-22msvc80 dlls are only needed for mozab driverDavid Tardon
2013-04-15configure: find the MSVC debug runtime librariesMichael Stahl
2013-04-10one variable to rule them allDavid Tardon
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks
2013-03-04If Mozab is built, look for VS2005 dllsFridrich Štrba
2013-02-28remove all d.lstMichael Stahl
2013-02-19Kill the --without-system-stdlibs optionFridrich Štrba
2013-02-13ignore errorsDavid Tardon
2013-02-01gbuild: copy stdlibs into solver again when they are bundled in the installerPetr Mladek
2013-01-02use MINGW_SYSROOT consistentlyLuboš Luňák
2012-12-31name the libs to deliver correctlyDavid Tardon
2012-12-31fix typoDavid Tardon
2012-12-31add missing \David Tardon
2012-12-31drop CustomTarget_mingw_dlls from Module mkDavid Tardon
2012-12-31copy dlls directly from mingw sysrootDavid Tardon
2012-12-31fix another typoDavid Tardon
2012-12-31get_target -> get_workdir. sighDavid Tardon
2012-12-31the wine .def files are in $SRCDIRDavid Tardon
2012-12-31configure only looks in $MINGW_SYSROOTDavid Tardon
2012-12-31drop some unneeded explicit depsDavid Tardon
2012-12-29drop executable bitDavid Tardon
2012-12-27fix delivery of libjawt.dll.aDavid Tardon
2012-12-26WaE: unreferenced formal parameters and old-style declaratorsTor Lillqvist
2012-12-26fix dmake build of module external ... I thinkLuboš Luňák
2012-12-25Get rid of (most uses of) GUITor Lillqvist
2012-12-25convert external to gbuildPeter Foley
2012-11-28MinGW: Bundle also the libpoppler-*.dllJan Holesovsky
2012-11-21dung out berkeleydb gnumake / configure bits ...Michael Meeks
2012-11-12Don't bundle gdiplus.dll any moreTor Lillqvist
2012-10-31fdo#55514 libgmodule is needed tooDavid Tardon
2012-10-31fdo#54327 put system nss dlls into the install setDavid Tardon
2012-10-30fdo#55514 put liblangtag dll to install setDavid Tardon
2012-10-26minizip is not used anymoreDavid Tardon
2012-10-26chop out uwinapi from more ext. projectsDavid Tardon
2012-10-09Revert "Win8 SDK no longer ships rebase.exe"Fridrich Štrba
2012-10-07fix msm suport for VS2012Peter Foley
2012-10-07Win8 SDK no longer ships rebase.exePeter Foley
2012-08-16enable build with Visual Studio 2012Peter Foley
2012-08-15add build support for libexsltDavid Tardon