LCOV - code coverage report
Current view: top level - usr/local/src/libreoffice/sfx2/inc - guisaveas.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 0.0 %
Date: 2013-07-09 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : 
      20             : #ifndef _SFX_GUISAVEAS_HXX_
      21             : #define _SFX_GUISAVEAS_HXX_
      22             : 
      23             : #include <com/sun/star/uno/Sequence.hxx>
      24             : #include <com/sun/star/beans/PropertyValue.hpp>
      25             : #include <com/sun/star/beans/NamedValue.hpp>
      26             : #include <com/sun/star/container/XNameAccess.hpp>
      27             : #include <com/sun/star/container/XContainerQuery.hpp>
      28             : #include <com/sun/star/frame/XModel.hpp>
      29             : #include <com/sun/star/frame/XModuleManager2.hpp>
      30             : 
      31             : #include <comphelper/sequenceashashmap.hxx>
      32             : #include <sfx2/signaturestate.hxx>
      33             : 
      34             : 
      35             : namespace com { namespace sun { namespace star {
      36             :     namespace document {
      37             :         class XDocumentProperties;
      38             :     }
      39             : } } }
      40             : 
      41             : class Window;
      42             : class ModelData_Impl;
      43             : 
      44           0 : class SfxStoringHelper
      45             : {
      46             :     friend class ModelData_Impl;
      47             : 
      48             : private:
      49             :     ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > m_xFilterCFG;
      50             :     ::com::sun::star::uno::Reference< ::com::sun::star::container::XContainerQuery > m_xFilterQuery;
      51             :     ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModuleManager2 > m_xModuleManager;
      52             : 
      53             :     ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > GetFilterConfiguration();
      54             :     ::com::sun::star::uno::Reference< ::com::sun::star::container::XContainerQuery > GetFilterQuery();
      55             :     ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModuleManager2 > GetModuleManager();
      56             : 
      57             : public:
      58             :     SfxStoringHelper();
      59             : 
      60             :     sal_Bool GUIStoreModel(
      61             :                     ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > xModel,
      62             :                     const OUString& aSlotName,
      63             :                     ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgsSequence,
      64             :                     sal_Bool bPreselectPassword,
      65             :                     OUString aUserSelectedName,
      66             :                     sal_uInt16 nDocumentSignatureState = SIGNATURESTATE_NOSIGNATURES );
      67             : 
      68             :     static sal_Bool CheckFilterOptionsAppearence(
      69             :                     const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& xFilterCFG,
      70             :                     const OUString& aFilterName );
      71             : 
      72             : 
      73             :     static void SetDocInfoState(
      74             :         const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel,
      75             :         const ::com::sun::star::uno::Reference<
      76             :             ::com::sun::star::document::XDocumentProperties>& i_xOldDocInfo,
      77             :         sal_Bool bNoModify );
      78             : 
      79             :     static sal_Bool WarnUnacceptableFormat(
      80             :                                     const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel,
      81             :                                     OUString aOldUIName,
      82             :                                     OUString aDefUIName,
      83             :                                     sal_Bool bCanProceedFurther );
      84             : 
      85             :     static Window* GetModelWindow( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel );
      86             : 
      87             : };
      88             : 
      89             : #endif
      90             : 
      91             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10