/* -*- 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_SVX_SDTDITM_HXX #define INCLUDED_SVX_SDTDITM_HXX #include #include inline SdrMetricItem makeSdrTextLeftDistItem(long mnHeight) { return SdrMetricItem(SDRATTR_TEXT_LEFTDIST, mnHeight); } inline SdrMetricItem makeSdrTextRightDistItem(long mnHeight) { return SdrMetricItem(SDRATTR_TEXT_RIGHTDIST, mnHeight); } inline SdrMetricItem makeSdrTextUpperDistItem(long mnHeight) { return SdrMetricItem(SDRATTR_TEXT_UPPERDIST, mnHeight); } inline SdrMetricItem makeSdrTextLowerDistItem(long mnHeight) { return SdrMetricItem(SDRATTR_TEXT_LOWERDIST, mnHeight); } #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ > LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2020-12-29loplugin:stringviewparam: operator +Stephan Bergmann
2019-09-11tdf#42949 Fix IWYU warnings in sc/qa/extras/*Gabor Kelemen
2018-06-13tdf#45904 Move remaining _XCellRangeReferrer Java tests to C++Jens Carl
2018-01-30Remove shared mxComponent (test document) in scnamedrangeobjJens Carl
2017-12-11Fix typosAndrea Gelmini
2017-12-11Improve set up of test objectsJens Carl
2017-11-08Improve sc/ UNO API unit testsJens Carl
2017-06-29loplugin:oncevarStephan Bergmann
2017-02-01loplugin:stringconstant handle calls to constructors with one argNoel Grandin
2016-01-11loplugin:privatebase: Publicly derive from apitest classesStephan Bergmann
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
2014-09-30sc: ensure global variables in tests are cleared before shutdownMichael Stahl
2014-04-15Clean up function declarations and enable some forgotten(?) testsStephan Bergmann
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
2013-11-09More sc CppunitTest fixesStephan Bergmann
2013-04-26forgot thoseThomas Arnhold
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
2013-02-05Pass DocumentService to the loader during macro tests.Kohei Yoshida
2013-01-31Use a method from UnoApitest instead of implement a new one in calcMarcos Paulo de Souza