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

Generated by: LCOV version 1.11