Searched refs:nRelWidth (Results 1 – 8 of 8) sorted by relevance
405 sal_Int32 nRelWidth = 0; in EndElement() local415 nRelWidth += rColumn.Width; in EndElement()421 sal_Int32 nColWidth = 0==nRelWidth in EndElement()423 : nRelWidth / nColumnsWithWidth; in EndElement()432 nRelWidth += rColumn.Width; in EndElement()
432 sal_Int16 nRelWidth; member in XMLTextFrameContext_Impl700 if( nRelWidth > 0 || nWidth > 0 ) in Create()702 aAny <<= nRelWidth; in Create()712 (bMinWidth || nWidth > 0 || nRelWidth > 0 ) ) in Create()888 nRelWidth = 0; in XMLTextFrameContext_Impl()967 nRelWidth = (sal_Int16)nTmp; in XMLTextFrameContext_Impl()985 nRelWidth = (sal_Int16)nTmp; in XMLTextFrameContext_Impl()994 nRelWidth = (sal_Int16)nTmp; in XMLTextFrameContext_Impl()
2632 sal_Int16 nRelWidth = 0; in addTextFrameAttributes() local2633 rPropSet->getPropertyValue( sRelativeWidth ) >>= nRelWidth; in addTextFrameAttributes()2634 DBG_ASSERT( nRelWidth >= 0 && nRelWidth <= 254, in addTextFrameAttributes()2636 if( nRelWidth > 0 ) in addTextFrameAttributes()2639 nRelWidth ); in addTextFrameAttributes()
2446 sal_Int32 nRelWidth = 0L; in _MakeTable() local2454 nRelWidth += nColWidth; in _MakeTable()2489 nRelWidth += nRelCol; in _MakeTable()2502 nWidth = nRelWidth > USHRT_MAX ? USHRT_MAX : nRelWidth; in _MakeTable()2504 if( nRelWidth != nWidth && nRelWidth && nCols ) in _MakeTable()2506 double n = (double)nWidth / (double)nRelWidth; in _MakeTable()2507 nRelWidth = 0L; in _MakeTable()2512 nRelWidth += nW; in _MakeTable()2514 aColumnWidths.Replace( (sal_uInt16)(nWidth-nRelWidth), in _MakeTable()2550 else if( nAbsForRelWidth <= (nRelWidth * MINLAY) / in _MakeTable()[all …]
76 sal_uInt32 nRelWidth; member in SwXMLTableColumn_Impl83 nRelWidth( 0UL ) in SwXMLTableColumn_Impl()89 void SetRelWidth( sal_uInt32 nSet ) { nRelWidth = nSet; } in SetRelWidth()90 sal_uInt32 GetRelWidth() const { return nRelWidth; } in GetRelWidth()
2578 long nRelWidth = LONG_MAX, nRelHeight = LONG_MAX; in CalcRel() local2584 nRelWidth = pSh->GetBrowseWidth(); in CalcRel()2587 long nDiff = nRelWidth - pRel->Prt().Width(); in CalcRel()2589 nRelWidth -= nDiff; in CalcRel()2595 nRelWidth = Min( nRelWidth, pRel->Prt().Width() ); in CalcRel()2602 nRelWidth = Min( nRelWidth, pPage->Prt().Width() ); in CalcRel()2608 aRet.Width() = nRelWidth * rSz.GetWidthPercent() / 100; in CalcRel()
883 long nRelWidth, nRelHeight; in NbcResize() local892 nRelWidth = pSh->GetBrowseWidth(); in NbcResize()899 nRelWidth = pRel->Prt().Width(); in NbcResize()904 aFrmSz.SetWidthPercent( sal_uInt8(aSz.Width() * 100L / nRelWidth + 0.5) ); in NbcResize()
2588 …sal_uInt16 nRelWidth = ((const SvxCharScaleWidthItem&)pNode->GetContentAttribs().GetItem( EE_CHAR_… in SeekCursor() local2640 nRelWidth = ((const SvxCharScaleWidthItem*)pAttrib->GetItem())->GetValue(); in SeekCursor()2663 if ( aStatus.DoStretch() || ( nRelWidth != 100 ) ) in SeekCursor()2714 if ( nRelWidth != 100 ) in SeekCursor()2716 aRealSz.Width() *= nRelWidth; in SeekCursor()
Completed in 78 milliseconds