INTEGRATION: CWS languageguessing (1.28.82); FILE MERGED

2007/01/12 08:22:03 tl 1.28.82.1: #i73173# integrate Google SoC language-guessing
This commit is contained in:
Kurt Zenker 2007-06-19 14:51:15 +00:00
parent f879c161e5
commit 653ade1e3d

View file

@ -4,9 +4,9 @@
* *
* $RCSfile: swmodule.hxx,v $ * $RCSfile: swmodule.hxx,v $
* *
* $Revision: 1.29 $ * $Revision: 1.30 $
* *
* last change: $Author: rt $ $Date: 2007-04-25 08:57:05 $ * last change: $Author: kz $ $Date: 2007-06-19 15:51:15 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@ -68,6 +68,9 @@
#ifndef _COM_SUN_STAR_LINGUISTIC2_XLINGUSERVICEEVENTLISTENER_HPP_ #ifndef _COM_SUN_STAR_LINGUISTIC2_XLINGUSERVICEEVENTLISTENER_HPP_
#include <com/sun/star/linguistic2/XLinguServiceEventListener.hpp> #include <com/sun/star/linguistic2/XLinguServiceEventListener.hpp>
#endif #endif
#ifndef _COM_SUN_STAR_LINGUISTIC2_XLANGUAGEGUESSING_HPP_
#include <com/sun/star/linguistic2/XLanguageGuessing.hpp>
#endif
class SvStringsDtor; class SvStringsDtor;
class Color; class Color;
@ -143,6 +146,8 @@ class SwModule: public SfxModule, public SfxListener
::com::sun::star::linguistic2::XLinguServiceEventListener > xLngSvcEvtListener; ::com::sun::star::linguistic2::XLinguServiceEventListener > xLngSvcEvtListener;
::com::sun::star::uno::Reference< ::com::sun::star::uno::Reference<
::com::sun::star::scanner::XScannerManager > m_xScannerManager; ::com::sun::star::scanner::XScannerManager > m_xScannerManager;
::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XLanguageGuessing > m_xLanguageGuesser;
sal_Bool bAuthorInitialised : 1; sal_Bool bAuthorInitialised : 1;
sal_Bool bEmbeddedLoadSave : 1; sal_Bool bEmbeddedLoadSave : 1;
@ -267,6 +272,10 @@ public:
::com::sun::star::uno::Reference< ::com::sun::star::uno::Reference<
::com::sun::star::scanner::XScannerManager > ::com::sun::star::scanner::XScannerManager >
GetScannerManager(); GetScannerManager();
::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XLanguageGuessing >
GetLanguageGuesser();
}; };