LCOV - code coverage report
Current view: top level - include/editeng - edtdlg.hxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 0 4 0.0 %
Date: 2014-11-03 Functions: 0 10 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_EDITENG_EDTDLG_HXX
      20             : #define INCLUDED_EDITENG_EDTDLG_HXX
      21             : 
      22             : #include <rtl/ustring.hxx>
      23             : #include <editeng/editengdllapi.h>
      24             : #include <i18nlangtag/lang.h>
      25             : #include <com/sun/star/uno/Reference.hxx>
      26             : #include <vcl/abstdlg.hxx>
      27             : #include <editeng/hangulhanja.hxx>
      28             : 
      29             : namespace com { namespace sun { namespace star { namespace linguistic2
      30             : {
      31             :     class XThesaurus;
      32             :     class XHyphenator;
      33             : } } } }
      34             : 
      35             : namespace vcl { class Window; }
      36             : class ResId;
      37             : class Link;
      38             : class SvxSpellWrapper;
      39             : 
      40           0 : class AbstractThesaurusDialog : public VclAbstractDialog
      41             : {
      42             : public:
      43             :     virtual OUString    GetWord() = 0;
      44             :     virtual sal_uInt16  GetLanguage() const = 0;
      45             :     virtual vcl::Window*     GetWindow() = 0;
      46             : };
      47             : 
      48           0 : class AbstractHyphenWordDialog : public VclAbstractDialog
      49             : {
      50             : public:
      51             :     virtual void    SelLeft() = 0;
      52             :     virtual void    SelRight() = 0;
      53             :     virtual vcl::Window* GetWindow() = 0;
      54             : };
      55             : 
      56           0 : class AbstractHangulHanjaConversionDialog : public VclAbstractTerminatedDialog
      57             : {
      58             :  public:
      59             :     virtual void     EnableRubySupport( bool _bVal ) = 0;
      60             :     virtual void     SetByCharacter( bool _bByCharacter ) = 0;
      61             :     virtual void     SetConversionDirectionState( bool _bTryBothDirections, editeng::HangulHanjaConversion::ConversionDirection _ePrimaryConversionDirection ) = 0;
      62             :     virtual void     SetConversionFormat( editeng::HangulHanjaConversion::ConversionFormat _eType ) = 0;
      63             :     virtual void     SetOptionsChangedHdl( const Link& _rHdl ) = 0;
      64             :     virtual void     SetIgnoreHdl( const Link& _rHdl ) = 0;
      65             :     virtual void     SetIgnoreAllHdl( const Link& _rHdl ) = 0;
      66             :     virtual void     SetChangeHdl( const Link& _rHdl ) = 0;
      67             :     virtual void     SetChangeAllHdl( const Link& _rHdl ) = 0;
      68             :     virtual void     SetClickByCharacterHdl( const Link& _rHdl ) = 0;
      69             :     virtual void     SetConversionFormatChangedHdl( const Link& _rHdl ) = 0;
      70             :     virtual void     SetFindHdl( const Link& _rHdl ) = 0;
      71             :     virtual bool     GetUseBothDirections() const= 0;
      72             :     virtual editeng::HangulHanjaConversion::ConversionDirection
      73             :                      GetDirection( editeng::HangulHanjaConversion::ConversionDirection _eDefaultDirection ) const = 0;
      74             :     virtual void     SetCurrentString(
      75             :                         const OUString& _rNewString,
      76             :                         const ::com::sun::star::uno::Sequence< OUString >& _rSuggestions,
      77             :                         bool _bOriginatesFromDocument = true )=0;
      78             :     virtual OUString GetCurrentString( ) const =0;
      79             :     virtual editeng::HangulHanjaConversion::ConversionFormat
      80             :                      GetConversionFormat( ) const =0;
      81             :     virtual void     FocusSuggestion( )= 0;
      82             :     virtual OUString GetCurrentSuggestion( ) const =0;
      83             : };
      84             : 
      85           0 : class EDITENG_DLLPUBLIC EditAbstractDialogFactory : virtual public VclAbstractDialogFactory
      86             : {
      87             : public:
      88             :                                         virtual ~EditAbstractDialogFactory();   // needed for export of vtable
      89             :     static EditAbstractDialogFactory*   Create();
      90             :     virtual AbstractThesaurusDialog*        CreateThesaurusDialog( vcl::Window*, css::uno::Reference< css::linguistic2::XThesaurus >  xThesaurus,
      91             :                                                 const OUString &rWord, sal_Int16 nLanguage ) = 0;
      92             : 
      93             :     virtual AbstractHyphenWordDialog*       CreateHyphenWordDialog( vcl::Window*,
      94             :                                                 const OUString &rWord, LanguageType nLang,
      95             :                                                 css::uno::Reference< css::linguistic2::XHyphenator >  &xHyphen,
      96             :                                                 SvxSpellWrapper* pWrapper ) = 0;
      97             :     virtual AbstractHangulHanjaConversionDialog * CreateHangulHanjaConversionDialog( vcl::Window* _pParent,
      98             :                                             editeng::HangulHanjaConversion::ConversionDirection _ePrimaryDirection ) = 0;
      99             : };
     100             : 
     101             : #endif
     102             : 
     103             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10