/* -*- 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_INC_GUISAVEAS_HXX #define INCLUDED_SFX2_INC_GUISAVEAS_HXX #include #include #include #include #include #include #include #include #include namespace com { namespace sun { namespace star { namespace document { class XDocumentProperties; } } } } class Window; class ModelData_Impl; class SfxStoringHelper { friend class ModelData_Impl; private: ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > m_xFilterCFG; ::com::sun::star::uno::Reference< ::com::sun::star::container::XContainerQuery > m_xFilterQuery; ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModuleManager2 > m_xModuleManager; ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > GetFilterConfiguration(); ::com::sun::star::uno::Reference< ::com::sun::star::container::XContainerQuery > GetFilterQuery(); ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModuleManager2 > GetModuleManager(); public: SfxStoringHelper(); bool GUIStoreModel( ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > xModel, const OUString& aSlotName, ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgsSequence, bool bPreselectPassword, const OUString& aUserSelectedName, sal_uInt16 nDocumentSignatureState = SIGNATURESTATE_NOSIGNATURES ); static bool CheckFilterOptionsAppearence( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& xFilterCFG, const OUString& aFilterName ); static void SetDocInfoState( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel, const ::com::sun::star::uno::Reference< ::com::sun::star::document::XDocumentProperties>& i_xOldDocInfo, bool bNoModify ); static bool WarnUnacceptableFormat( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel, const OUString& aOldUIName, const OUString& aDefUIName, bool bCanProceedFurther ); static Window* GetModelWindow( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel ); }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ bora/cp-4.1'>distro/collabora/cp-4.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2022-09-22Related: tdf#151107 make "sloppy" paper fit up to 1.25ptCaolán McNamara
2022-09-22Revert "Related: tdf#151107 make "sloppy" paper fit up to 1.25pt"Caolán McNamara
2022-09-22Related: tdf#151107 make "sloppy" paper fit up to 1.25ptCaolán McNamara
2022-05-24Use o3tl::make_unsigned in some placesStephan Bergmann
2022-04-26add o3tl::toUInt32Noel Grandin
2022-04-11use more string_viewNoel Grandin
2022-01-27Recheck modules [i-l]* with IWYUGabor Kelemen
2021-12-26Avoid OUStringBuffer::toString where possibleMike Kaganski
2021-11-17Add script codes to standalone {mis} tagsEike Rathke
2021-11-16Update to ICU 70.1Eike Rathke
2021-11-11Resolves: tdf#110003 tdf#143128 handle lowercase ß vs uppercase ẞ foldingEike Rathke
2021-11-10Change CaseMappingExtra commented hex offsets to four digits and uppercaseEike Rathke
2021-09-16speedup CharacterClassificationImpl::toUpperNoel Grandin
2021-07-13Add PowerPoint compatible screen size for ImpressJun NOGATA
2021-06-28loplugin:indentation improve checks for brace alignmentNoel Grandin
2021-06-21remove some unnecessary OUString::internNoel Grandin
2021-06-14We only support ICU version 4.6 or newer, so drop these checksMike Kaganski
2021-05-05WASM: add initial support for Emscripten cross buildJan-Marek Glogowski
2021-04-07Updated README.md files to represent current code / use Markdown formatHossein
2021-03-24Using .md extension/Markdown syntax for modules READMEHossein
2021-01-28add string_view variants of methods to O[U]StringBufferNoel
2021-01-22tdf#135590 rotated paper sizes reported as portrait size they are notCaolán McNamara
2020-11-17loplugin:stringviewparam check methods tooNoel
2020-11-16Instead of labs, use overloaded absStephan Bergmann
2020-11-10sync filter's paper table with calcs and i18nutilsCaolán McNamara
2020-10-22long->tools::Long in hwpfilter..ooxNoel
2020-08-03loplugin:flatten in configmgr..i18nutilNoel Grandin
2020-07-01Upcoming improved loplugin:staticanonymous -> redundantstatic: i18nutilStephan Bergmann
2020-05-29loplugin:simplifybool in hwpfilter..lotuswordproNoel Grandin
2020-05-11Adapt to be able to build against ICU 66Eike Rathke
2020-05-11change USCRIPT_JAMO language value for UnicodeDaeHyun Sung
2020-04-15loplugin:buriedassign in f,h,i*Noel Grandin
2020-02-16Add case table for AdlamAlex Henrie
2020-02-12Add case table for MedefaidrinAlex Henrie
2020-02-10Add case table for Warang CitiAlex Henrie
2020-01-22Add case table for Old HungarianAlex Henrie
2020-01-10Fix Osage lowercase-to-uppercase mappingsAlex Henrie
2020-01-08Fix case mapping for undefined characters in the Osage blockAlex Henrie
2019-12-20Add case table for Deseret and OsageAlex Henrie
2019-11-22Extend loplugin:external to warn about classesStephan Bergmann