Home
last modified time | relevance | path

Searched refs:nRelWidth (Results 1 – 18 of 18) sorted by relevance

/dports/editors/libreoffice/libreoffice-7.2.6.2/xmloff/source/text/
H A DXMLTextColumnsContext.cxx281 sal_Int32 nRelWidth = 0; in endFastElement() local
291 nRelWidth += rColumn.Width; in endFastElement()
297 sal_Int32 nColWidth = 0==nRelWidth in endFastElement()
299 : nRelWidth / nColumnsWithWidth; in endFastElement()
308 nRelWidth += rColumn.Width; in endFastElement()
H A DXMLTextFrameContext.cxx357 sal_Int16 nRelWidth; member in __anon8669d4430411::XMLTextFrameContext_Impl
612 if( nRelWidth > 0 || nWidth > 0 ) in Create()
614 xPropSet->setPropertyValue( "RelativeWidth", Any(nRelWidth) ); in Create()
621 (bMinWidth || nWidth > 0 || nRelWidth > 0 ) ) in Create()
827 nRelWidth = 0; in XMLTextFrameContext_Impl()
895 nRelWidth = static_cast<sal_Int16>(nTmp); in XMLTextFrameContext_Impl()
912 nRelWidth = static_cast<sal_Int16>(nTmp); in XMLTextFrameContext_Impl()
921 nRelWidth = static_cast<sal_Int16>(nTmp); in XMLTextFrameContext_Impl()
H A Dtxtexppr.cxx1051 sal_Int16 nRelWidth = 0; in ContextFilter() local
1052 rPropSet->getPropertyValue("RelativeWidth") >>= nRelWidth; in ContextFilter()
1053 if (!nRelWidth) in ContextFilter()
H A Dtxtparae.cxx2672 sal_Int16 nRelWidth = 0; in addTextFrameAttributes() local
2673 rPropSet->getPropertyValue( gsRelativeWidth ) >>= nRelWidth; in addTextFrameAttributes()
2674 SAL_WARN_IF( nRelWidth < 0 || nRelWidth > 254, "xmloff", in addTextFrameAttributes()
2676 if( nRelWidth > 0 ) in addTextFrameAttributes()
2678 ::sax::Converter::convertPercent( sValue, nRelWidth ); in addTextFrameAttributes()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/xmloff/source/text/
H A DXMLTextColumnsContext.cxx349 sal_Int32 nRelWidth = 0; in EndElement() local
359 nRelWidth += rColumn.Width; in EndElement()
365 sal_Int32 nColWidth = 0==nRelWidth in EndElement()
367 : nRelWidth / nColumnsWithWidth; in EndElement()
376 nRelWidth += rColumn.Width; in EndElement()
H A DXMLTextFrameContext.cxx360 sal_Int16 nRelWidth; member in XMLTextFrameContext_Impl
616 if( nRelWidth > 0 || nWidth > 0 ) in Create()
618 xPropSet->setPropertyValue( "RelativeWidth", Any(nRelWidth) ); in Create()
625 (bMinWidth || nWidth > 0 || nRelWidth > 0 ) ) in Create()
833 nRelWidth = 0; in XMLTextFrameContext_Impl()
914 nRelWidth = static_cast<sal_Int16>(nTmp); in XMLTextFrameContext_Impl()
931 nRelWidth = static_cast<sal_Int16>(nTmp); in XMLTextFrameContext_Impl()
939 nRelWidth = static_cast<sal_Int16>(nTmp); in XMLTextFrameContext_Impl()
H A Dtxtexppr.cxx1032 sal_Int16 nRelWidth = 0; in ContextFilter() local
1033 rPropSet->getPropertyValue("RelativeWidth") >>= nRelWidth; in ContextFilter()
1034 if (!nRelWidth) in ContextFilter()
H A Dtxtparae.cxx2683 sal_Int16 nRelWidth = 0; in addTextFrameAttributes() local
2684 rPropSet->getPropertyValue( gsRelativeWidth ) >>= nRelWidth; in addTextFrameAttributes()
2685 SAL_WARN_IF( nRelWidth < 0 || nRelWidth > 254, "xmloff", in addTextFrameAttributes()
2687 if( nRelWidth > 0 ) in addTextFrameAttributes()
2689 ::sax::Converter::convertPercent( sValue, nRelWidth ); in addTextFrameAttributes()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/filter/xml/
H A Dxmltbli.cxx2255 sal_Int32 nRelWidth = 0; in MakeTable_() local
2262 nRelWidth += rCol.width; in MakeTable_()
2302 nRelWidth += nRelCol; in MakeTable_()
2316 m_nWidth = std::min(nRelWidth, MAX_WIDTH); in MakeTable_()
2318 if( nRelWidth != m_nWidth && nRelWidth && nCols ) in MakeTable_()
2321 nRelWidth = 0; in MakeTable_()
2326 nRelWidth += nW; in MakeTable_()
2328 m_aColumnWidths.back().width = (m_nWidth-nRelWidth); in MakeTable_()
2344 sal_Int32 nExtraRel = nRelWidth - (nRelCols * nMinRelColWidth); in MakeTable_()
2363 else if( nAbsForRelWidth <= (nRelWidth * MINLAY) / in MakeTable_()
[all …]
H A Dxmltble.cxx73 sal_uInt32 nRelWidth; member in SwXMLTableColumn_Impl
79 , nRelWidth(0) in SwXMLTableColumn_Impl()
85 void SetRelWidth( sal_uInt32 nSet ) { nRelWidth = nSet; } in SetRelWidth()
86 sal_uInt32 GetRelWidth() const { return nRelWidth; } in GetRelWidth()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/layout/
H A Dfly.cxx2506 tools::Long nRelWidth = LONG_MAX, nRelHeight = LONG_MAX; in CalcRel() local
2512 nRelWidth = pSh->GetBrowseWidth(); in CalcRel()
2515 nRelWidth = std::min( nRelWidth, pRel->getFramePrintArea().Width() ); in CalcRel()
2523 nRelWidth = std::min( nRelWidth, pRel->getFramePrintArea().Width() ); in CalcRel()
2525 nRelWidth = std::min( nRelWidth, pRel->getFrameArea().Width() ); in CalcRel()
2539 nRelWidth = std::min( nRelWidth, pPage->getFrameArea().Width() ); in CalcRel()
2541 nRelWidth = std::min( nRelWidth, pPage->getFramePrintArea().Width() ); in CalcRel()
2551 aRet.setWidth( nRelWidth * rSz.GetWidthPercent() / 100 ); in CalcRel()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/filter/xml/
H A Dxmltbli.cxx2348 sal_Int32 nRelWidth = 0; in MakeTable_() local
2355 nRelWidth += rCol.width; in MakeTable_()
2395 nRelWidth += nRelCol; in MakeTable_()
2409 m_nWidth = std::min(nRelWidth, MAX_WIDTH); in MakeTable_()
2411 if( nRelWidth != m_nWidth && nRelWidth && nCols ) in MakeTable_()
2414 nRelWidth = 0; in MakeTable_()
2419 nRelWidth += nW; in MakeTable_()
2421 m_aColumnWidths.back().width = (m_nWidth-nRelWidth); in MakeTable_()
2437 sal_Int32 nExtraRel = nRelWidth - (nRelCols * nMinRelColWidth); in MakeTable_()
2456 else if( nAbsForRelWidth <= (nRelWidth * MINLAY) / in MakeTable_()
[all …]
H A Dxmltble.cxx71 sal_uInt32 nRelWidth; member in SwXMLTableColumn_Impl
77 , nRelWidth(0) in SwXMLTableColumn_Impl()
83 void SetRelWidth( sal_uInt32 nSet ) { nRelWidth = nSet; } in SetRelWidth()
84 sal_uInt32 GetRelWidth() const { return nRelWidth; } in GetRelWidth()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/layout/
H A Dfly.cxx2461 long nRelWidth = LONG_MAX, nRelHeight = LONG_MAX; in CalcRel() local
2467 nRelWidth = pSh->GetBrowseWidth(); in CalcRel()
2470 nRelWidth = std::min( nRelWidth, pRel->getFramePrintArea().Width() ); in CalcRel()
2478 nRelWidth = std::min( nRelWidth, pRel->getFramePrintArea().Width() ); in CalcRel()
2480 nRelWidth = std::min( nRelWidth, pRel->getFrameArea().Width() ); in CalcRel()
2494 nRelWidth = std::min( nRelWidth, pPage->getFrameArea().Width() ); in CalcRel()
2496 nRelWidth = std::min( nRelWidth, pPage->getFramePrintArea().Width() ); in CalcRel()
2506 aRet.setWidth( nRelWidth * rSz.GetWidthPercent() / 100 ); in CalcRel()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/draw/
H A Ddflyobj.cxx1056 tools::Long nRelWidth, nRelHeight; in NbcResize() local
1066 nRelWidth = pSh->GetBrowseWidth(); in NbcResize()
1073 nRelWidth = pRel->getFramePrintArea().Width(); in NbcResize()
1080 aFrameSz.SetWidthPercent( sal_uInt8(aSz.Width() * 100.0 / nRelWidth + 0.5) ); in NbcResize()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/draw/
H A Ddflyobj.cxx1059 long nRelWidth, nRelHeight; in NbcResize() local
1069 nRelWidth = pSh->GetBrowseWidth(); in NbcResize()
1076 nRelWidth = pRel->getFramePrintArea().Width(); in NbcResize()
1083 aFrameSz.SetWidthPercent( sal_uInt8(aSz.Width() * 100.0 / nRelWidth + 0.5) ); in NbcResize()
/dports/editors/libreoffice/libreoffice-7.2.6.2/editeng/source/editeng/
H A Dimpedit3.cxx2697 sal_uInt16 nRelWidth = pNode->GetContentAttribs().GetItem( EE_CHAR_FONTWIDTH).GetValue(); in SeekCursor() local
2750nRelWidth = static_cast<const SvxCharScaleWidthItem*>(pAttrib->GetItem())->GetValue(); in SeekCursor()
2771 if ( aStatus.DoStretch() || ( nRelWidth != 100 ) ) in SeekCursor()
2800 nRelWidth == 100 ) in SeekCursor()
2838 if ( nRelWidth != 100 ) in SeekCursor()
2840 aRealSz.setWidth( aRealSz.Width() * nRelWidth ); in SeekCursor()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/editeng/source/editeng/
H A Dimpedit3.cxx2671 sal_uInt16 nRelWidth = pNode->GetContentAttribs().GetItem( EE_CHAR_FONTWIDTH).GetValue(); in SeekCursor() local
2724nRelWidth = static_cast<const SvxCharScaleWidthItem*>(pAttrib->GetItem())->GetValue(); in SeekCursor()
2745 if ( aStatus.DoStretch() || ( nRelWidth != 100 ) ) in SeekCursor()
2768 nRelWidth == 100 ) in SeekCursor()
2806 if ( nRelWidth != 100 ) in SeekCursor()
2808 aRealSz.setWidth( aRealSz.Width() * nRelWidth ); in SeekCursor()