Home
last modified time | relevance | path

Searched refs:bRTL (Results 1 – 25 of 56) sorted by relevance

123

/AOO41X/main/vcl/inc/
H A Dsallayout.hxx78 bool AddPos( int nCharPos, bool bRTL );
79 bool AddRun( int nMinRunPos, int nEndRunPos, bool bRTL );
84 bool GetRun( int* nMinRunPos, int* nEndRunPos, bool* bRTL ) const;
85 bool GetNextPos( int* nCharPos, bool* bRTL );
121 bool GetNextPos( int* nCharPos, bool* bRTL ) in GetNextPos() argument
122 { return maRuns.GetNextPos( nCharPos, bRTL ); } in GetNextPos()
123 bool GetNextRun( int* nMinRunPos, int* nEndRunPos, bool* bRTL );
124 bool NeedFallback( int nCharPos, bool bRTL ) in NeedFallback() argument
125 { return maReruns.AddPos( nCharPos, bRTL ); } in NeedFallback()
126 bool NeedFallback( int nMinRunPos, int nEndRunPos, bool bRTL ) in NeedFallback() argument
[all …]
/AOO41X/main/vcl/source/gdi/
H A Dsallayout.cxx416 bool ImplLayoutRuns::AddPos( int nCharPos, bool bRTL ) in AddPos() argument
424 if( ((nCharPos + bRTL) == nRunPos1) in AddPos()
425 && ((nRunPos0 > nRunPos1) == bRTL) ) in AddPos()
428 maRuns[ nIndex-1 ] = nCharPos + !bRTL; in AddPos()
439 maRuns.push_back( nCharPos + (bRTL ? 1 : 0) ); in AddPos()
440 maRuns.push_back( nCharPos + (bRTL ? 0 : 1) ); in AddPos()
446 bool ImplLayoutRuns::AddRun( int nCharPos0, int nCharPos1, bool bRTL ) in AddRun() argument
452 if( bRTL == (nCharPos0 < nCharPos1) ) in AddRun()
599 bool bRTL = ((mnFlags & SAL_LAYOUT_BIDI_RTL) != 0); in ImplLayoutArgs() local
600 AddRun( mnMinCharPos, mnEndCharPos, bRTL ); in ImplLayoutArgs()
[all …]
/AOO41X/main/sw/source/core/text/
H A Dtxttab.cxx98 const bool bRTL = pFrm->IsRightToLeft(); in NewTabPortion() local
105 const SwTwips nTabLeft = bRTL in NewTabPortion()
116 if ( bRTL ) in NewTabPortion()
135 const SwTwips nCurrentAbsPos = bRTL ? in NewTabPortion()
158 const SwTwips nSearchPos = bRTL ? in NewTabPortion()
208 if ( ( bRTL && nTabLeft - nNextPos >= nCurrentAbsPos - nMinimumTabWidth ) || in NewTabPortion()
209 ( !bRTL && nNextPos + nTabLeft <= nCurrentAbsPos + nMinimumTabWidth ) ) in NewTabPortion()
229 if ( bRTL ) in NewTabPortion()
254 bRTL ? nCurrentAbsPos > nTabLeft - nLeftMarginTabPos in NewTabPortion()
284 nNextPos += bRTL ? nLinePos - nTabLeft : nTabLeft - nLinePos; in NewTabPortion()
H A Dredlnitr.cxx80 sal_Bool bRTL = sal_False; in CtorInitAttrIter() local
88 bRTL = pFrm->IsRightToLeft(); in CtorInitAttrIter()
104 pScriptInfo->InitScriptInfo( rTxtNode, bRTL ); in CtorInitAttrIter()
/AOO41X/main/svx/source/dialog/
H A Dsvxruler.cxx1230 sal_Bool bRTL = pRuler_Imp->pTextRTLItem && pRuler_Imp->pTextRTLItem->GetValue(); in UpdateTabs() local
1273 if(bRTL) in UpdateTabs()
1281 pTabs[0].nPos = bRTL ? lRightPixMargin : lParaIndentPix; in UpdateTabs()
1284 if(bRTL) in UpdateTabs()
2388 sal_Bool bRTL = pRuler_Imp->pTextRTLItem && pRuler_Imp->pTextRTLItem->GetValue(); in ApplyIndents() local
2391 if(bRTL) in ApplyIndents()
2410 if(bRTL) in ApplyIndents()
2426 if(pColumnItem && ((!bRTL && !IsActLastColumn( sal_True ))|| (bRTL && !IsActFirstColumn()))) in ApplyIndents()
2428 if(bRTL) in ApplyIndents()
2449 if(bRTL) in ApplyIndents()
[all …]
/AOO41X/main/sw/source/core/frmedt/
H A Dfews.cxx780 sal_Bool bRTL = sal_False; in CalcBoundRect() local
802 bRTL = pFrm->IsRightToLeft(); in CalcBoundRect()
803 if ( bRTL ) in CalcBoundRect()
839 else if ( bRTL ) in CalcBoundRect()
924 bRTL = pFrm->IsRightToLeft(); in CalcBoundRect()
925 if ( bRTL ) in CalcBoundRect()
1218 else if ( bRTL ) in CalcBoundRect()
1291 else if ( bRTL ) in CalcBoundRect()
1335 sal_Bool SwFEShell::IsFrmVertical(const sal_Bool bEnvironment, sal_Bool& bRTL, sal_Bool& bVertL2R) … in IsFrmVertical() argument
1338 bRTL = sal_False; in IsFrmVertical()
[all …]
H A Dtblsel.cxx547 sal_Bool bRTL = pTable->IsRightToLeft(); in ChkChartSel()
669 nXPos = bRTL ? in ChkChartSel()
673 else if( nXPos == ( bRTL ? in ChkChartSel()
678 nXPos += ( bRTL ? (-1) : 1 ) * in ChkChartSel()
1593 const sal_Bool bRTL = pCell->IsRightToLeft(); in lcl_CalcWish() local
1594 SwTwips nRet = bRTL ? in lcl_CalcWish()
1604 nRet += ( bRTL ? ( -1 ) : 1 ) * nTmp * nAct / nWish; in lcl_CalcWish()
1701 sal_Bool bRTL = pTab->IsRightToLeft(); in lcl_FindStartEndCol()
1731 ( ( ! bRTL && (pTmp->Frm().*fnRect->fnGetLeft)() < nSX && in lcl_FindStartEndCol()
1733 ( bRTL && (pTmp->Frm().*fnRect->fnGetLeft)() > nSX && in lcl_FindStartEndCol()
[all …]
H A Dfetab.cxx1571 const bool bRTL = pFrm->IsRightToLeft(); in lcl_FindFrm()
1576 const SwTwips nLeft = bRTL ? in lcl_FindFrm()
1584 … const SwTwips nXDiff = (*fnRect->fnXDiff)( nLeft, rPointX ) * ( bRTL ? (-1) : 1 ); in lcl_FindFrm()
1609 aPt = bRTL ? aTabRect.TopRight() : (aTabRect.*fnRect->fnGetPos)(); in lcl_FindFrm()
1811 const bool bRTL = pCurrentTab->IsRightToLeft(); in lcl_ProjectOntoClosestTableFrm() local
1829 if ( bVert || bRTL ) in lcl_ProjectOntoClosestTableFrm()
/AOO41X/main/drawinglayer/source/attribute/
H A Dfontattribute.cxx65 bool bRTL, in ImpFontAttribute() argument
75 mbRTL(bRTL), in ImpFontAttribute()
135 bool bRTL, in FontAttribute() argument
138 …yName, rStyleName, nWeight, bSymbol, bVertical, bItalic, bMonospaced, bOutline, bRTL, bBiDiStrong)) in FontAttribute()
/AOO41X/main/vcl/source/window/
H A Dfloatwin.cxx261 sal_Bool bRTL = Application::GetSettings().GetLayoutRTL(); in ImplCalcPos() local
267 if( bRTL ) in ImplCalcPos()
272 Application::GetBestScreen( bRTL ? devRectRTL : devRect ) ); in ImplCalcPos()
327 if( bRTL ) // --- RTL --- we're comparing screen coordinates here in ImplCalcPos()
351 if( bRTL ) // --- RTL --- we're comparing screen coordinates here in ImplCalcPos()
420 if( bRTL ) // --- RTL --- we're comparing screen coordinates here in ImplCalcPos()
H A Ddecoview.cxx442 sal_Bool bRTL = pDev->ImplHasMirroredGraphics() && pDev->IsRTLEnabled(); in ImplDrawSymbol() local
443 Point aPos1( bRTL ? rRect.Right() : rRect.Left(), in ImplDrawSymbol()
445 … Point aPos2( bRTL ? rRect.Right() - rRect.GetWidth()/3 : rRect.Left() + rRect.GetWidth()/3, in ImplDrawSymbol()
447 Point aPos3( bRTL ? rRect.TopLeft() : rRect.TopRight() ); in ImplDrawSymbol()
455 if( bRTL ) in ImplDrawSymbol()
458 if( !bRTL ) in ImplDrawSymbol()
466 if( bRTL ) in ImplDrawSymbol()
470 if( !bRTL ) in ImplDrawSymbol()
/AOO41X/main/svtools/source/control/
H A Druler.cxx994 sal_Bool bRTL = 0 != (nTabStyle & RULER_TAB_RTL); in ImplCenterTabPos() local
997 if ( (!bRTL && nTabStyle == RULER_TAB_LEFT) ||( bRTL && nTabStyle == RULER_TAB_RIGHT)) in ImplCenterTabPos()
999 else if ( (!bRTL && nTabStyle == RULER_TAB_RIGHT) ||( bRTL && nTabStyle == RULER_TAB_LEFT)) in ImplCenterTabPos()
1030 sal_Bool bRTL = 0 != (nStyle & RULER_TAB_RTL); in ImplDrawRulerTab() local
1045 else if ( (!bRTL && nTabStyle == RULER_TAB_LEFT) ||( bRTL && nTabStyle == RULER_TAB_RIGHT)) in ImplDrawRulerTab()
1056 else if ( (!bRTL && nTabStyle == RULER_TAB_RIGHT) ||( bRTL && nTabStyle == RULER_TAB_LEFT)) in ImplDrawRulerTab()
3165 void Ruler::SetTextRTL(sal_Bool bRTL) in SetTextRTL() argument
3167 if(mpData->bTextRTL != bRTL) in SetTextRTL()
3169 mpData->bTextRTL = bRTL; in SetTextRTL()
/AOO41X/main/svx/source/table/
H A Dtablelayouter.cxx280 const bool bRTL = meWritingMode == WritingMode_RL_TB; in getVerticalEdge() local
281 if( bRTL ) in getVerticalEdge()
295 if( bRTL ) in getVerticalEdge()
310 if( bRTL ) in getVerticalEdge()
673 const bool bRTL = meWritingMode == WritingMode_RL_TB; in LayoutTableWidth() local
674 RangeIterator<sal_Int32> coliter( 0, nColCount, !bRTL ); in LayoutTableWidth()
H A Dsvdotable.cxx502 const bool bRTL = mpLayouter->GetWritingMode() == WritingMode_RL_TB; in DragEdge() local
504 if( bRTL ) in DragEdge()
509 if( (bRTL && (nEdge >= 0)) || (!bRTL && (nEdge < mxTable->getColumnCount())) ) in DragEdge()
1061 const bool bRTL = GetWritingMode() == WritingMode_RL_TB; in CheckTableHit() local
1065 if( !bRTL ) in CheckTableHit()
/AOO41X/main/sw/source/ui/shells/
H A Ddrwbassh.cxx264 sal_Bool bRTL; in Execute() local
266 …ut(SfxBoolItem(SID_ATTR_TRANSFORM_IN_VERTICAL_TEXT, pSh->IsFrmVertical(sal_True, bRTL, bVertL2R))); in Execute()
267 aSet.Put(SfxBoolItem(SID_ATTR_TRANSFORM_IN_RTL_TEXT, bRTL)); in Execute()
848 sal_Bool bRTL; in IMPL_LINK() local
850 bIsInVertical = pSh->IsFrmVertical(sal_True, bRTL, bVertL2R); in IMPL_LINK()
/AOO41X/main/sw/source/core/draw/
H A Ddflyobj.cxx844 const sal_Bool bRTL = pTmpFrm->IsRightToLeft(); in NbcResize() local
848 const Point aNewPos( ( bVertX && !bVertL2RX ) || bRTL ? in NbcResize()
913 const Point aOldPos( ( bVertX && !bVertL2RX ) || bRTL ? in NbcResize()
919 if( bVertX || bRTL ) in NbcResize()
/AOO41X/main/sw/source/core/docnode/
H A Dndtbl1.cxx669 const sal_Bool bRTL = pTab->IsRightToLeft(); in SetTabBorders() local
686 if ( bRTL ) in SetTabBorders()
944 const sal_Bool bRTL = pTab->IsRightToLeft(); in GetTabBorders() local
961 if ( bRTL ) in GetTabBorders()
1375 sal_Bool bRTL = pTab->IsRightToLeft(); in lcl_CalcColValues()
1393 if ( bRTL ) in lcl_CalcColValues()
/AOO41X/main/sw/source/filter/inc/
H A Dmsfilter.hxx484 rtl_TextEncoding eCharSet, bool bRTL) in CharRunEntry()
486 mbRTL(bRTL) in CharRunEntry()
/AOO41X/main/sw/source/core/layout/
H A Dpagechg.cxx2203 const bool bRTL = !IsLeftToRightViewLayout(); in CheckViewLayout() local
2350 if ( bRTL ) in CheckViewLayout()
2383 if ( (bFirstColumn && !bRTL) || (bLastColumn && bRTL) ) in CheckViewLayout()
2385 if ( (bLastColumn && !bRTL) || (bFirstColumn && bRTL) ) in CheckViewLayout()
/AOO41X/main/drawinglayer/source/primitive2d/
H A Dtextlayoutdevice.cxx435 bool bRTL, in getFontAttributeFromVclFont() argument
447 bRTL, in getFontAttributeFromVclFont()
/AOO41X/main/vcl/os2/source/gdi/
H A Dos2layout.cxx391 bool bRTL = mpGlyphRTLFlags ? mpGlyphRTLFlags[i] : false; local
393 rArgs.NeedFallback( nCharPos, bRTL );
395 rArgs.NeedFallback( nCharPos+1, bRTL );
/AOO41X/main/vcl/win/source/gdi/
H A Dwinlayout.cxx457 bool bRTL = mpGlyphRTLFlags ? mpGlyphRTLFlags[i] : false; local
459 rArgs.NeedFallback( nCharPos, bRTL );
461 rArgs.NeedFallback( nCharPos+1, bRTL );
1287 bool bRTL; local
1288 for( rArgs.ResetPos(); rArgs.GetNextRun( &nMin, &nEnd, &bRTL ); )
1545 const bool bRTL = rVisualItem.IsRTL(); local
1546 if( !bRTL )
/AOO41X/main/svtools/source/edit/
H A Dsvmedit.cxx377 sal_Bool bRTL = Application::GetSettings().GetLayoutRTL(); in SetAlign() local
378 mpTextWindow->GetTextEngine()->SetRightToLeft( bRTL ); in SetAlign()
383 mpTextWindow->GetTextEngine()->SetTextAlign( !bRTL ? TXTALIGN_RIGHT : TXTALIGN_LEFT ); in SetAlign()
385 mpTextWindow->GetTextEngine()->SetTextAlign( !bRTL ? TXTALIGN_LEFT : TXTALIGN_RIGHT ); in SetAlign()
/AOO41X/main/svgio/source/svgreader/
H A Dsvgcharacternode.cxx270 bool bRTL(false); in createSimpleTextPrimitive() local
282 bRTL, in createSimpleTextPrimitive()
/AOO41X/main/vcl/source/app/
H A Dsettings.cxx1894 sal_Bool bRTL = sal_False; in GetLayoutRTL() local
1920 bRTL = MsLangId::isRightToLeft( aLang ); in GetLayoutRTL()
1923 bRTL = (nUIMirroring == 1); in GetLayoutRTL()
1925 return bRTL; in GetLayoutRTL()

123