LCOV - code coverage report
Current view: top level - libreoffice/sw/inc - SwAppletImpl.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 5 0.0 %
Date: 2012-12-27 Functions: 0 5 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 _SW_APPLET_IMPL_HXX
      21             : #define _SW_APPLET_IMPL_HXX
      22             : 
      23             : #define SWHTML_OPTTYPE_IGNORE 0
      24             : #define SWHTML_OPTTYPE_TAG 1
      25             : #define SWHTML_OPTTYPE_PARAM 2
      26             : #define SWHTML_OPTTYPE_SIZE 3
      27             : 
      28             : #include <com/sun/star/embed/XEmbeddedObject.hpp>
      29             : 
      30             : 
      31             : #include <sfx2/frmhtml.hxx>
      32             : #include <sfx2/frmhtmlw.hxx>
      33             : #include <vcl/wrkwin.hxx>
      34             : #include <sot/storage.hxx>
      35             : #include <svl/itemset.hxx>
      36             : 
      37             : #include <svl/ownlist.hxx>
      38             : 
      39             : class SfxItemSet;
      40             : 
      41             : #define OOO_STRING_SW_HTML_O_Hidden "HIDDEN"
      42             : 
      43             : class SwApplet_Impl
      44             : {
      45             :     com::sun::star::uno::Reference < com::sun::star::embed::XEmbeddedObject > xApplet;
      46             :     SvCommandList     aCommandList;
      47             :     SfxItemSet        aItemSet;
      48             :     ::rtl::OUString   sAlt;
      49             : 
      50             : public:
      51             :     static sal_uInt16 GetOptionType( const ::rtl::OUString& rName, sal_Bool bApplet );
      52             :     SwApplet_Impl( SfxItemPool& rPool, sal_uInt16 nWhich1, sal_uInt16 nWhich2 );
      53           0 :     SwApplet_Impl( SfxItemSet& rSet ): aItemSet ( rSet) {}
      54             :     ~SwApplet_Impl();
      55             :     void CreateApplet( const ::rtl::OUString& rCode, const ::rtl::OUString& rName,
      56             :                        sal_Bool bMayScript, const ::rtl::OUString& rCodeBase,
      57             :                        const ::rtl::OUString& rBaseURL );
      58             : #ifdef SOLAR_JAVA
      59             :     sal_Bool CreateApplet( const ::rtl::OUString& rBaseURL );
      60             :     void AppendParam( const ::rtl::OUString& rName, const ::rtl::OUString& rValue );
      61             : #endif
      62             :     void FinishApplet();
      63           0 :     com::sun::star::uno::Reference < com::sun::star::embed::XEmbeddedObject > GetApplet() { return xApplet; }
      64           0 :     SfxItemSet& GetItemSet() { return aItemSet; }
      65           0 :     const ::rtl::OUString& GetAltText() const { return sAlt; }
      66           0 :     void SetAltText( const ::rtl::OUString& rAlt ) {sAlt = rAlt;}
      67             : };
      68             : #endif
      69             : 
      70             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10