LibreOffice Module sc (master)  1
Public Member Functions | Private Attributes | List of all members
ScConversionParam Class Reference

Parameters for conversion. More...

#include <spellparam.hxx>

Collaboration diagram for ScConversionParam:
[legend]

Public Member Functions

 ScConversionParam (ScConversionType eConvType)
 Constructs an empty parameter struct with the passed conversion type. More...
 
 ScConversionParam (ScConversionType eConvType, LanguageType eLang, sal_Int32 nOptions, bool bIsInteractive)
 Constructs parameter struct for text conversion without changing the language. More...
 
 ScConversionParam (ScConversionType eConvType, LanguageType eSourceLang, LanguageType eTargetLang, const vcl::Font &rTargetFont, sal_Int32 nOptions, bool bIsInteractive)
 Constructs parameter struct for text conversion with language change. More...
 
ScConversionType GetType () const
 
LanguageType GetSourceLang () const
 
LanguageType GetTargetLang () const
 
const vcl::FontGetTargetFont () const
 
sal_Int32 GetOptions () const
 
bool IsInteractive () const
 

Private Attributes

ScConversionType meConvType
 
LanguageType meSourceLang
 Type of the conversion. More...
 
LanguageType meTargetLang
 Source language for conversion. More...
 
vcl::Font maTargetFont
 Target language for conversion. More...
 
sal_Int32 mnOptions
 Target font to be used if language has to be changed. More...
 
bool mbUseTargetFont
 Conversion options. More...
 
bool mbIsInteractive
 True = Use maTargetFont to change font during conversion. More...
 

Detailed Description

Parameters for conversion.

Definition at line 33 of file spellparam.hxx.

Constructor & Destructor Documentation

ScConversionParam::ScConversionParam ( ScConversionType  eConvType)
explicit

Constructs an empty parameter struct with the passed conversion type.

Definition at line 350 of file spelleng.cxx.

References LANGUAGE_NONE.

ScConversionParam::ScConversionParam ( ScConversionType  eConvType,
LanguageType  eLang,
sal_Int32  nOptions,
bool  bIsInteractive 
)
explicit

Constructs parameter struct for text conversion without changing the language.

Definition at line 360 of file spelleng.cxx.

References LANGUAGE_KOREAN, and mnOptions.

ScConversionParam::ScConversionParam ( ScConversionType  eConvType,
LanguageType  eSourceLang,
LanguageType  eTargetLang,
const vcl::Font rTargetFont,
sal_Int32  nOptions,
bool  bIsInteractive 
)
explicit

Constructs parameter struct for text conversion with language change.

Definition at line 373 of file spelleng.cxx.

References LANGUAGE_KOREAN, meSourceLang, meTargetLang, and mnOptions.

Member Function Documentation

sal_Int32 ScConversionParam::GetOptions ( ) const
inline

Definition at line 59 of file spellparam.hxx.

References mnOptions.

Referenced by ScTextConversionEngine::ConvertAll().

LanguageType ScConversionParam::GetSourceLang ( ) const
inline
const vcl::Font* ScConversionParam::GetTargetFont ( ) const
inline

Definition at line 58 of file spellparam.hxx.

References maTargetFont, and mbUseTargetFont.

Referenced by ScTextConversionEngine::ConvertAll().

LanguageType ScConversionParam::GetTargetLang ( ) const
inline

Definition at line 57 of file spellparam.hxx.

References meTargetLang.

Referenced by ScTextConversionEngine::ConvertAll().

ScConversionType ScConversionParam::GetType ( ) const
inline

Definition at line 55 of file spellparam.hxx.

References meConvType.

Referenced by ScViewFunc::DoSheetConversion(), and ScUndoConversion::GetComment().

bool ScConversionParam::IsInteractive ( ) const
inline

Definition at line 60 of file spellparam.hxx.

References mbIsInteractive.

Referenced by ScTextConversionEngine::ConvertAll().

Member Data Documentation

vcl::Font ScConversionParam::maTargetFont
private

Target language for conversion.

Definition at line 66 of file spellparam.hxx.

Referenced by GetTargetFont().

bool ScConversionParam::mbIsInteractive
private

True = Use maTargetFont to change font during conversion.

Definition at line 69 of file spellparam.hxx.

Referenced by IsInteractive().

bool ScConversionParam::mbUseTargetFont
private

Conversion options.

Definition at line 68 of file spellparam.hxx.

Referenced by GetTargetFont().

ScConversionType ScConversionParam::meConvType
private

Definition at line 63 of file spellparam.hxx.

Referenced by GetType().

LanguageType ScConversionParam::meSourceLang
private

Type of the conversion.

Definition at line 64 of file spellparam.hxx.

Referenced by GetSourceLang(), and ScConversionParam().

LanguageType ScConversionParam::meTargetLang
private

Source language for conversion.

Definition at line 65 of file spellparam.hxx.

Referenced by GetTargetLang(), and ScConversionParam().

sal_Int32 ScConversionParam::mnOptions
private

Target font to be used if language has to be changed.

Definition at line 67 of file spellparam.hxx.

Referenced by GetOptions(), and ScConversionParam().


The documentation for this class was generated from the following files: