Home
last modified time | relevance | path

Searched refs:nScriptType (Results 1 – 25 of 54) sorted by relevance

123

/trunk/main/editeng/source/editeng/
H A Deditdoc.cxx74 if ( ( nScriptType == i18n::ScriptType::ASIAN ) || in GetScriptItemId()
75 ( nScriptType == i18n::ScriptType::COMPLEX ) ) in GetScriptItemId()
107 bValid = nScriptType == i18n::ScriptType::LATIN; in IsScriptItemValid()
110 bValid = nScriptType == i18n::ScriptType::ASIAN; in IsScriptItemValid()
116 bValid = nScriptType == i18n::ScriptType::LATIN; in IsScriptItemValid()
119 bValid = nScriptType == i18n::ScriptType::ASIAN; in IsScriptItemValid()
125 bValid = nScriptType == i18n::ScriptType::LATIN; in IsScriptItemValid()
128 bValid = nScriptType == i18n::ScriptType::ASIAN; in IsScriptItemValid()
134 bValid = nScriptType == i18n::ScriptType::LATIN; in IsScriptItemValid()
137 bValid = nScriptType == i18n::ScriptType::ASIAN; in IsScriptItemValid()
[all …]
H A Dimpedit2.cxx1782 … if ( ( nScriptType == i18n::ScriptType::WEAK ) || ( nScriptType == rTypes.back().nScriptType ) ) in InitScriptTypes()
1860 nDebugType = rTypes[n].nScriptType; in InitScriptTypes()
1868 sal_uInt16 nScriptType = 0; in GetScriptType() local
1886 nScriptType = rTypes[n].nScriptType; in GetScriptType()
1893 return nScriptType ? nScriptType : GetI18NScriptTypeOfLanguage( GetDefaultLanguage() ); in GetScriptType()
1901 short nScriptType = 0; in GetScriptType() local
1925 nScriptType |= GetItemScriptType ( rTypes[n].nScriptType ); in GetScriptType()
1929 if ( !nScriptType && n ) in GetScriptType()
1932 nScriptType = rTypes[n-1].nScriptType; in GetScriptType()
1939 return nScriptType ? nScriptType : GetI18NScriptTypeOfLanguage( GetDefaultLanguage() ); in GetScriptType()
[all …]
H A Deditobj.cxx672 nScriptType = 0; in BinTextObject()
684 nScriptType = r.nScriptType; in BinTextObject()
775 return nScriptType; in GetScriptType()
780 nScriptType = nType; in SetScriptType()
865 pObj->nScriptType = nScriptType; in CreateTextObject()
1323 rOStream << nScriptType; in StoreData()
1561 rIStream >> nScriptType; in CreateData()
1632 ( nScriptType != rCompare.nScriptType ) || in operator ==()
H A Dimpedit4.cxx310 …l_FindValidAttribs( ItemList& rLst, ContentNode* pNode, sal_uInt16 nIndex, sal_uInt16 nScriptType ) in lcl_FindValidAttribs() argument
319 if ( IsScriptItemValid( pAttr->GetItem()->Which(), nScriptType ) ) in lcl_FindValidAttribs()
388 for ( sal_uInt16 nScriptType = 0; nScriptType < 3; nScriptType++ ) in WriteRTF() local
391 if ( nScriptType == 1 ) in WriteRTF()
393 else if ( nScriptType == 2 ) in WriteRTF()
401 sal_uLong nTestMax = nScriptType ? aFontTable.Count() : 1; in WriteRTF()
679 sal_uInt16 nScriptType = GetScriptType( EditPaM( pNode, nIndex+1 ) ); in WriteRTF() local
690 lcl_FindValidAttribs( aAttribItems, pNode, nIndex, nScriptType ); in WriteRTF()
1433 sal_uInt16 nLangId = GetScriptItemId( EE_CHAR_LANGUAGE, nScriptType ); in GetLanguage()
2240 switch(nScriptType) in ApplyChangedSentence()
[all …]
H A Deditdoc.hxx51 …Font( SvxFont& rFont, const SfxItemSet& rSet, bool bSearchInParent = true, short nScriptType = 0 );
52 sal_uInt16 GetScriptItemId( sal_uInt16 nItemId, short nScriptType );
53 sal_Bool IsScriptItemValid( sal_uInt16 nItemId, short nScriptType );
86 short nScriptType; member
92 nScriptType = _Type; in ScriptTypePosInfo()
/trunk/main/framework/source/fwi/helper/
H A Dmischelper.cxx157 sal_Int16 nScriptType, in FillLangItems() argument
174 if ( IsScriptTypeMatchingToLanguage( nScriptType, rSystemLanguage )) in FillLangItems()
182 if ( IsScriptTypeMatchingToLanguage( nScriptType, rUILanguage )) in FillLangItems()
193 && IsScriptTypeMatchingToLanguage( nScriptType, nLang )) in FillLangItems()
200 if ( IsScriptTypeMatchingToLanguage( nScriptType, rLanguageTable.GetType( rKeyboardLang ))) in FillLangItems()
221 … Sequence< Locale > rLocales( xDocumentLanguages->getDocumentLanguages( nScriptType, nMaxCount )); in FillLangItems()
229 … if( IsScriptTypeMatchingToLanguage( nScriptType, rLanguageTable.GetType( rLocale.Language ))) in FillLangItems()
/trunk/main/sw/source/ui/shells/
H A Dlanghelper.cxx73 const sal_uInt16 nScriptType =pOLV->GetSelectedScriptType(); in GetLanguageStatus() local
74 …String aScriptTypesInUse( String::CreateFromInt32( nScriptType ) );//pEditEngine->GetScriptType(aS… in GetLanguageStatus()
92 nLang = SwLangHelper::GetCurrentLanguage( aSet,nScriptType ); in GetLanguageStatus()
251 sal_uInt16 nScriptType = SvtLanguageOptions::GetScriptTypeOfLanguage( nLang ); in SetLanguage() local
259 switch (nScriptType) in SetLanguage()
447 const sal_uInt16 nScriptType = rSh.GetScriptType(); in GetCurrentLanguage() local
452 switch (nScriptType) in GetCurrentLanguage()
495 LanguageType GetCurrentLanguage( SfxItemSet aSet, sal_uInt16 nScriptType ) in GetCurrentLanguage() argument
500 switch (nScriptType) in GetCurrentLanguage()
/trunk/main/sw/source/ui/lingu/
H A Dolmenu.cxx206 inline bool lcl_checkScriptType( sal_Int16 nScriptType, LanguageType nLang ) in lcl_checkScriptType() argument
208 return 0 != (nScriptType & SvtLanguageOptions::GetScriptTypeOfLanguage( nLang )); in lcl_checkScriptType()
227 sal_uInt16 nScriptType = static_cast< sal_Int16 >(aSeq[1].toInt32()); in fillLangPopupMenu() local
240 if (lcl_checkScriptType( nScriptType, rSystemLanguage )) in fillLangPopupMenu()
248 if (lcl_checkScriptType(nScriptType, rUILanguage )) in fillLangPopupMenu()
255 if (lcl_checkScriptType(nScriptType, aLanguageTable.GetType(aGuessedTextLang))) in fillLangPopupMenu()
262 if (lcl_checkScriptType(nScriptType, aLanguageTable.GetType(aKeyboardLang))) in fillLangPopupMenu()
280 …nce< lang::Locale > rLocales( xDocumentLanguages->getDocumentLanguages( nScriptType, nMaxCount ) ); in fillLangPopupMenu()
288 if (lcl_checkScriptType( nScriptType, aLanguageTable.GetType( rLocale.Language ))) in fillLangPopupMenu()
/trunk/main/offapi/com/sun/star/i18n/
H A DXBreakIterator.idl254 @param nScriptType
261 [in] short nScriptType );
267 @param nScriptType
274 [in] short nScriptType );
280 @param nScriptType
287 [in] short nScriptType );
293 @param nScriptType
300 [in] short nScriptType );
/trunk/main/sw/source/filter/html/
H A Dhtmlfldw.cxx308 sal_uInt16 nScriptType = pBreakIt->GetBreakIter()->getScriptType( sExpand, 0 ); in OutHTML_SwField() local
310 nScriptType ); in OutHTML_SwField()
313 SwHTMLWriter::GetCSS1ScriptForScriptType( nScriptType ); in OutHTML_SwField()
357 sal_uInt16 nScriptType = pBreakIt->GetBreakIter()->getScriptType( sExpand, nPos ); in OutHTML_SwField() local
359 SwHTMLWriter::GetCSS1ScriptForScriptType( nScriptType ); in OutHTML_SwField()
361 sExpand, nPos, nScriptType ); in OutHTML_SwField()
/trunk/main/sc/source/filter/html/
H A Dhtmlexp.cxx838 sal_uInt8 nScriptType; in WriteCell() local
842 nScriptType = pDoc->GetScriptType( nCol, nRow, nTab, pCell ); in WriteCell()
847 nScriptType = 0; in WriteCell()
849 if ( nScriptType == 0 ) in WriteCell()
850 nScriptType = aHTMLStyle.nDefaultScriptType; in WriteCell()
923 ScGlobal::GetScriptedWhichID( nScriptType, ATTR_FONT), in WriteCell()
927 pAttr->GetItem( ScGlobal::GetScriptedWhichID( nScriptType, in WriteCell()
931 ScGlobal::GetScriptedWhichID( nScriptType, ATTR_FONT_WEIGHT), in WriteCell()
935 pAttr->GetItem( ScGlobal::GetScriptedWhichID( nScriptType, in WriteCell()
/trunk/main/svx/source/customshapes/
H A DEnhancedCustomShapeFontWork.cxx238 sal_uInt16 nScriptType = i18n::ScriptType::LATIN; in GetTextAreaOutline() local
242 nScriptType = xBI->getScriptType( rText, 0 ); in GetTextAreaOutline()
244 if( i18n::ScriptType::WEAK == nScriptType ) in GetTextAreaOutline()
246 nChg = (xub_StrLen)xBI->endOfScript( rText, nChg, nScriptType ); in GetTextAreaOutline()
248 nScriptType = xBI->getScriptType( rText, nChg ); in GetTextAreaOutline()
250 nScriptType = i18n::ScriptType::LATIN; in GetTextAreaOutline()
254 if ( nScriptType == i18n::ScriptType::COMPLEX ) in GetTextAreaOutline()
256 else if ( nScriptType == i18n::ScriptType::ASIAN ) in GetTextAreaOutline()
/trunk/main/sw/source/ui/config/
H A Dfontcfg.cxx345 sal_Int32 SwStdFontConfig::GetFontHeight( sal_uInt8 nFont, sal_uInt8 nScriptType, LanguageType eLan… in GetFontHeight() argument
347 …DBG_ASSERT(nFont + FONT_PER_GROUP * nScriptType < DEF_FONT_COUNT, "wrong index in SwStdFontConfig:… in GetFontHeight()
348 sal_Int32 nRet = nDefaultFontHeight[nFont + FONT_PER_GROUP * nScriptType]; in GetFontHeight()
350 return GetDefaultHeightFor(nFont + FONT_PER_GROUP * nScriptType, eLang); in GetFontHeight()
/trunk/main/framework/inc/helper/
H A Dmischelper.hxx84 inline bool IsScriptTypeMatchingToLanguage( sal_Int16 nScriptType, LanguageType nLang ) in IsScriptTypeMatchingToLanguage() argument
86 return 0 != (nScriptType & SvtLanguageOptions::GetScriptTypeOfLanguage( nLang )); in IsScriptTypeMatchingToLanguage()
113 sal_Int16 nScriptType,
/trunk/main/sw/source/ui/inc/
H A Dfontcfg.hxx106 void SetFontHeight( sal_Int32 nHeight, sal_uInt8 nFont, sal_uInt8 nScriptType ) in SetFontHeight() argument
107 { ChangeInt(nFont + FONT_PER_GROUP * nScriptType, nHeight);} in SetFontHeight()
109 sal_Int32 GetFontHeight( sal_uInt8 nFont, sal_uInt8 nScriptType, LanguageType eLang );
/trunk/main/svx/source/items/
H A Dhlnkitem.cxx191 sal_uInt16 nCurKey, nScriptType; in Create() local
202 rStrm >> nScriptType; in Create()
205 (ScriptType)nScriptType ) ); in Create()
/trunk/main/sc/source/core/data/
H A Dglobal.cxx982 sal_uInt16 ScGlobal::GetScriptedWhichID( sal_uInt8 nScriptType, sal_uInt16 nWhich ) in GetScriptedWhichID() argument
984 switch ( nScriptType ) in GetScriptedWhichID()
991 if ( nScriptType & SCRIPTTYPE_COMPLEX ) in GetScriptedWhichID()
992 nScriptType = SCRIPTTYPE_COMPLEX; in GetScriptedWhichID()
993 else if ( nScriptType & SCRIPTTYPE_ASIAN ) in GetScriptedWhichID()
994 nScriptType = SCRIPTTYPE_ASIAN; in GetScriptedWhichID()
996 switch ( nScriptType ) in GetScriptedWhichID()
/trunk/main/sc/inc/
H A Dcell.hxx112 inline sal_uInt8 GetScriptType() const { return nScriptType; } in GetScriptType()
113 inline void SetScriptType( sal_uInt8 nNew ) { nScriptType = nNew; } in SetScriptType()
169 sal_uInt8 nScriptType; member in ScBaseCell
/trunk/main/sd/source/ui/view/
H A Ddrtxtob.cxx214 sal_uInt16 nScriptType = mpView->GetScriptType(); in GetAttrState() local
234 nScriptType = SvtLanguageOptions::GetScriptTypeOfLanguage( nInputLang ); in GetAttrState()
239 const SfxPoolItem* pI = aSetItem.GetItemOfScript( nScriptType ); in GetAttrState()
H A Ddrtxtob1.cxx593 sal_uInt16 nScriptType = SCRIPTTYPE_LATIN | SCRIPTTYPE_ASIAN | SCRIPTTYPE_COMPLEX; in Execute() local
595 nScriptType = mpView->GetScriptType(); in Execute()
599 … aSvxScriptSetItem.PutItemForScriptType( nScriptType, pArgs->Get( rPool.GetWhich( nSlot ) ) ); in Execute()
/trunk/main/linguistic/source/
H A Dhhconvdic.cxx87 sal_Bool TextIsAllScriptType( const OUString &rTxt, sal_Int16 nScriptType ) in TextIsAllScriptType() argument
92 if (checkScriptType( rTxt.getStr()[i]) != nScriptType) in TextIsAllScriptType()
/trunk/main/sw/source/core/edit/
H A Dedlingu.cxx1372 … sal_uInt16 nScriptType = GetI18NScriptTypeOfLanguage( aCurrentNewPortion->eLanguage ); in ApplyChangedSentence() local
1374 switch(nScriptType) in ApplyChangedSentence()
1421 sal_uInt16 nScriptType = GetScriptType(); in ApplyChangedSentence() local
1423 switch(nScriptType) in ApplyChangedSentence()
1757 sal_uInt16 nScriptType = rSh.GetScriptType(); in lcl_GetLanguage() local
1760 switch(nScriptType) in lcl_GetLanguage()
/trunk/main/svx/source/svdraw/
H A Dsvdedxv.cxx1530 sal_uInt16 nScriptType = 0; in GetScriptType() local
1535 nScriptType = mxTextEditObj->GetOutlinerParaObject()->GetTextObject().GetScriptType(); in GetScriptType()
1538 nScriptType = pTextEditOutlinerView->GetSelectedScriptType(); in GetScriptType()
1550 nScriptType |= pParaObj->GetTextObject().GetScriptType(); in GetScriptType()
1555 if( nScriptType == 0 ) in GetScriptType()
1556 nScriptType = SCRIPTTYPE_LATIN; in GetScriptType()
1558 return nScriptType; in GetScriptType()
/trunk/main/sw/source/core/text/
H A Dporlay.cxx1004 … const short nScriptType = pBreakIt->GetScriptTypeDetector()->getCTLScriptType( rTxt, nSearchStt ); in InitScriptInfo() local
1006 short nCurrentScriptType = nScriptType; in InitScriptInfo()
1007 …::sun::star::i18n::CTLScriptType::CTL_UNKNOWN == nCurrentScriptType || nScriptType == nCurrentScri… in InitScriptInfo()
1378 sal_uInt8 nScriptType; in InitScriptInfo() local
1388 nScriptType = GetScriptType( i2 ); in InitScriptInfo()
1389 ASSERT( nLastScriptType != nScriptType && in InitScriptInfo()
/trunk/main/svl/source/config/
H A Dlanguageoptions.cxx209 sal_Int16 nScriptType = MsLangId::getScriptType( nLang ); in GetScriptTypeOfLanguage() local
211 switch (nScriptType) in GetScriptTypeOfLanguage()

Completed in 178 milliseconds

123