Home
last modified time | relevance | path

Searched refs:nScript (Results 1 – 25 of 76) sorted by relevance

1234

/aoo4110/main/sw/source/core/bastyp/
H A Dbreakit.cxx119 sal_uInt16 nScript = i18n::ScriptType::WEAK; in GetRealScriptOfText() local
124 nScript = xBreak->getScriptType( rTxt, nPos ); in GetRealScriptOfText()
138 if( i18n::ScriptType::WEAK == nScript && nPos && in GetRealScriptOfText()
140 nScript = xBreak->getScriptType( rTxt, nChgPos-1 ); in GetRealScriptOfText()
142 if( i18n::ScriptType::WEAK == nScript && rTxt.Len() > in GetRealScriptOfText()
143 ( nChgPos = xBreak->endOfScript( rTxt, nPos, nScript ) ) && in GetRealScriptOfText()
145 nScript = xBreak->getScriptType( rTxt, nChgPos ); in GetRealScriptOfText()
147 if( i18n::ScriptType::WEAK == nScript ) in GetRealScriptOfText()
149 return nScript; in GetRealScriptOfText()
158 sal_uInt16 nRet = 0, nScript; in GetAllScriptsOfText() local
[all …]
/aoo4110/main/sw/source/ui/chrdlg/
H A Ddrpcps.cxx362 sal_uInt16 nScript; in DrawPrev() local
371 nScript = maScriptType[ nIdx ]; in DrawPrev()
376 nScript = I18N_SCRIPTTYPE::LATIN; in DrawPrev()
390 nScript = maScriptType[ nIdx ]; in DrawPrev()
423 if( I18N_SCRIPTTYPE::WEAK == nScript ) in CheckScript()
429 nScript = I18N_SCRIPTTYPE::LATIN; in CheckScript()
451 sal_uInt16 nScript; in CalcTextSize() local
459 nScript = maScriptType[ nIdx ]; in CalcTextSize()
464 nScript = I18N_SCRIPTTYPE::LATIN; in CalcTextSize()
482 switch(nScript) in CalcTextSize()
[all …]
/aoo4110/main/svx/source/dialog/
H A Dfntctrl.cxx227 sal_uInt16 nScript = xBreak->getScriptType( aText, 0 ); in _CheckScript() local
260 aScriptType.Insert( nScript, nCnt ); in _CheckScript()
284 sal_uInt16 nScript; in CalcTextSize() local
292 nScript = aScriptType[ nIdx ]; in CalcTextSize()
297 nScript = com::sun::star::i18n::ScriptType::LATIN; in CalcTextSize()
313 switch(nScript) in CalcTextSize()
329 nScript = aScriptType[ nIdx ]; in CalcTextSize()
363 sal_uInt16 nScript; in DrawPrev() local
371 nScript = aScriptType[ nIdx ]; in DrawPrev()
376 nScript = com::sun::star::i18n::ScriptType::LATIN; in DrawPrev()
[all …]
/aoo4110/main/svtools/source/control/
H A Dscriptedtext.cxx160 sal_Int16 nScript; in CalculateSizes() local
168 nScript = maScriptVec[ nScriptVecIndex++ ]; in CalculateSizes()
170 SetOutDevFont( nScript ); in CalculateSizes()
226 sal_Int16 nScript; in CalculateBreaks() local
229 nScript = i18n::ScriptType::LATIN; in CalculateBreaks()
230 … while( (nScript != i18n::ScriptType::WEAK) && (nCharIx == nNextCharIx) ) in CalculateBreaks()
234 ++nScript; in CalculateBreaks()
240 maScriptVec.push_back( nScript ); in CalculateBreaks()
304 sal_Int16 nScript; in DrawText() local
310 nScript = maScriptVec[ nVecIndex ]; in DrawText()
[all …]
/aoo4110/main/sc/source/ui/view/
H A Deditsh.cxx354 sal_uInt16 nScript = pTableView->GetSelectedScriptType(); in Execute() local
356 ( ( nScript == SCRIPTTYPE_COMPLEX ) ? EE_CHAR_FONTINFO_CTL : in Execute()
847 nScript = pEditView->GetSelectedScriptType(); in ExecuteAttr()
848 if (nScript == 0) nScript = ScGlobal::GetDefaultScriptType(); in ExecuteAttr()
854 aSetItem.PutItemForScriptType( nScript, pArgs->Get( nWhich ) ); in ExecuteAttr()
883 const SfxPoolItem* pCore = aOldSetItem.GetItemOfScript( nScript ); in ExecuteAttr()
888 aSetItem.PutItemForScriptType( nScript, in ExecuteAttr()
911 aSetItem.PutItemForScriptType( nScript, in ExecuteAttr()
1060 sal_uInt16 nScript = pEditView->GetSelectedScriptType(); in GetAttrState() local
1061 if (nScript == 0) nScript = ScGlobal::GetDefaultScriptType(); in GetAttrState()
[all …]
H A Dformatsh.cxx1311 const SfxPoolItem* pCore = aOldSetItem.GetItemOfScript( nScript ); in ExecuteTextAttr()
1338 const SfxPoolItem* pCore = aOldSetItem.GetItemOfScript( nScript ); in ExecuteTextAttr()
1616 nScript = pTabViewShell->GetSelectionScriptType(); in ExecuteAttr()
1621 aSetItem.PutItemForScriptType( nScript, pNewAttrs->Get( nWhich ) ); in ExecuteAttr()
1856 sal_uInt8 nScript = 0; // GetSelectionScriptType never returns 0 in GetAttrState() local
1859 if (!nScript) nScript = pTabViewShell->GetSelectionScriptType(); in GetAttrState()
1860 ScViewUtil::PutItemScript( rSet, rAttrSet, ATTR_FONT, nScript ); in GetAttrState()
1864 if (!nScript) nScript = pTabViewShell->GetSelectionScriptType(); in GetAttrState()
2078 sal_uInt8 nScript = 0; // GetSelectionScriptType never returns 0 in GetTextAttrState() local
2081 if (!nScript) nScript = pTabViewShell->GetSelectionScriptType(); in GetTextAttrState()
[all …]
H A Dviewutil.cxx68 sal_uInt16 nWhichId, sal_uInt16 nScript ) in PutItemScript() argument
78 const SfxPoolItem* pI = aSetItem.GetItemOfScript( nScript ); in PutItemScript()
90 sal_uInt8 nScript = pDoc->GetScriptType( rPos.Col(), rPos.Row(), rPos.Tab() ); in GetEffLanguage() local
91 sal_uInt16 nWhich = ( nScript == SCRIPTTYPE_ASIAN ) ? ATTR_CJK_FONT_LANGUAGE : in GetEffLanguage()
92 ( ( nScript == SCRIPTTYPE_COMPLEX ) ? ATTR_CTL_FONT_LANGUAGE : ATTR_FONT_LANGUAGE ); in GetEffLanguage()
103 eLnge = ( nScript == SCRIPTTYPE_ASIAN ) ? eCjk : in GetEffLanguage()
104 ( ( nScript == SCRIPTTYPE_COMPLEX ) ? eCtl : eLatin ); in GetEffLanguage()
H A Doutput2.cxx161 void SetShrinkScale( long nScale, sal_uInt8 nScript );
258 ScBaseCell* pCell, sal_uInt8 nScript ) in SetPattern() argument
1017 inline sal_Bool IsAmbiguousScript( sal_uInt8 nScript ) in IsAmbiguousScript() argument
1019 return ( nScript != SCRIPTTYPE_LATIN && in IsAmbiguousScript()
1020 nScript != SCRIPTTYPE_ASIAN && in IsAmbiguousScript()
1021 nScript != SCRIPTTYPE_COMPLEX ); in IsAmbiguousScript()
1508 if (nScript == 0) nScript = ScGlobal::GetDefaultScriptType(); in DrawStrings()
1510 nScript != nOldScript || bSyntaxMode ) in DrawStrings()
1514 aVars.SetPattern( pPattern, pCondSet, pCell, nScript ); in DrawStrings()
1519 nOldScript = nScript; in DrawStrings()
[all …]
/aoo4110/main/sw/source/core/edit/
H A Dedattr.cxx479 sal_uInt16 nScript; in lcl_IsNoEndTxtAttrAtPos() local
481 pBreakIt->GetBreakIter()->endOfScript( sExp, n, nScript )) in lcl_IsNoEndTxtAttrAtPos()
483 nScript = pBreakIt->GetBreakIter()->getScriptType( sExp, n ); in lcl_IsNoEndTxtAttrAtPos()
484 rScrpt |= lcl_SetScriptFlags( nScript ); in lcl_IsNoEndTxtAttrAtPos()
526 sal_uInt16 nScript; in GetScriptType() local
530 nScript = pScriptInfo ? in GetScriptType()
538 nRet |= lcl_SetScriptFlags( nScript ); in GetScriptType()
565 sal_uInt16 nScript; in GetScriptType() local
568 nScript = pScriptInfo ? in GetScriptType()
575 nRet |= lcl_SetScriptFlags( nScript ); in GetScriptType()
[all …]
/aoo4110/main/sc/source/filter/excel/
H A Dxehelper.cxx407 if( nScript == ApiScriptType::WEAK ) in lclCreateFormattedString()
408 nScript = nLastScript; in lclCreateFormattedString()
426 nLastScript = nScript; in lclCreateFormattedString()
523 if( nScript == ApiScriptType::WEAK ) in lclCreateFormattedString()
524 nScript = nLastScript; in lclCreateFormattedString()
526 nLastScript = nScript; in lclCreateFormattedString()
687 sal_Int16 nScript = ApiScriptType::WEAK; in GetLeadingScriptType() local
688 while( (nStrPos < nStrLen) && (nScript == ApiScriptType::WEAK) ) in GetLeadingScriptType()
690 nScript = xBreakIt->getScriptType( aOUString, nStrPos ); in GetLeadingScriptType()
691 nStrPos = xBreakIt->endOfScript( aOUString, nStrPos, nScript ); in GetLeadingScriptType()
[all …]
H A Dxestyle.cxx849 sal_Int16 nScript = 0; in GetFirstUsedScript() local
852 while( (nScript == 0) && pCurrSet ) in GetFirstUsedScript()
867 nScript = ApiScriptType::LATIN; in GetFirstUsedScript()
872 return nScript; in GetFirstUsedScript()
880 if( nScript == ApiScriptType::WEAK ) in GetFontFromItemSet()
881 nScript = GetFirstUsedScript( rRoot, rItemSet ); in GetFontFromItemSet()
885 switch( nScript ) in GetFontFromItemSet()
916 if( nScript == ApiScriptType::WEAK ) in CheckItems()
917 nScript = GetFirstUsedScript( rRoot, rItemSet ); in CheckItems()
919 switch( nScript ) in CheckItems()
[all …]
/aoo4110/main/sc/source/filter/inc/
H A Dxestyle.hxx149 sal_Int16 nScript );
156 sal_Int16 nScript,
242 sal_uInt16 Insert( const SfxItemSet& rItemSet, sal_Int16 nScript,
248 sal_uInt16 Insert( const ScPatternAttr& rPattern, sal_Int16 nScript,
475 sal_Int16 nScript,
549 sal_Int16 nScript,
654 sal_uInt32 Insert( const ScPatternAttr* pPattern, sal_Int16 nScript );
662 const ScPatternAttr* pPattern, sal_Int16 nScript,
673 const ScPatternAttr* pPattern, sal_Int16 nScript,
720 sal_uInt32 InsertCellXF( const ScPatternAttr* pPattern, sal_Int16 nScript,
/aoo4110/main/sw/source/core/text/
H A Dporlay.cxx757 sal_uInt16 nScript; in WhichFont() local
761 nScript = pSI->ScriptType( nIdx ); in WhichFont()
766 switch ( nScript ) { in WhichFont()
832 sal_uInt8 nScript = i18n::ScriptType::LATIN; in InitScriptInfo() local
857 nScript = GetScriptType( nCnt ); in InitScriptInfo()
963 ASSERT( i18n::ScriptType::LATIN == nScript || in InitScriptInfo()
964 i18n::ScriptType::ASIAN == nScript || in InitScriptInfo()
974 if ( nScript != nNextScript ) in InitScriptInfo()
979 nScript = nNextScript; in InitScriptInfo()
989 ASSERT( i18n::ScriptType::WEAK != nScript, in InitScriptInfo()
[all …]
H A Dportxt.cxx89 sal_uInt8 nScript = 0; in lcl_AddSpace() local
95 nScript = pSI->ScriptType( nPos ); in lcl_AddSpace()
97 nScript = (sal_uInt8)pBreakIt->GetBreakIter()->getScriptType( *pStr, nPos ); in lcl_AddSpace()
107 if ( nEnd > nPos && ASIAN == nScript ) in lcl_AddSpace()
110 rInf.GetTxtFrm()->GetTxtNode()->GetLang( rInf.GetIdx(), 1, nScript ); in lcl_AddSpace()
131 if ( nEnd > nPos && pSI && COMPLEX == nScript ) in lcl_AddSpace()
144 if ( nEnd > nPos && COMPLEX == nScript ) in lcl_AddSpace()
147 rInf.GetTxtFrm()->GetTxtNode()->GetLang( rInf.GetIdx(), 1, nScript ); in lcl_AddSpace()
170 LATIN == nScript && ( nEnd == nPos + 1 ) && pSI && in lcl_AddSpace()
H A Dporfld.cxx210 sal_uInt16 nScript; in CheckScript() local
212 nScript = pBreakIt->GetBreakIter()->getScriptType( aTxt, 0 ); in CheckScript()
214 if( i18n::ScriptType::WEAK == nScript ) in CheckScript()
216 nChg =(xub_StrLen)pBreakIt->GetBreakIter()->endOfScript(aTxt,0,nScript); in CheckScript()
218 nScript = pBreakIt->GetBreakIter()->getScriptType( aTxt, nChg ); in CheckScript()
225 … nNextScriptChg = (xub_StrLen)pBreakIt->GetBreakIter()->endOfScript( aTxt, nChg, nScript ); in CheckScript()
231 switch ( nScript ) { in CheckScript()
1123 sal_uInt16 nScript = pBreakIt->GetBreakIter()->getScriptType( rTxt, i ); in SwCombinedPortion() local
1124 switch ( nScript ) { in SwCombinedPortion()
/aoo4110/main/sw/source/filter/html/
H A Dhtmlcss1.cxx689 switch( nScript ) in RemoveScriptItems()
743 if( CSS1_SCRIPT_ALL != nScript ) in StyleParsed()
778 sal_uInt16 nScript; in StyleParsed() local
824 if( CSS1_SCRIPT_ALL != nScript ) in StyleParsed()
890 if( CSS1_SCRIPT_ALL == nScript ) in StyleParsed()
994 if( CSS1_SCRIPT_ALL == nScript ) in StyleParsed()
1070 if( CSS1_SCRIPT_ALL == nScript ) in StyleParsed()
1077 if( CSS1_SCRIPT_WESTERN != nScript ) in StyleParsed()
1084 if( CSS1_SCRIPT_CJK != nScript ) in StyleParsed()
1091 if( CSS1_SCRIPT_CTL != nScript ) in StyleParsed()
[all …]
H A Dhtmlfldw.cxx312 sal_uInt16 nScript = in OutHTML_SwField() local
314 if( nPos < sExpand.Len() || nScript != rHTMLWrt.nCSS1Script ) in OutHTML_SwField()
358 sal_uInt16 nScript = in OutHTML_SwField() local
362 if( nScript != CSS1_OUTMODE_ANY_SCRIPT && in OutHTML_SwField()
363 /* #108791# */ nScript != rHTMLWrt.nCSS1Script ) in OutHTML_SwField()
366 switch( nScript ) in OutHTML_SwField()
H A Dcss1atr.cxx2651 sal_uInt16 nScript = CSS1_OUTMODE_WESTERN; in OutCSS1_SvxFont() local
2654 case RES_CHRATR_CJK_FONT: nScript = CSS1_OUTMODE_CJK; break; in OutCSS1_SvxFont()
2657 if( !rHTMLWrt.IsCSS1Script( nScript ) ) in OutCSS1_SvxFont()
2685 sal_uInt16 nScript = CSS1_OUTMODE_WESTERN; in OutCSS1_SvxFontHeight() local
2691 if( !rHTMLWrt.IsCSS1Script( nScript ) ) in OutCSS1_SvxFontHeight()
2715 sal_uInt16 nScript = CSS1_OUTMODE_WESTERN; in OutCSS1_SvxPosture() local
2721 if( !rHTMLWrt.IsCSS1Script( nScript ) ) in OutCSS1_SvxPosture()
2793 sal_uInt16 nScript = CSS1_OUTMODE_WESTERN; in OutCSS1_SvxLanguage() local
2799 if( !rHTMLWrt.IsCSS1Script( nScript ) ) in OutCSS1_SvxLanguage()
2846 sal_uInt16 nScript = CSS1_OUTMODE_WESTERN; in OutCSS1_SvxFontWeight() local
[all …]
/aoo4110/main/i18npool/source/isolang/
H A Dmslangid.cxx316 sal_Int16 nScript; in getScriptType() local
325 nScript = ::com::sun::star::i18n::ScriptType::ASIAN; in getScriptType()
375 nScript = ::com::sun::star::i18n::ScriptType::COMPLEX; in getScriptType()
393 nScript = ::com::sun::star::i18n::ScriptType::ASIAN; in getScriptType()
397 nScript = ::com::sun::star::i18n::ScriptType::COMPLEX; in getScriptType()
401 nScript = ::com::sun::star::i18n::ScriptType::LATIN; in getScriptType()
405 return nScript; in getScriptType()
/aoo4110/main/sc/source/core/data/
H A Dcolumn2.cxx76 inline sal_Bool IsAmbiguousScript( sal_uInt8 nScript ) in IsAmbiguousScript() argument
79 return ( nScript != SCRIPTTYPE_LATIN && in IsAmbiguousScript()
80 nScript != SCRIPTTYPE_ASIAN && in IsAmbiguousScript()
81 nScript != SCRIPTTYPE_COMPLEX ); in IsAmbiguousScript()
312 sal_uInt8 nScript = pDocument->GetScriptType( nCol, nRow, nTab, pCell ); in GetNeededSize() local
313 if (nScript == 0) nScript = ScGlobal::GetDefaultScriptType(); in GetNeededSize()
331 IsAmbiguousScript( nScript ) || in GetNeededSize()
705 if (nScript == 0) nScript = ScGlobal::GetDefaultScriptType(); in GetOptimalColWidth()
872 if ( nScript != nDefScript ) in GetOptimalHeight()
874 if ( nScript == SCRIPTTYPE_ASIAN ) in GetOptimalHeight()
[all …]
/aoo4110/main/sw/source/filter/ascii/
H A Dparasc.cxx66 sal_uInt16 nScript; member in SwASCIIParser
108 : pDoc(pD), rInput(rIn), rOpt(rOpts), nScript(0), bNewDoc(bReadNewDoc) in SwASCIIParser()
186 if( !( SCRIPTTYPE_LATIN & nScript )) in CallParser()
191 if( !( SCRIPTTYPE_ASIAN & nScript )) in CallParser()
196 if( !( SCRIPTTYPE_COMPLEX & nScript )) in CallParser()
517 if( pItemSet && pBreakIt && nScript != ( SCRIPTTYPE_LATIN | in InsertText()
520 nScript |= pBreakIt->GetAllScriptsOfText( rStr ); in InsertText()
/aoo4110/main/svl/source/config/
H A Dlanguageoptions.cxx210 sal_uInt16 nScript; in GetScriptTypeOfLanguage() local
214 nScript = SCRIPTTYPE_ASIAN; in GetScriptTypeOfLanguage()
217 nScript = SCRIPTTYPE_COMPLEX; in GetScriptTypeOfLanguage()
220 nScript = SCRIPTTYPE_LATIN; in GetScriptTypeOfLanguage()
222 return nScript; in GetScriptTypeOfLanguage()
/aoo4110/main/sw/source/filter/ww8/
H A Dwriterwordglue.cxx552 sal_uInt16 nScript = i18n::ScriptType::LATIN; in GetPseudoCharRuns() local
554 nScript = pBreakIt->GetBreakIter()->getScriptType(rTxt, 0); in GetPseudoCharRuns()
557 GetWhichOfScript(RES_CHRATR_FONT, nScript)).GetCharSet(); in GetPseudoCharRuns()
564 aRunChanges.push_back(CharRunEntry(0, nScript, eChrSet, in GetPseudoCharRuns()
647 nScript); in GetPseudoCharRuns()
652 aScripts.push_back(ScriptEntry(nPos, nScript)); in GetPseudoCharRuns()
653 nScript = pBreakIt->GetBreakIter()->getScriptType(rTxt, nPos); in GetPseudoCharRuns()
694 nScript = aScriptIter->second; in GetPseudoCharRuns()
698 CharRunEntry(nMinPos, nScript, eChrSet, bCharIsRTL)); in GetPseudoCharRuns()
/aoo4110/main/sw/source/core/attr/
H A Dhints.cxx237 sal_uInt16 GetWhichOfScript( sal_uInt16 nWhich, sal_uInt16 nScript ) in GetWhichOfScript() argument
291 if( ScriptType::WEAK == nScript ) in GetWhichOfScript()
292 nScript = GetI18NScriptTypeOfLanguage( (sal_uInt16)GetAppLanguage() ); in GetWhichOfScript()
293 switch( nScript) in GetWhichOfScript()
/aoo4110/main/sw/source/ui/shells/
H A Ddrwtxtsh.cxx785 sal_uInt16 nScript = pOLV->GetSelectedScriptType(); in InsertSymbol() local
790 const SfxPoolItem* pI = aSetItem.GetItemOfScript( nScript ); in InsertSymbol()
866 nScript = pBreakIt->GetAllScriptsOfText( sSym ); in InsertSymbol()
867 if( SCRIPTTYPE_LATIN & nScript ) in InsertSymbol()
869 if( SCRIPTTYPE_ASIAN & nScript ) in InsertSymbol()
871 if( SCRIPTTYPE_COMPLEX & nScript ) in InsertSymbol()

Completed in 253 milliseconds

1234