/* -*- 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 class ScInputOptions { private: sal_uInt16 nMoveDir; // enum ScDirection bool bMoveSelection; bool bMoveKeepEdit; bool bEnterEdit; bool bExtendFormat; bool bRangeFinder; bool bExpandRefs; bool mbSortRefUpdate; bool bMarkHeader; bool bUseTabCol; bool bTextWysiwyg; bool bReplCellsWarn; bool bLegacyCellSelection; bool bEnterPasteMode; public: ScInputOptions(); void SetMoveDir(sal_uInt16 nNew) { nMoveDir = nNew; } sal_uInt16 GetMoveDir() const { return nMoveDir; } void SetMoveSelection(bool bSet) { bMoveSelection = bSet; } bool GetMoveSelection() const { return bMoveSelection; } void SetEnterEdit(bool bSet) { bEnterEdit = bSet; } bool GetEnterEdit() const { return bEnterEdit; } void SetMoveKeepEdit(bool bSet) { bMoveKeepEdit = bSet; } bool GetMoveKeepEdit() const { return bMoveKeepEdit; } void SetExtendFormat(bool bSet) { bExtendFormat = bSet; } bool GetExtendFormat() const { return bExtendFormat; } void SetRangeFinder(bool bSet) { bRangeFinder = bSet; } bool GetRangeFinder() const { return bRangeFinder; } void SetExpandRefs(bool bSet) { bExpandRefs = bSet; } bool GetExpandRefs() const { return bExpandRefs; } void SetSortRefUpdate(bool bSet) { mbSortRefUpdate = bSet; } bool GetSortRefUpdate() const { return mbSortRefUpdate; } void SetMarkHeader(bool bSet) { bMarkHeader = bSet; } bool GetMarkHeader() const { return bMarkHeader; } void SetUseTabCol(bool bSet) { bUseTabCol = bSet; } bool GetUseTabCol() const { return bUseTabCol; } void SetTextWysiwyg(bool bSet) { bTextWysiwyg = bSet; } bool GetTextWysiwyg() const { return bTextWysiwyg; } void SetReplaceCellsWarn(bool bSet) { bReplCellsWarn = bSet; } bool GetReplaceCellsWarn() const { return bReplCellsWarn; } void SetLegacyCellSelection(bool bSet) { bLegacyCellSelection = bSet; } bool GetLegacyCellSelection() const { return bLegacyCellSelection; } void SetEnterPasteMode(bool bSet) { bEnterPasteMode = bSet; } bool GetEnterPasteMode() const { return bEnterPasteMode; } }; // CfgItem for input options class ScInputCfg final : private ScInputOptions, public utl::ConfigItem { static css::uno::Sequence GetPropertyNames(); void ReadCfg(); virtual void ImplCommit() override; public: ScInputCfg(); const ScInputOptions& GetOptions() const { return *this; } void SetOptions( const ScInputOptions& rNew ); virtual void Notify( const css::uno::Sequence& aPropertyNames ) override; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ labora/cp-6.0-29'>distro/collabora/cp-6.0-29 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2024-10-24Resolves tdf148513 - Illustration for line break optionsHeiko Tietze
2024-09-23tdf#163086 Resize SVG pin icons to 24x24 and clean them upIlmari Lauhakangas
2024-09-18tdf#158939 Karasa Jaga: optimise icons by removing bitmapsIlmari Lauhakangas
2024-09-17Colibre: fix typehistogram_16.png iconIlmari Lauhakangas
2024-09-17tdf#162990 Colibre (and Dark) SVG: fix unlocked icon and add locked iconIlmari Lauhakangas
2024-09-14Resolves tdf#33714 - Option to disable "only active sheet"Heiko Tietze
2024-09-11Revert "Resolves tdf#162732 - Donate label not vertical centered"Heiko Tietze
2024-09-03Resolves tdf#162732 - Donate label not vertical centeredHeiko Tietze
2024-08-16tdf#162491 tdf#125032 add hyphenation settings to sidebarLászló Németh
2024-07-29tdf#161090 - Spec how many / which values are in remainder of-Pie chartKurt Nordback
2024-07-21tdf#82716 Add initial implementation of the Histogram Chartvarshneydevansh
2024-07-02Related tdf#161796 - Update donate iconHeiko Tietze
2024-07-01tdf#160817 SwNavigator expose main functions for selected entryJim Raykowski
2024-07-01Resolves tdf#161796 - Add a donate button to the start centerHeiko Tietze
2024-05-27tdf#154774 Sifr: Adjust contrast for dark variantRizal Muttaqin
2024-05-23tdf#161092 KJ: Graphics for bar-of-pie and pie-of-pie chart typeRizal Muttaqin
2024-05-23Sukapura: Delete underlying bitmap in chart type vector filesRizal Muttaqin
2024-05-23tdf#161092 Sifr: Graphics for bar-of-pie and pie-of-pie chart typeRizal Muttaqin
2024-05-23tdf#161092 elementary: Graphics for bar-of-pie and pie-of-pie chart typeRizal Muttaqin
2024-05-23tdf#161092 Breeze: Graphics for bar-of-pie and pie-of-pie chart typeRizal Muttaqin
2024-05-23tdf#161092 Sukapura: Graphics for bar-of-pie and pie-of-pie chart typeRizal Muttaqin
2024-05-23tdf#161092 Colibre: Graphics for bar-of-pie and pie-of-pie chart typeRizal Muttaqin
2024-05-03tdf#160349: add .uno:ChangeTheme to notebookbar to toggle dark modeJustin Luth
2024-04-08tdf#50998 tdf#87892 Add sinusoid shapeRMZeroFour
2024-04-06Resolves: tdf#160562 change white background of icon to transparentCaolán McNamara
2024-02-19tdf#50934: Rudimentary UI images for pie-of-pie and bar-of-pieKurt Nordback
2024-02-12Resolves tdf#158531 - Connector lines for Keep Ratio settingHeiko Tietze
2024-01-28tdf#158939 icon-themes/karasa_jaga_svg: simplify some db iconsIlmari Lauhakangas
2024-01-27tdf#158939 icon-themes: remove leftover reference images from SVGsIlmari Lauhakangas
2023-12-21tdf#158114 SwNavigator: Make images with broken links easier to findJim Raykowski
2023-11-22tdf#158126 UI: Scalable buttons for Impress navigation barIrgaliev Amin