Home
last modified time | relevance | path

Searched refs:nWidth (Results 126 – 150 of 757) sorted by relevance

12345678910>>...31

/trunk/main/svx/source/sidebar/possize/
H A DPosSizePropertyPanel.cxx620 … const long nWidth = (long) ( ((double) mlOldWidth * (double) nHeight) / (double) mlOldHeight ); variable
621 mpMtrWidth->SetUserValue( nWidth, FUNIT_NONE );
635 …long nWidth = (long) ( ((double)mlOldWidth * (double)mpMtrHeight->GetValue()) / (double)mlOldHeigh… in IMPL_LINK() local
636 if( nWidth <= mpMtrWidth->GetMax( FUNIT_NONE ) ) in IMPL_LINK()
638 mpMtrWidth->SetUserValue( nWidth, FUNIT_NONE ); in IMPL_LINK()
642 nWidth = (long)mpMtrWidth->GetMax( FUNIT_NONE ); in IMPL_LINK()
643 mpMtrWidth->SetUserValue( nWidth ); in IMPL_LINK()
644 … const long nHeight = (long) ( ((double)mlOldHeight * (double)nWidth) / (double)mlOldWidth ); in IMPL_LINK()
1114 double nWidth = (double)mpMtrWidth->GetValue( meDlgUnit ); in executeSize() local
1115nWidth = MetricField::ConvertDoubleValue( nWidth, mpMtrWidth->GetBaseValue(), mpMtrWidth->GetDecim… in executeSize()
[all …]
/trunk/main/sw/source/filter/xml/
H A Dxmltble.cxx117 sal_uInt32 nWidth; member in SwXMLTableLines_Impl
125 sal_uInt32 GetWidth() const { return nWidth; } in GetWidth()
133 nWidth( 0UL ) in SwXMLTableLines_Impl()
151 if( nBox < nBoxes-1U || nWidth==0UL ) in SwXMLTableLines_Impl()
162 ASSERT( nLine==0U && nWidth==0UL, in SwXMLTableLines_Impl()
164 nWidth = nCPos; in SwXMLTableLines_Impl()
185 nCPos = nWidth; in SwXMLTableLines_Impl()
187 SwXMLTableColumn_Impl aCol( nWidth ); in SwXMLTableLines_Impl()
610 sal_uInt32 nWidth = nCPos - nOldCPos; in ExportTableLinesAutoStyles() local
617 pColumn->SetRelWidth( nWidth ); in ExportTableLinesAutoStyles()
[all …]
H A Dxmltexti.hxx63 sal_Int32 nWidth, sal_Int32 nHeight );
70 sal_Int32 nWidth, sal_Int32 nHeight );
78 sal_Int32 nWidth, sal_Int32 nHeight );
85 sal_Int32 nWidth, sal_Int32 nHeight );
93 sal_Int32 nWidth, sal_Int32 nHeight );
/trunk/main/vcl/source/gdi/
H A Dimpvect.cxx255 ImplVectMap( long nWidth, long nHeight );
272 ImplVectMap::ImplVectMap( long nWidth, long nHeight ) : in ImplVectMap() argument
273 mnWidth ( nWidth ), in ImplVectMap()
276 const long nWidthAl = ( nWidth >> 2L ) + 1L; in ImplVectMap()
753 const long nWidth = pRAcc->Width(); in ImplVectorize() local
770 for( long nX = 0L; nX < nWidth; nX++ ) in ImplVectorize()
827 rMtf.SetPrefSize( Size( nWidth + 2, nHeight + 2 ) ); in ImplVectorize()
1069 const long nWidth = pMap->Width(), nHeight= pMap->Height(); in ImplCalculate() local
1076 while( nX < nWidth ) in ImplCalculate()
1079 while( ( nX < nWidth ) && pMap->IsFree( nY, nX ) ) in ImplCalculate()
[all …]
/trunk/main/sfx2/source/doc/
H A Dfrmdescr.cxx57 nWidth( 0L ), in SfxFrameDescriptor()
149 pFrame->nWidth = nWidth; in Clone()
184 if ( !nWidth ) in GetWinBits()
196 return nWidth; in GetSize()
205 nWidth = rProp.lSize; in TakeProperties()
H A Dnew.cxx122 long nWidth = pWindow->GetOutputSize().Width() - 2*FRAME; in ImpPaint() local
124 if( nWidth < 0 ) nWidth = 0; in ImpPaint()
128 double dRatioPreV=((double) nWidth ) / nHeight; in ImpPaint()
133 aSize=Size(nWidth, (sal_uInt16)(nWidth/dRatio)); in ImpPaint()
139 aPoint=Point((sal_uInt16)((nWidth-aSize.Width())/2),0); in ImpPaint()
141 Point bPoint=Point(nWidth,nHeight)-aPoint; in ImpPaint()
/trunk/main/sc/source/filter/excel/
H A Dcolrowst.cxx90 void XclImpColRowSettings::SetWidthRange( SCCOL nScCol1, SCCOL nScCol2, sal_uInt16 nWidth ) in SetWidthRange() argument
98 ::std::fill( maWidths.begin() + nScCol1, maWidths.begin() + nScCol2 + 1, nWidth ); in SetWidthRange()
193 …sal_uInt16 nWidth = ::get_flag( maColFlags[ nScCol ], EXC_COLROW_USED ) ? maWidths[ nScCol ] : mnD… in Convert() local
197 if( nWidth == 0 ) in Convert()
200 nWidth = mnDefWidth; in Convert()
202 rDoc.SetColWidthOnly( nScCol, nScTab, nWidth ); in Convert()
/trunk/main/vcl/unx/headless/
H A Dsvpgdi.cxx328 void SvpSalGraphics::drawRect( long nX, long nY, long nWidth, long nHeight ) in drawRect() argument
332 … B2DPolygon aRect = tools::createPolygonFromRect( B2DRectangle( nX, nY, nX+nWidth, nY+nHeight ) ); in drawRect()
548 SalBitmap* SvpSalGraphics::getBitmap( long nX, long nY, long nWidth, long nHeight ) in getBitmap() argument
551 cloneBitmapDevice( B2IVector( nWidth, nHeight ), in getBitmap()
553 B2IRange aSrcRect( nX, nY, nX+nWidth, nY+nHeight ); in getBitmap()
554 B2IRange aDestRect( 0, 0, nWidth, nHeight ); in getBitmap()
568 void SvpSalGraphics::invert( long nX, long nY, long nWidth, long nHeight, SalInvert /*nFlags*/ ) in invert() argument
571 … B2DPolygon aRect = tools::createPolygonFromRect( B2DRectangle( nX, nY, nX+nWidth, nY+nHeight ) ); in invert()
H A Dsvpgdi.hxx59 …virtual bool drawAlphaRect( long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTransparency );
122 virtual void drawRect( long nX, long nY, long nWidth, long nHeight );
166 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight );
168 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags );
171 …virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, sal_uLong nSi…
/trunk/main/vcl/aqua/source/gdi/
H A Daquaprintview.mm54 int nWidth = (int)aPaperSize.width;
56 if( nWidth < 1 )
57 nWidth = 1;
58 NSRect aRect = { NSMakePoint( page % nWidth, page / nWidth), aPaperSize };
H A Dsalgdiutils.cxx180 const unsigned int nWidth = mpFrame->maGeometry.nWidth; in CheckContext() local
187 if( (unsigned(mnWidth) != nWidth) || (unsigned(mnHeight) != nHeight) ) in CheckContext()
189 mnWidth = nWidth; in CheckContext()
200 const CGSize aLayerSize = CGSizeMake( nWidth, nHeight); in CheckContext()
/trunk/main/sw/source/ui/misc/
H A Dpgfnote.cxx92 sal_Bool lcl_HasLineWidth(sal_uInt16 nWidth) in lcl_HasLineWidth() argument
95 if(nLines[i] == nWidth) in lcl_HasLineWidth()
242 const sal_uInt16 nWidth = (sal_uInt16)pFtnInfo->GetLineWidth() * TWIP_TO_LBOX; in Reset() local
243 if ( !lcl_HasLineWidth(nWidth) ) in Reset()
244 aLineTypeBox.InsertEntry(nWidth); in Reset()
245 aLineTypeBox.SelectEntry(nWidth); in Reset()
/trunk/main/sw/source/filter/html/
H A Dsvxcss1.cxx412 nWidth( rProp.nWidth ), in SvxCSS1PropertyInfo()
457 nLeft = nTop = nWidth = nHeight = 0; in Clear()
518 nWidth = rProp.nWidth; in Merge()
545 nWidth = rProp.nWidth; in Merge()
2634 nWidth = (sal_uInt16)pExpr->GetULength(); in ParseCSS1_border_xxx()
2651 nWidth = 1; in ParseCSS1_border_xxx()
2677 pInfo->nAbsWidth = nWidth; in ParseCSS1_border_xxx()
2709 nWidth = (sal_uInt16)pExpr->GetULength(); in ParseCSS1_border_xxx_width()
2729 pInfo->nAbsWidth = nWidth; in ParseCSS1_border_xxx_width()
3018 rPropInfo.nWidth = rPropInfo.nHeight; in ParseCSS1_size()
[all …]
/trunk/main/sw/source/core/objectpositioning/
H A Dtolayoutanchoredobjectposition.cxx165 SwTwips nWidth, nOffset; in CalcPosition() local
170 nWidth, nOffset, bDummy ); in CalcPosition()
182 nRelPosX = nWidth - nObjWidth - aHori.GetPos(); in CalcPosition()
190 nRelPosX = (nWidth / 2) - (nObjWidth / 2); in CalcPosition()
192 nRelPosX = nWidth - ( nObjWidth + in CalcPosition()
/trunk/main/avmedia/source/win/
H A Dframegrabber.cxx152 long nWidth = 0, nHeight = 0, nSize = 0; in grabFrame() local
161 nWidth = pVih->bmiHeader.biWidth; in grabFrame()
182 if( ( nWidth > 0 ) && ( nHeight > 0 ) && in grabFrame()
183 SUCCEEDED( pDet->GetBitmapBits( 0, &nSize, NULL, nWidth, nHeight ) ) && in grabFrame()
190 … if( SUCCEEDED( pDet->GetBitmapBits( fMediaTime, NULL, pBuffer, nWidth, nHeight ) ) ) in grabFrame()
/trunk/main/sw/source/ui/dbui/
H A Ddbinsdlg.cxx726 long nWidth; in IMPL_LINK() local
737 nEnd1 = nWidth; in IMPL_LINK()
745 if(nStart1 || nEnd1 != nWidth) in IMPL_LINK()
746 nWidth = nEnd1 - nStart1; in IMPL_LINK()
749 nWidth = rSh.GetAnyCurRect( in IMPL_LINK()
755 aTabCols.SetRight( nWidth ); in IMPL_LINK()
759 pRep->SetSpace( nWidth ); in IMPL_LINK()
760 pRep->SetWidth( nWidth ); in IMPL_LINK()
775 aTabCols.SetRight( nWidth ); in IMPL_LINK()
786 pRep->SetSpace( nWidth ); in IMPL_LINK()
[all …]
/trunk/main/UnoControls/source/controls/
H A Dprogressmonitor.cxx515 sal_Int32 nWidth = 0 ; in getPreferredSize() local
518 nWidth = 3 * FREEBORDER ; in getPreferredSize()
519 nWidth += aProgressBarSize.Width ; in getPreferredSize()
529 if ( nWidth<DEFAULT_WIDTH ) in getPreferredSize()
531 nWidth = DEFAULT_WIDTH ; in getPreferredSize()
539 return Size ( nWidth, nHeight ) ; in getPreferredSize()
630 void SAL_CALL ProgressMonitor::setPosSize ( sal_Int32 nX, sal_Int32 nY, sal_Int32 nWidth, sal_Int32… in setPosSize() argument
633 BaseContainerControl::setPosSize (nX, nY, nWidth, nHeight, nFlags) ; in setPosSize()
637 ( nWidth != aBasePosSize.Width ) || in setPosSize()
/trunk/main/sw/source/filter/rtf/
H A Drtffly.cxx145 SwTwips nWidth = rTblNd.GetTable().GetFrmFmt()->GetFrmSize().GetWidth(); in SetFlySize() local
147 if( nWidth > rSz.GetWidth() ) in SetFlySize()
739 sal_uInt16 nWidth = sal_uInt16( nTokenValue ), nSpace = 0; in ReadFly() local
747 aColumns.Insert( nWidth + nSpace, aColumns.Count() ); in ReadFly()
857 sal_uInt16 nWidth = sal_uInt16( nTokenValue ), nSpace = 0; in ReadFly() local
865 aColumns.Insert( nWidth + nSpace, aColumns.Count() ); in ReadFly()
965 sal_uLong nWidth = USHRT_MAX; in ReadFly() local
966 aCol.Init( nCols, nColSpace, sal_uInt16( nWidth ) ); in ReadFly()
974 nTmp /= nWidth; in ReadFly()
1351 aSize.Width() = pPicType->nWidth * 20; in _SetPictureSize()
[all …]
/trunk/main/sw/source/core/layout/
H A Dcalcmove.cxx747 long nWidth = GetUpper() ? ((SwRootFrm*)GetUpper())->GetBrowseWidth() : 0; in MakeAll() local
748 if ( nWidth < pSh->GetBrowseWidth() ) in MakeAll()
749 nWidth = pSh->GetBrowseWidth(); in MakeAll()
750 nWidth += + 2 * aBorder.Width(); in MakeAll()
756 nWidth = Max( nWidth, 2L * aBorder.Width() + 4L*MM50 ); in MakeAll()
757 Frm().Width( nWidth ); in MakeAll()
1029 … long nWidth = nWidthArea - 2 * ( IsVertical() ? aBorder.Height() : aBorder.Width() ); in MakePrtArea() local
1030 nWidth -= (Prt().*fnRect->fnGetLeft)(); in MakePrtArea()
1031 nWidth -= rAttrs.CalcRightLine(); in MakePrtArea()
1032 nWidth = Max( nMinWidth, nWidth ); in MakePrtArea()
[all …]
/trunk/main/oox/source/xls/
H A Dworksheetfragment.cxx641 sal_Int32 nWidth; in importCol() local
649 aModel.mfWidth = static_cast< double >( nWidth ) / 256.0; in importCol()
940 sal_uInt16 nFirstCol, nLastCol, nWidth, nXfId, nFlags; in importColInfo() local
941 rStrm >> nFirstCol >> nLastCol >> nWidth >> nXfId >> nFlags; in importColInfo()
948 aModel.mfWidth = static_cast< double >( nWidth ) / 256.0; in importColInfo()
968 sal_uInt16 nWidth; in importColWidth() local
969 rStrm >> nFirstCol >> nLastCol >> nWidth; in importColWidth()
976 aModel.mfWidth = static_cast< double >( nWidth ) / 256.0; in importColWidth()
1206 sal_uInt16 nWidth; in importStandardWidth() local
1207 rStrm >> nWidth; in importStandardWidth()
[all …]
/trunk/main/vcl/inc/aqua/
H A Dsalframe.h121 virtual void SetMinClientSize( long nWidth, long nHeight );
122 virtual void SetMaxClientSize( long nWidth, long nHeight );
123 virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags );
162 virtual void UnionClipRegion( long nX, long nY, long nWidth, long nHeight );
166 virtual void SetClientSize( long nWidth, long nHeight );
/trunk/main/sdext/source/presenter/
H A DPresenterWindowManager.cxx325 const double nWidth, in SetPanePosSizeAbsolute() argument
337 pDescriptor->mnRight = (nX + nWidth) / aParentBox.Width; in SetPanePosSizeAbsolute()
344 ::sal::static_int_cast<sal_Int32>(nWidth), in SetPanePosSizeAbsolute()
1029 const double nWidth = ::std::min(aWindowBox.Width - 2*nGap, aWindowBox.Width/nGoldenRatio); in LayoutHelpMode() local
1032 (aWindowBox.Width - nWidth)/2, in LayoutHelpMode()
1034 nWidth, in LayoutHelpMode()
1202 const sal_Int32 nWidth = (sal_Int32)(pDescriptor->mnRight * aBox.Width) - nX; in LayoutUnknownMode() local
1206 nX,nY,nWidth,nHeight, in LayoutUnknownMode()
1227 const double nWidth (aParentBox.Width); in UpdateWindowSize() local
1229 pDescriptor->mnLeft = double(aBorderBox.X) / nWidth; in UpdateWindowSize()
[all …]
/trunk/main/sdext/source/pdfimport/wrapper/
H A Dwrapper.cxx694 sal_Int32 nWidth, nHeight,nMaskColors; in readImage() local
695 readInt32(nWidth); in readImage()
727 sal_Int32 nWidth, nHeight, nInvert; in readMask() local
728 readInt32(nWidth); in readMask()
753 sal_Int32 nWidth, nHeight, nMaskWidth, nMaskHeight, nMaskInvert; in readMaskedImage() local
754 readInt32(nWidth); in readMaskedImage()
767 sal_Int32 nWidth, nHeight, nMaskWidth, nMaskHeight; in readSoftMaskedImage() local
768 readInt32(nWidth); in readSoftMaskedImage()
840 const double nWidth ( readDouble() ); in parseLine() local
842 m_pSink->startPage( geometry::RealSize2D( nWidth, nHeight ) ); in parseLine()
/trunk/main/filter/source/graphicfilter/icgm/
H A Dactimpr.cxx826 long nWidth = rTextSize.Width; in DrawText() local
849 if ( nWidth < 0 ) in DrawText()
851 nWidth = -nWidth; in DrawText()
853 else if ( nWidth == 0 ) in DrawText()
855 nWidth = -1; in DrawText()
866 maXShape->setSize( awt::Size( nWidth, nHeight ) ); in DrawText()
882 if ( nWidth == -1 ) in DrawText()
930 if ( nWidth != -1 ) // paragraph adjusting in a valid textbox ? in DrawText()
948 if ( nWidth > 0 && nHeight > 0 ) // restricted text in DrawText()
/trunk/main/oox/inc/oox/dump/
H A Ddumperbase.hxx315 …static void appendDec( ::rtl::OUStringBuffer& rStr, sal_uInt8 nData, sal_Int32 nWidth = 0…
316 …static void appendDec( ::rtl::OUStringBuffer& rStr, sal_Int8 nData, sal_Int32 nWidth = 0…
317 …static void appendDec( ::rtl::OUStringBuffer& rStr, sal_uInt16 nData, sal_Int32 nWidth = 0…
318 …static void appendDec( ::rtl::OUStringBuffer& rStr, sal_Int16 nData, sal_Int32 nWidth = 0…
364 static void appendFix( ::rtl::OUStringBuffer& rStr, Type nData, sal_Int32 nWidth = 0 );
435 void StringHelper::appendFix( ::rtl::OUStringBuffer& rStr, Type nData, sal_Int32 nWidth ) in appendFix() argument
437 appendDec( rStr, static_cast< double >( nData ) / pow( 2.0, 4.0 * sizeof( Type ) ), nWidth ); in appendFix()
1129 inline void writeDec( Type nData, sal_Int32 nWidth = 0, sal_Unicode cFill = ' ' ) in writeDec() argument
1130 { StringHelper::appendDec( maLine, nData, nWidth, cFill ); } in writeDec()
1141 inline void writeFix( Type nData, sal_Int32 nWidth = 0 ) in writeFix() argument
[all …]

Completed in 193 milliseconds

12345678910>>...31