/* -*- 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 . */ #include "dlg_NumberFormat.hxx" #include #include #include #include #include #include namespace chart { using namespace ::com::sun::star; NumberFormatDialog::NumberFormatDialog(vcl::Window* pParent, SfxItemSet& rSet) : SfxSingleTabDialog(pParent, rSet, "FormatNumberDialog", "cui/ui/formatnumberdialog.ui") { SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create(); ::CreateTabPage fnCreatePage = pFact->GetTabPageCreatorFunc( RID_SVXPAGE_NUMBERFORMAT ); if ( fnCreatePage ) { SfxTabPage* pTabPage = (*fnCreatePage)( get_content_area(), &rSet ); pTabPage->PageCreated(rSet); SetTabPage(pTabPage); } } SfxItemSet NumberFormatDialog::CreateEmptyItemSetForNumberFormatDialog( SfxItemPool& rItemPool ) { static const sal_uInt16 nWhichPairs[] = { SID_ATTR_NUMBERFORMAT_VALUE, SID_ATTR_NUMBERFORMAT_INFO, SID_ATTR_NUMBERFORMAT_NOLANGUAGE, SID_ATTR_NUMBERFORMAT_NOLANGUAGE, SID_ATTR_NUMBERFORMAT_ONE_AREA, SID_ATTR_NUMBERFORMAT_ONE_AREA, SID_ATTR_NUMBERFORMAT_SOURCE, SID_ATTR_NUMBERFORMAT_SOURCE, 0 }; return SfxItemSet( rItemPool, nWhichPairs ); } } //namespace chart /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2014-07-08No atlsd.lib in VS 2013Tor Lillqvist
2014-05-30fdo#68849: Add header guards to all include filesJens Carl
2014-05-22Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part19Julien Nabet
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold
2014-05-10remove globally disabled warnings from source filesThomas Arnhold
2014-04-15cppu::OMultiTypeInterfaceContainerHelperVar hashImpl param is unusedStephan Bergmann
2014-03-10embedserv: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann
2014-02-26Remove visual noise from embedservAlexander Wilms
2014-02-23Remove unneccessary commentsAlexander Wilms
2014-01-29bool improvementsStephan Bergmann
2013-12-20typo fixesAndras Timar
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
2013-12-06Default OMultiTypeInferfaceContainerHelperVar equalImpl parameterStephan Bergmann
2013-11-28clean up some COM initializationMichael Stahl
2013-11-20Use <windows.h> with a lower-case 'w' for cross-compilation goodnessTor Lillqvist
2013-11-20Windows: Require at least Windows XP SP2Thomas Arnhold
2013-11-19fdo#66232 fix opening files via COM serverAndras Timar
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin
2013-11-19remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin
2013-11-14embedserv: unused codeAndras Timar
2013-11-11remove unnecessary use of OUString constructorNoel Grandin
2013-10-23clean up some include guardsThomas Arnhold