LCOV - code coverage report
Current view: top level - filter/source/xsltdialog - xmlfiltercommon.hxx (source / functions) Hit Total Coverage
Test: commit 0e63ca4fde4e446f346e35849c756a30ca294aab Lines: 0 1 0.0 %
Date: 2014-04-11 Functions: 0 2 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             : #ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERCOMMON_HXX
      20             : #define INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERCOMMON_HXX
      21             : 
      22             : #include <com/sun/star/lang/XComponent.hpp>
      23             : #include <com/sun/star/lang/XMultiServiceFactory.hpp>
      24             : #include <com/sun/star/container/XHierarchicalName.hpp>
      25             : #include <com/sun/star/container/XNameContainer.hpp>
      26             : #include <com/sun/star/io/XInputStream.hpp>
      27             : #include <com/sun/star/io/XOutputStream.hpp>
      28             : 
      29             : #include <vector>
      30             : 
      31             : 
      32             : 
      33             : extern OUString string_encode( const OUString & rText );
      34             : extern OUString string_decode( const OUString & rText );
      35             : 
      36             : 
      37             : 
      38             : extern bool isFileURL( const OUString & rURL );
      39             : 
      40             : 
      41             : 
      42             : bool copyStreams( ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > xIS, ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > xOS );
      43             : bool createDirectory( OUString& rURL );
      44             : 
      45             : 
      46             : 
      47           0 : class filter_info_impl
      48             : {
      49             : public:
      50             :     OUString   maFilterName;
      51             :     OUString   maType;
      52             :     OUString   maDocumentService;
      53             :     OUString   maFilterService;
      54             :     OUString   maInterfaceName;
      55             :     OUString   maComment;
      56             :     OUString   maExtension;
      57             :     OUString   maExportXSLT;
      58             :     OUString   maImportXSLT;
      59             :     OUString   maImportTemplate;
      60             :     OUString   maDocType;
      61             :     OUString   maImportService;
      62             :     OUString   maExportService;
      63             : 
      64             :     sal_Int32       maFlags;
      65             :     sal_Int32       maFileFormatVersion;
      66             :     sal_Int32       mnDocumentIconID;
      67             : 
      68             :     sal_Bool        mbReadonly;
      69             : 
      70             :     sal_Bool        mbNeedsXSLT2;
      71             : 
      72             :     filter_info_impl();
      73             :     filter_info_impl( const filter_info_impl& rInfo );
      74             :     bool operator==( const filter_info_impl& ) const;
      75             : 
      76             :     com::sun::star::uno::Sequence< OUString > getFilterUserData() const;
      77             : };
      78             : 
      79             : 
      80             : 
      81             : struct application_info_impl
      82             : {
      83             :     OUString   maDocumentService;
      84             :     OUString   maDocumentUIName;
      85             :     OUString   maXMLImporter;
      86             :     OUString   maXMLExporter;
      87             : 
      88             :     application_info_impl( const sal_Char * pDocumentService, ResId& rUINameRes, const sal_Char * mpXMLImporter, const sal_Char * mpXMLExporter );
      89             : };
      90             : 
      91             : 
      92             : 
      93             : extern std::vector< application_info_impl* >& getApplicationInfos();
      94             : extern OUString getApplicationUIName( const OUString& rServiceName );
      95             : extern const application_info_impl* getApplicationInfo( const OUString& rServiceName );
      96             : 
      97             : extern ResMgr* getXSLTDialogResMgr();
      98             : 
      99             : #define RESID(x) ResId(x, *getXSLTDialogResMgr())
     100             : #define RESIDSTR(x) RESID(x).toString()
     101             : 
     102             : #endif
     103             : 
     104             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10