/aoo41x/main/editeng/source/editeng/ |
H A D | editdoc.cxx | 74 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 D | impedit2.cxx | 1777 … if ( ( nScriptType == i18n::ScriptType::WEAK ) || ( nScriptType == rTypes.back().nScriptType ) ) in InitScriptTypes() 1855 nDebugType = rTypes[n].nScriptType; in InitScriptTypes() 1863 sal_uInt16 nScriptType = 0; in GetScriptType() local 1881 nScriptType = rTypes[n].nScriptType; in GetScriptType() 1888 return nScriptType ? nScriptType : GetI18NScriptTypeOfLanguage( GetDefaultLanguage() ); in GetScriptType() 1896 short nScriptType = 0; in GetScriptType() local 1920 nScriptType |= GetItemScriptType ( rTypes[n].nScriptType ); in GetScriptType() 1924 if ( !nScriptType && n ) in GetScriptType() 1927 nScriptType = rTypes[n-1].nScriptType; in GetScriptType() 1934 return nScriptType ? nScriptType : GetI18NScriptTypeOfLanguage( GetDefaultLanguage() ); in GetScriptType() [all …]
|
H A D | editobj.cxx | 672 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() 1554 rIStream >> nScriptType; in CreateData() 1625 ( nScriptType != rCompare.nScriptType ) || in operator ==()
|
H A D | impedit4.cxx | 310 …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 D | editdoc.hxx | 50 …Font( SvxFont& rFont, const SfxItemSet& rSet, bool bSearchInParent = true, short nScriptType = 0 ); 51 sal_uInt16 GetScriptItemId( sal_uInt16 nItemId, short nScriptType ); 52 sal_Bool IsScriptItemValid( sal_uInt16 nItemId, short nScriptType ); 85 short nScriptType; member 91 nScriptType = _Type; in ScriptTypePosInfo()
|
/aoo41x/main/framework/source/fwi/helper/ |
H A D | mischelper.cxx | 157 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()
|
/aoo41x/main/sw/source/ui/shells/ |
H A D | langhelper.cxx | 73 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()
|
/aoo41x/main/sw/source/ui/lingu/ |
H A D | olmenu.cxx | 206 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()
|
/aoo41x/main/offapi/com/sun/star/i18n/ |
H A D | XBreakIterator.idl | 254 @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 );
|
/aoo41x/main/sw/source/filter/html/ |
H A D | htmlfldw.cxx | 308 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()
|
/aoo41x/main/sc/source/filter/html/ |
H A D | htmlexp.cxx | 838 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()
|
/aoo41x/main/svx/source/customshapes/ |
H A D | EnhancedCustomShapeFontWork.cxx | 238 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()
|
/aoo41x/main/sw/source/ui/config/ |
H A D | fontcfg.cxx | 345 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()
|
/aoo41x/main/framework/inc/helper/ |
H A D | mischelper.hxx | 84 inline bool IsScriptTypeMatchingToLanguage( sal_Int16 nScriptType, LanguageType nLang ) in IsScriptTypeMatchingToLanguage() argument 86 return 0 != (nScriptType & SvtLanguageOptions::GetScriptTypeOfLanguage( nLang )); in IsScriptTypeMatchingToLanguage() 113 sal_Int16 nScriptType,
|
/aoo41x/main/sw/source/ui/inc/ |
H A D | fontcfg.hxx | 106 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 );
|
/aoo41x/main/svx/source/items/ |
H A D | hlnkitem.cxx | 191 sal_uInt16 nCurKey, nScriptType; in Create() local 202 rStrm >> nScriptType; in Create() 205 (ScriptType)nScriptType ) ); in Create()
|
/aoo41x/main/sc/source/core/data/ |
H A D | global.cxx | 982 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()
|
/aoo41x/main/sc/inc/ |
H A D | cell.hxx | 112 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
|
/aoo41x/main/linguistic/source/ |
H A D | hhconvdic.cxx | 87 sal_Bool TextIsAllScriptType( const OUString &rTxt, sal_Int16 nScriptType ) in TextIsAllScriptType() argument 92 if (checkScriptType( rTxt.getStr()[i]) != nScriptType) in TextIsAllScriptType()
|
/aoo41x/main/sd/source/ui/view/ |
H A D | drtxtob.cxx | 214 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 D | drtxtob1.cxx | 593 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()
|
/aoo41x/main/sw/source/core/edit/ |
H A D | edlingu.cxx | 1372 … 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()
|
/aoo41x/main/svx/source/svdraw/ |
H A D | svdedxv.cxx | 1530 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()
|
/aoo41x/main/svl/source/config/ |
H A D | languageoptions.cxx | 209 sal_Int16 nScriptType = MsLangId::getScriptType( nLang ); in GetScriptTypeOfLanguage() local 211 switch (nScriptType) in GetScriptTypeOfLanguage()
|
/aoo41x/main/sw/source/core/text/ |
H A D | porlay.cxx | 1004 … 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()
|