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

Generated by: LCOV version 1.10