/* -*- 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_SFX2_STYFITEM_HXX #define INCLUDED_SFX2_STYFITEM_HXX #include #include #include #include #include #include struct SFX2_DLLPUBLIC SfxFilterTuple { OUString aName; SfxStyleSearchBits nFlags; SfxFilterTuple(const OUString& rName, SfxStyleSearchBits nArg) : aName(rName) , nFlags(nArg) { } }; typedef std::vector SfxStyleFilter; class SFX2_DLLPUBLIC SfxStyleFamilyItem { SfxStyleFamily nFamily; OUString aText; OUString aImage; SfxStyleFilter aFilterList; public: SfxStyleFamilyItem(SfxStyleFamily nFamily, const OUString &rName, const OUString& rImage, const std::pair* pStringArray, const std::locale& rLocale); const OUString& GetText() const { return aText; } SfxStyleFamily GetFamily() const { return nFamily; } const SfxStyleFilter& GetFilterList() const { return aFilterList; } const OUString& GetImage() const { return aImage; } }; using SfxStyleFamilies = std::vector; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ collabora/cd-5.3'>distro/collabora/cd-5.3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
();'>
AgeCommit message (Expand)Author
authorOliver Specht <oliver.specht@cib.de>2024-02-29 17:15:23 +0100
committerGabor Kelemen <gabor.kelemen.extern@allotropia.de>2024-03-11 14:39:18 +0100
commit09c6204b6309321aa25c542f918fde9f5f3f7fe2 (patch)
tree374fff3f7745de22120d09b69f838cba9d0a2396 /svx
parentda6a23840d44c40da3989e7c2372b2b6d9ae95b5 (diff)
tdf#81880 Search the Gallery
Adds a search field to the gallery to search for icons titles. Wildcards '*' and '?' are supported Change-Id: I7a8ed2addef3031b77eeeec21889cf72b964ca26 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164167 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Diffstat (limited to 'svx')