| /trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/sheet/ |
| H A D | _XSheetCellCursor.java | 81 int height = addr.EndRow - addr.StartRow + 1 ; in _collapseToCurrentArray() local 84 (leftCol + width - 1) + "," + (topRow + height - 1) + ")" ); in _collapseToCurrentArray() 90 oObj.getCellRangeByPosition(0, 0, 0, height - 1); in _collapseToCurrentArray() 101 arrFormulaRange.setArrayFormula("A1:A" + height) ; in _collapseToCurrentArray() 113 if (cols == 1 && rows == height) { in _collapseToCurrentArray() 117 log.println("The size of cell range must be 1x" + height + in _collapseToCurrentArray() 157 int width = 4, height = 4; in _collapseToCurrentRegion() local 171 if (cols != width || rows != height) { in _collapseToCurrentRegion() 174 + " call Region must have size " + width + "x" + height in _collapseToCurrentRegion() 183 leftCol + width, topRow + height).setValue(1); in _collapseToCurrentRegion() [all …]
|
| /trunk/main/sdext/source/pdfimport/xpdfwrapper/ |
| H A D | pdfioutdev_gpl.cxx | 157 void writePbm_(OutputBuffer& o_rOutputBuf, Stream* str, int width, int height, bool bWithLinefeed, … in writePbm_() argument 165 int nOutLen = snprintf(&o_rOutputBuf[3], WRITE_BUFFER_SIZE-10, "%d %d", width, height); in writePbm_() 172 const int size = height * ((width + 7) / 8); in writePbm_() 202 int height, in writePpm_() argument 212 int nOutLen = snprintf(&o_rOutputBuf[3], WRITE_BUFFER_SIZE-10, "%d %d", width, height); in writePpm_() 223 const int size = width*height*3 + header_size; in writePpm_() 242 for( int y=0; y<height; ++y) in writePpm_() 264 int height, in writePng_() argument 273 PngHelper::createPng( o_rOutputBuf, str, width, height, zeroColor, oneColor, bIsMask ); in writePng_() 282 int width, int height, GfxImageColorMap* colorMap, in writePng_() argument [all …]
|
| H A D | pnghelper.cxx | 163 void PngHelper::appendIHDR( OutputBuffer& o_rOutputBuf, int width, int height, int depth, int color… in appendIHDR() argument 167 append( height, o_rOutputBuf ); in appendIHDR() 185 int height, in createPng() argument 192 appendIHDR( o_rOutputBuf, width, height, 1, 3 ); in createPng() 219 aScanlines.reserve( nLineSize * height + height ); in createPng() 222 for( int y = 0; y < height; y++ ) in createPng() 243 int width, int height, GfxImageColorMap* colorMap, in createPng() argument 248 appendIHDR( o_rOutputBuf, width, height, 8, 6 ); // RGBA image in createPng() 263 aScanlines.reserve( width*height*4 + height ); in createPng() 265 for( int y=0; y<height; ++y) in createPng() [all …]
|
| /trunk/main/canvas/source/cairo/ |
| H A D | cairo_quartz_cairo.cxx | 83 QuartzSurface::QuartzSurface( NSView* pView, int x, int y, int width, int height ) : in QuartzSurface() argument 87 …as::cairo::Surface(NSView*, x:%d, y:%d, w:%d, h:%d): New Surface for window", x, y, width, height); in QuartzSurface() 93 if (width == 0 || height == 0) { in QuartzSurface() 95 height = [mpView bounds].size.height; in QuartzSurface() 96 … OSL_TRACE("Canvas::cairo::Surface(): BUG!! size is ZERO! fixing to %d x %d...", width, height); in QuartzSurface() 101 cairo_quartz_surface_create(CAIRO_FORMAT_ARGB32, width, height), in QuartzSurface() 117 QuartzSurface::QuartzSurface( CGContextRef rContext, int x, int y, int width, int height ) : in QuartzSurface() argument 121 …airo::Surface(CGContext:%p, x:%d, y:%d, w:%d, h:%d): New Surface.", rContext, x, y, width, height); in QuartzSurface() 128 mpSurface.reset(cairo_quartz_surface_create_for_cg_context(rContext, width, height), in QuartzSurface() 166 SurfaceSharedPtr QuartzSurface::getSimilar( Content aContent, int width, int height ) const in getSimilar() [all …]
|
| H A D | cairo_xlib_cairo.cxx | 143 X11Surface::X11Surface( const X11SysData& rSysData, int x, int y, int width, int height ) : in X11Surface() argument 150 width + x, height + y ), in X11Surface() 204 SurfaceSharedPtr X11Surface::getSimilar( Content aContent, int width, int height ) const in getSimilar() 229 width > 0 ? width : 1, height > 0 ? height : 1, in getSimilar() 243 pFormat, width, height ), in getSimilar() 251 … cairo_surface_create_similar( mpSurface.get(), aContent, width, height ), in getSimilar() 276 void X11Surface::Resize( int width, int height ) in Resize() argument 278 cairo_xlib_surface_set_size( mpSurface.get(), width, height ); in Resize() 320 int x, int y, int width, int height ) in createSurface() argument 324 x,y,width,height)); in createSurface() [all …]
|
| H A D | cairo_os2_cairo.cxx | 158 SurfaceSharedPtr Os2Surface::getSimilar( Content aContent, int width, int height ) const in getSimilar() 160 OSL_TRACE( "Os2Surface::getSimilar size: %d x %d", width, height); in getSimilar() 163 int h = (height == 0 ? 1 : height); in getSimilar() 180 void Os2Surface::Resize( int width, int height) in Resize() argument 182 cairo_os2_surface_set_size( mpSurface.get(), width, height, false); in Resize() 253 int x, int y, int width, int height) in createSurface() argument 258 int h = (height == 0 ? 1 : height); in createSurface()
|
| /trunk/main/vcl/aqua/source/gdi/ |
| H A D | salprn.cxx | 135 double dX = 0, dY = aPaperSize.height; in SetupPrinterGraphics() 138 dY -= aPaperSize.height - aImageRect.size.height - aImageRect.origin.y; in SetupPrinterGraphics() 146 …double dX = aImageRect.origin.x, dY = aPaperSize.height - aImageRect.size.height - aImageRect.orig… in SetupPrinterGraphics() 151 dX = aPaperSize.height; in SetupPrinterGraphics() 205 double width = aPaperSize.width, height = aPaperSize.height; in SetPrinterData() local 207 PaperInfo aInfo( PtTo10Mu( width ), PtTo10Mu( height ) ); in SetPrinterData() 213 io_pSetupData->mnPaperHeight = PtTo10Mu( height ); in SetPrinterData() 273 long width = 21000, height = 29700; in SetData() local 280 height = io_pSetupData->mnPaperHeight; in SetData() 287 height = aInfo.getHeight(); in SetData() [all …]
|
| H A D | salnativewidgets.cxx | 110 aHIRect.size.height = static_cast<float>(aRect.GetHeight()); in ImplGetHIRectFromRectangle() 543 rc.size.height += 2; in drawNativeControl() 625 int nPaintHeight = static_cast<int>(rc.size.height); in drawNativeControl() 631 else if( rc.size.height <= PB_Norm_Height ) in drawNativeControl() 636 else if( pPBVal->mbSingleLine || rc.size.height < (PB_Norm_Height + PB_Norm_Height/2) ) in drawNativeControl() 657 int delta_y = static_cast<int>(rc.size.height) - nPaintHeight; in drawNativeControl() 723 y += rc.size.height; in drawNativeControl() 725 x -= rc.size.height * 0.866; // cos( 30 degree ) is approx. 0.866 in drawNativeControl() 726 y -= rc.size.height/2; in drawNativeControl() 768 …aTrackInfo.kind = (rc.size.height > 10) ? kThemeProgressBarLarge : kThemeProgressB… in drawNativeControl() [all …]
|
| H A D | aquaprintaccessoryview.mm | 300 static_cast<long>(aViewFrame.size.height) ); 319 // quality of the preview, e.g. when its height approaches the number of text lines 351 aPreviewFrame.size.height -= 7; 363 aPreviewFrame.size.height -= 61; 665 aUnion.size.height += 10; 671 if( aUnion.size.height > rMaxSize.height ) 672 rMaxSize.height = aUnion.size.height; 687 double nDiff = aTabSize.height - aRect.size.height; 772 aTextRect.origin.y = rCurY - aTextRect.size.height; 818 aCheckRect.origin.y = rCurY - aCheckRect.size.height; [all …]
|
| /trunk/main/vigra/ |
| H A D | vigra1.6.0.patch | 109 /** construct image of size width x height, use the specified allocator. 111 - BasicImage(int width, int height, Alloc const & alloc = Alloc()) 123 - vigra_precondition((width >= 0) && (height >= 0), 124 - "BasicImage::BasicImage(int width, int height): " 127 "width and height must be >= 0.\n"); 129 - resize(width, height, value_type()); 159 /** construct image of size width*height and initialize every 164 - BasicImage(int width, int height, value_type const & d, Alloc const & alloc = Alloc()) 176 - vigra_precondition((width >= 0) && (height >= 0), 177 - "BasicImage::BasicImage(int width, int height, value_type const & ): " [all …]
|
| /trunk/main/vcl/unx/kde4/ |
| H A D | KDESalGraphics.cxx | 218 aFrame.setFrameRect( QRect(0, 0, image->width(), image->height()) ); in lcl_drawFrame() 264 widgetRect.height(), in drawNativeControl() 343 option.rect = QRect(0, 0, widgetRect.width(), widgetRect.height()); in drawNativeControl() 498 …Rectangle xRect = { widgetRect.left(), widgetRect.top(), widgetRect.width(), widgetRect.height() }; in drawNativeControl() 504 if( xRect.width > 2*nFrameWidth && xRect.height > 2*nFrameWidth ) in drawNativeControl() 507 xRect.height -= 2*nFrameWidth; in drawNativeControl() 539 option.rect = QRect(0, 0, widgetRect.width(), widgetRect.height()); in drawNativeControl() 569 … gc, 0, 0, widgetRect.width(), widgetRect.height(), widgetRect.left(), widgetRect.top()); in drawNativeControl() 621 int nFontHeight = kapp->fontMetrics().height(); in getNativeControlRegion() 629 if( boundingRect.height() < nMinHeight ) in getNativeControlRegion() [all …]
|
| /trunk/main/offapi/com/sun/star/style/ |
| H A D | CharacterStyle.idl | 52 /** This value contains the character height as difference in point to the height of 56 /** This value contains the character height as percentage value relative to the height of 60 /** This value contains the character height as difference in point to the height of 64 /** This value contains the character height as percentage value relative to the height of 68 /** This value contains the character height as difference in point to the height of 72 /** This value contains the character height as percentage value relative to the height of
|
| H A D | ParagraphStyle.idl | 111 /** This value contains the character height as percentage value relative to the height of 117 /** This value contains the character height as difference in point to the height of 123 /** This value contains the character height as percentage value relative to the height of 129 /** This value contains the character height as difference in point to the height of 135 /** This value contains the character height as percentage value relative to the height of
|
| /trunk/main/offapi/com/sun/star/text/ |
| H A D | SizeType.idl | 34 /** The height value of objects like text frames or table rows may 37 <p>The values may specify the absolute height (SIZETYPE_FIX), the 38 minimum height (SIZETYPE_MIN), or they are ignored (SIZETYPE_VAR), 39 in which case the real height depends on the content. This information 45 // The height of the object is determind by the content only. 51 // The height property determines the height of the object. 59 /** The height property determines the minimum height of the object, but the 60 actual height will be increased if the content demands it.
|
| /trunk/main/vcl/aqua/source/window/ |
| H A D | salframe.cxx | 155 maGeometry.nY = static_cast<int>(aVisibleRect.origin.y + aVisibleRect.size.height / 10); in initWindowAndView() 157 maGeometry.nHeight = static_cast<unsigned int>(aVisibleRect.size.height * 0.8); in initWindowAndView() 173 maGeometry.nHeight = static_cast<int>(aVisibleRect.size.height); in initWindowAndView() 227 io_rRect.origin.y = maScreenRect.size.height - (io_rRect.origin.y+io_rRect.size.height); in CocoaToVCL() 229 io_rRect.origin.y = maGeometry.nHeight - (io_rRect.origin.y+io_rRect.size.height); in CocoaToVCL() 235 io_rRect.origin.y = maScreenRect.size.height - (io_rRect.origin.y+io_rRect.size.height); in VCLToCocoa() 237 io_rRect.origin.y = maGeometry.nHeight - (io_rRect.origin.y+io_rRect.size.height); in VCLToCocoa() 243 io_rPoint.y = maScreenRect.size.height - io_rPoint.y; in CocoaToVCL() 251 io_rPoint.y = maScreenRect.size.height - io_rPoint.y; in VCLToCocoa() 595 aStateRect.size.height = float(pState->mnHeight); in SetWindowState() [all …]
|
| /trunk/main/toolkit/source/awt/ |
| H A D | vclxgraphics.cxx | 400 void VCLXGraphics::drawRect( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height ) throw(un… in drawRect() argument 407 mpOutputDevice->DrawRect( Rectangle( Point( x, y ), Size( width, height ) ) ); in drawRect() 411 void VCLXGraphics::drawRoundedRect( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height, sa… in drawRoundedRect() argument 418 …mpOutputDevice->DrawRect( Rectangle( Point( x, y ), Size( width, height ) ), nHorzRound, nVertRoun… in drawRoundedRect() 460 void VCLXGraphics::drawEllipse( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height ) throw… in drawEllipse() argument 467 mpOutputDevice->DrawEllipse( Rectangle( Point( x, y ), Size( width, height ) ) ); in drawEllipse() 471 void VCLXGraphics::drawArc( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height, sal_Int32 … in drawArc() argument 478 …mpOutputDevice->DrawArc( Rectangle( Point( x, y ), Size( width, height ) ), Point( x1, y1 ), Point… in drawArc() 482 void VCLXGraphics::drawPie( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height, sal_Int32 … in drawPie() argument 489 …mpOutputDevice->DrawPie( Rectangle( Point( x, y ), Size( width, height ) ), Point( x1, y1 ), Point… in drawPie() [all …]
|
| /trunk/main/vcl/unx/generic/gdi/ |
| H A D | salbmp.cxx | 504 int height = aAttribute.height; in SnapShot() local 529 height = height + y; in SnapShot() 533 if (y > aRootAttribute.height) in SnapShot() 535 height = 0; in SnapShot() 536 y = aRootAttribute.height; in SnapShot() 539 if (y + height > aRootAttribute.height) in SnapShot() 541 height = aRootAttribute.height - y; in SnapShot() 544 if ((width > 0) && (height > 0)) in SnapShot() 547 x, y, width, height, AllPlanes, ZPixmap ); in SnapShot() 568 if (pImage != NULL && pImage->width != 0 && pImage->height != 0 && pImage->depth != 0) in ImplCreateFromXImage() [all …]
|
| /trunk/main/odk/docs/ |
| H A D | sdk_styles.css | 94 height: 1px; } 97 height: 8px; } 100 height: 10px; } 103 height: 30px; } 106 height: 32px; 110 height: 1px; } 113 height: 13px; } 142 …ft:20px; padding-top:3px; padding-bottom:5px; text-align:left; font-size: 12px; line-height:10pt; } 143 …n: left; padding-bottom: 12px; padding-right: 8px; padding-left: 5px; width: 188px; height: 76px; }
|
| /trunk/test/testuno/source/fvt/uno/sw/page/ |
| H A D | CheckFooterHeader.java | 73 int leftMargin, int rightMargin, int bodyDistance, int height){ in CheckFooterHeader() argument 84 m_Height = height; in CheckFooterHeader() 127 …int height = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, m_HeightProperty)).intValue(… in testFooterHeader() local 129 this.compare("ODT", leftMargin, rightMargin, bodyDistance, height); in testFooterHeader() 138 … height = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, m_HeightProperty)).intValue(); in testFooterHeader() 140 this.compare("DOC", leftMargin, rightMargin, bodyDistance, height); in testFooterHeader() 146 …void compare(String preDescription, int leftMargin, int rightMargin, int bodyDistance, int height){ in compare() argument 150 … Assert.assertEquals(preDescription + ":" + m_HeightProperty,(double)m_Height, (double)height, 2); in compare()
|
| H A D | CheckPage.java | 69 private int height = 0; field in CheckPage 76 …public CheckPage(boolean isLandscape, int width, int height, int topMargin, int bottomMargin, int … in CheckPage() argument 79 this.height = height; in CheckPage() 108 … SWUtil.setDefaultPageStyleProperty(xComponent, heightProperty, Integer.valueOf(this.height)); in testPage() 150 …private void compare(String preDescription, boolean isLandScape, int width, int height, int top, i… in compare() argument 153 …rt.assertEquals(preDescription + ":" + this.heightProperty,(double)this.height, (double)height, 2); in compare()
|
| /trunk/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/accessibility/ |
| H A D | WindowsAccessBridgeAdapter.java | 243 int x = 0; int y = 0; int width = 0; int height = 0; field in WindowsAccessBridgeAdapter.PopupMenuProxy 277 if (p.y + d.height > y2) { in PopupMenuProxy() 278 y2 = p.y + d.height; in PopupMenuProxy() 287 height = y2 - y; in PopupMenuProxy() 405 (((d.width >= 0) && (p.x < d.width) && (d.height >= 0) && in contains() 406 (p.y < d.height)) ? "true" : "false")); in contains() 409 if ((d.width >= 0) && (p.x < d.width) && (d.height >= 0) && in contains() 410 (p.y < d.height)) { in contains() 435 return new java.awt.Rectangle(x, y, width, height); in getBounds() 445 return new java.awt.Dimension(width, height); in getSize() [all …]
|
| /trunk/main/reportbuilder/java/com/sun/star/report/pentaho/output/ |
| H A D | OfficeDocumentReportTarget.java | 1326 final CSSNumericValue height = image.getHeight(); // always in 100th of a mm in startImageProcessing() local 1328 LOGGER.debug("Image " + imageData + " Width: " + width + ", Height: " + height); in startImageProcessing() 1329 if (width == null || height == null) in startImageProcessing() 1356 … CSSValueResolverUtility.convertLength(height, imageAreaHeightVal.getType()); in startImageProcessing() 1537 … final String height = (String) element.getAttribute(OfficeNamespaces.STYLE_NS, "row-height"); in computeRowHeight() local 1538 if (height != null) in computeRowHeight() 1540 return parseLength(height); in computeRowHeight() 1558 … final String height = (String) element.getAttribute(OfficeNamespaces.STYLE_NS, "row-height"); in computeRowHeight() local 1559 if (height != null) in computeRowHeight() 1561 return parseLength(height); in computeRowHeight() [all …]
|
| /trunk/main/avmedia/source/java/ |
| H A D | PlayerWindow.java | 131 nControlH = Math.min( nH, aControlDimension.height ); in LayoutComponents() 154 aPrefDim.height >>= 2; in LayoutComponents() 160 aPrefDim.height >>= 1; in LayoutComponents() 166 aPrefDim.height <<= 1; in LayoutComponents() 172 aPrefDim.height <<= 2; in LayoutComponents() 184 if( ( aPrefDim.width <= nVideoW ) && ( aPrefDim.height <= nVideoH ) ) in LayoutComponents() 187 nY = ( nVideoH - aPrefDim.height ) >> 1; in LayoutComponents() 189 nHeight = aPrefDim.height; in LayoutComponents() 196 … if( aPrefDim.width > 0 && aPrefDim.height > 0 && nVideoW > 0 && nVideoH > 0 ) in LayoutComponents() 198 double fPrefWH = (double) aPrefDim.width / aPrefDim.height; in LayoutComponents()
|
| /trunk/main/slideshow/source/engine/transitions/ |
| H A D | snakewipe.cxx | 110 const double height = ::basegfx::pruneScaleValue( M_SQRT1_2 / m_sqrtElements ); in calcHalfDiagonalSnake() local 113 poly.append( ::basegfx::B2DPoint( 0.0, height ) ); in calcHalfDiagonalSnake() 114 poly.append( ::basegfx::B2DPoint( len + a, height ) ); in calcHalfDiagonalSnake() 154 const double height = ::basegfx::pruneScaleValue( M_SQRT1_2 / m_sqrtElements ); in calcHalfDiagonalSnake() local 157 poly.append( ::basegfx::B2DPoint( 0.0, height ) ); in calcHalfDiagonalSnake() 158 poly.append( ::basegfx::B2DPoint( len + a, height ) ); in calcHalfDiagonalSnake() 166 aTransform = basegfx::tools::createTranslateB2DHomMatrix(0.0, -height); in calcHalfDiagonalSnake()
|
| /trunk/main/fpicker/source/aqua/ |
| H A D | ControlHelper.cxx | 355 …rol description] UTF8String], frame.origin.x, frame.origin.y, frame.size.width, frame.size.height); in createUserPane() 357 int nControlHeight = frame.size.height; in createUserPane() 381 …description] UTF8String], tfRect.origin.x, tfRect.origin.y, tfRect.size.width, tfRect.size.height); in createUserPane() 459 if (currentHeight < minRect.size.height) in createUserPane() 460 currentHeight = minRect.size.height; in createUserPane() 463 …rect to {%f, %f, %f, %f}",upRect.origin.x, upRect.origin.y, upRect.size.width, upRect.size.height); in createUserPane() 818 …",userPaneRect.origin.x, userPaneRect.origin.y, userPaneRect.size.width, userPaneRect.size.height); in layoutControls() 824 int currenttop = userPaneRect.size.height; in layoutControls() 866 int nControlHeight = controlRect.size.height; in layoutControls() 895 … %f, %f}",labelFrame.origin.x, labelFrame.origin.y, labelFrame.size.width, labelFrame.size.height); in layoutControls() [all …]
|