/trunk/main/vcl/workben/ |
H A D | svptest.cxx | 243 Size aPaperSize = GetOutputSize(); in Paint() local 244 Point aCenter( aPaperSize.Width()/2-300, in Paint() 245 (aPaperSize.Height() - 8400)/2 + 8400 ); in Paint() 246 Point aP1( aPaperSize.Width()/48, 0), aP2( aPaperSize.Width()/40, 0 ), aPoint; in Paint() 248 DrawRect( Rectangle( Point( 0,0 ), aPaperSize ) ); in Paint() 250 Size( aPaperSize.Width()-200, in Paint() 251 aPaperSize.Height()-200 ) ) ); in Paint() 253 Size( aPaperSize.Width()-400, in Paint() 254 aPaperSize.Height()-400 ) ) ); in Paint() 256 Size( aPaperSize.Width()-600, in Paint() [all …]
|
/trunk/main/vcl/aqua/source/gdi/ |
H A D | salprn.cxx | 129 NSSize aPaperSize = [mpPrintInfo paperSize]; in SetupPrinterGraphics() local 135 double dX = 0, dY = aPaperSize.height; in SetupPrinterGraphics() 151 dX = aPaperSize.height; in SetupPrinterGraphics() 152 dY = -aPaperSize.width; in SetupPrinterGraphics() 204 NSSize aPaperSize = [mpPrintInfo paperSize]; in SetPrinterData() local 205 double width = aPaperSize.width, height = aPaperSize.height; in SetPrinterData() 251 [mpPrintInfo setPaperSize: aPaperSize]; in setPaperSize() 420 NSSize aPaperSize = [mpPrintInfo paperSize]; in GetPageInfo() local 783 if( aPaperSize.width > 0 && aPaperSize.height > 0 ) in InitPaperFormats() 785 PaperInfo aInfo( PtTo10Mu( aPaperSize.width ), in InitPaperFormats() [all …]
|
H A D | aquaprintview.mm | 53 NSSize aPaperSize = [mpInfoPrinter->getPrintInfo() paperSize]; 54 int nWidth = (int)aPaperSize.width; 58 NSRect aRect = { NSMakePoint( page % nWidth, page / nWidth), aPaperSize }; 72 NSSize aPaperSize = [mpInfoPrinter->getPrintInfo() paperSize]; 73 int nPage = (int)(aPaperSize.width * rect.origin.y + rect.origin.x);
|
/trunk/main/padmin/source/ |
H A D | padialog.cxx | 428 Point aCenter( aPaperSize.Width()/2-300, in printPage() 429 aPaperSize.Height() - aPaperSize.Width()/2 ); in printPage() 430 Point aP1( aPaperSize.Width()/48, 0), aP2( aPaperSize.Width()/40, 0 ), aPoint; in printPage() 434 Size( aPaperSize.Width()-200, in printPage() 435 aPaperSize.Height()-200 ) ) ); in printPage() 437 Size( aPaperSize.Width()-400, in printPage() 438 aPaperSize.Height()-400 ) ) ); in printPage() 440 Size( aPaperSize.Width()-600, in printPage() 441 aPaperSize.Height()-600 ) ) ); in printPage() 479 Size( aPaperSize.Width() - 2000, in printPage() [all …]
|
/trunk/main/sw/source/ui/app/ |
H A D | appenv.cxx | 368 Size aPaperSize = pPrt->PixelToLogic( pPrt->GetPaperSizePixel(), in InsertEnv() local 370 if ( !aPaperSize.Width() && !aPaperSize.Height() ) in InsertEnv() 371 aPaperSize = SvxPaperInfo::GetPaperSize(PAPER_A4); in InsertEnv() 372 if ( aPaperSize.Width() > aPaperSize.Height() ) in InsertEnv() 373 Swap( aPaperSize ); in InsertEnv() 384 case ENV_HOR_CNTR: lLeft += Max(0L, long(aPaperSize.Width() - nPageW)) / 2; in InsertEnv() 386 case ENV_HOR_RGHT: lLeft += Max(0L, long(aPaperSize.Width() - nPageW)); in InsertEnv() 388 case ENV_VER_LEFT: lUpper += Max(0L, long(aPaperSize.Width() - nPageH)); in InsertEnv() 390 case ENV_VER_CNTR: lUpper += Max(0L, long(aPaperSize.Width() - nPageH)) / 2; in InsertEnv()
|
/trunk/main/cui/source/tabpages/ |
H A D | page.cxx | 376 Size aPaperSize = mpDefPrinter->GetPaperSize(); in SvxPageDescPage() local 570 Size aPaperSize = SvxPaperInfo::GetPaperSize( mpDefPrinter ); in Reset() local 574 aPaperSize = ( (const SvxSizeItem*)pItem )->GetSize(); in Reset() 585 aPaperSize.Width() > aPaperSize.Height() ) in Reset() 591 aBspWin.SetSize( Size( ConvertLong_Impl( aPaperSize.Width(), eUnit ), in Reset() 592 ConvertLong_Impl( aPaperSize.Height(), eUnit ) ) ); in Reset() 594 aPaperSize = OutputDevice::LogicToLogic(aPaperSize, (MapUnit)eUnit, MAP_100TH_MM); in Reset() 596 Swap( aPaperSize ); in Reset() 602 aPaperSize = SvxPaperInfo::GetPaperSize( ePaper, MAP_100TH_MM ); in Reset() 605 Swap( aPaperSize ); in Reset() [all …]
|
/trunk/main/sd/source/ui/view/ |
H A D | DocumentRenderer.cxx | 1456 const Size aPaperSize (rInfo.mpPrinter->GetPaperSize()); in SetupPaperOrientation() local 1458 (aPaperSize.Width() < aPaperSize.Height())) in SetupPaperOrientation() 1461 (aPaperSize.Width() > aPaperSize.Height())) in SetupPaperOrientation() 1464 maPrintSize = awt::Size(aPaperSize.Height(), aPaperSize.Width()); in SetupPaperOrientation() 1469 maPrintSize = awt::Size(aPaperSize.Width(), aPaperSize.Height()); in SetupPaperOrientation() 1728 maPrintSize.Width = aPaperSize.Height(); in PrepareOutline() 1729 maPrintSize.Height = aPaperSize.Width(); in PrepareOutline() 1890 (aPaperSize.Width() < aPaperSize.Height())) in PrepareHandout() 1893 (aPaperSize.Width() > aPaperSize.Height())) in PrepareHandout() 1896 maPrintSize = awt::Size(aPaperSize.Height(), aPaperSize.Width()); in PrepareHandout() [all …]
|
/trunk/main/editeng/source/items/ |
H A D | paperinf.cxx | 76 Size aPaperSize = pPrinter->GetPaperSize(); in GetPaperSize() local 79 if ( aPaperSize == aInvalidSize ) in GetPaperSize() 85 aPaperSize = in GetPaperSize() 86 pPrinter->PixelToLogic( aPaperSize, MapMode( MAP_TWIP ) ); in GetPaperSize() 87 return aPaperSize; in GetPaperSize()
|
/trunk/main/vcl/source/gdi/ |
H A D | print3.cxx | 193 return maMultiPage.aPaperSize; in getRealPaperSize() 451 aMPS.aPaperSize.Width() = aSizeVal.Width; in ImplPrintJob() 452 aMPS.aPaperSize.Height() = aSizeVal.Height; in ImplPrintJob() 787 Size aPaperSize( mpImplData->mpPrinter->PixelToLogic( in setupPrinter() local 1011 if( aPaperSize != aPageSize.aSize ) in getFilteredPageFile() 1019 o_rMtf.SetPrefSize( aPaperSize ); in getFilteredPageFile() 1020 aPageSize.aSize = aPaperSize; in getFilteredPageFile() 1030 Size aPaperSize( mpImplData->getRealPaperSize( mpImplData->maMultiPage.aPaperSize, false ) ); in getFilteredPageFile() local 1034 Size aMPArea( aPaperSize ); in getFilteredPageFile() 1048 o_rMtf.SetPrefSize( aPaperSize ); in getFilteredPageFile() [all …]
|
H A D | oldprintadaptor.cxx | 65 …Size aPaperSize( getPrinter()->PixelToLogic( getPrinter()->GetPaperSizePixel(), MapMode( MAP_100TH… in StartPage() local 67 mpData->maPages.back().maPageSize.Width = aPaperSize.getWidth(); in StartPage() 68 mpData->maPages.back().maPageSize.Height = aPaperSize.getHeight(); in StartPage()
|
/trunk/main/sc/source/ui/view/ |
H A D | output2.cxx | 2341 Size aPaperSize = Size( 1000000, 1000000 ); in DrawEdit() local 2384 pEngine->SetPaperSize(aPaperSize); in DrawEdit() 2635 aPaperSize.Width() = nNeededPixel + 1; in DrawEdit() 2639 pEngine->SetPaperSize(aPaperSize); in DrawEdit() 3227 Size aPaperSize = Size( 1000000, 1000000 ); in DrawRotated() local 3229 aPaperSize.Width() = nOutWidth; // zum Zentrieren in DrawRotated() 3241 aPaperSize.Width() = nOutWidth; in DrawRotated() 3243 aPaperSize.Width() = nOutHeight - 1; in DrawRotated() 3329 aPaperSize.Width() = nNewWidth; in DrawRotated() 3530 aPaperSize.Width() = nOutWidth; in DrawRotated() [all …]
|
H A D | printfun.cxx | 1770 Size aPaperSize( nLineWidth, rParam.nHeight-rParam.nDistance ); in PrintHF() local 1777 …aPaperSize.Width() -= nLeft + lcl_LineTotal( rParam.pBorder->GetRight() ) + rParam.pBorder->GetDis… in PrintHF() 1778 …aPaperSize.Height() -= nTop + lcl_LineTotal( rParam.pBorder->GetBottom() ) + rParam.pBorder->GetDi… in PrintHF() 1787 aPaperSize.Width() -= nLeft + rParam.pShadow->CalcShadowSpace(SHADOW_RIGHT); in PrintHF() 1788 aPaperSize.Height() -= nTop + rParam.pShadow->CalcShadowSpace(SHADOW_BOTTOM); in PrintHF() 1794 pEditEngine->SetPaperSize(aPaperSize); in PrintHF() 1837 pDev->SetClipRegion( Rectangle( aStart, aPaperSize ) ); in PrintHF() 1847 long nDif = aPaperSize.Height() - (long) pEditEngine->GetTextHeight(); in PrintHF() 1861 long nDif = aPaperSize.Height() - (long) pEditEngine->GetTextHeight(); in PrintHF() 1875 long nDif = aPaperSize.Height() - (long) pEditEngine->GetTextHeight(); in PrintHF()
|
H A D | gridwin.cxx | 5032 Size aPaperSize = Size( 1000000, 1000000 ); in GetEditUrlOrError() local 5038 aPaperSize = Size(nSizeX, nSizeY ); in GetEditUrlOrError() 5039 aPaperSize = PixelToLogic(aPaperSize); in GetEditUrlOrError() 5043 aPaperSize.Width() = nThisColLogic; in GetEditUrlOrError() 5044 aEngine.SetPaperSize( aPaperSize ); in GetEditUrlOrError()
|
H A D | viewdata.cxx | 1065 …Size aPaperSize = pView->GetActiveWin()->PixelToLogic( Size( nSizeXPix, nSizeYPix ), GetLogicMode(… in SetEditEngine() local 1074 aPaperSize.Width() = aUtilRect.GetWidth(); in SetEditEngine() 1076 pNewEngine->SetPaperSize( aPaperSize ); in SetEditEngine()
|
/trunk/main/sw/source/ui/sidebar/ |
H A D | PageSizeControl.cxx | 102 Size aPaperSize = SvxPaperInfo::GetPaperSize( maPaperList[ nPaperIdx ] ); in PageSizeControl() local 105 Swap( aPaperSize ); in PageSizeControl() 107 maWidthHeightField.SetValue( maWidthHeightField.Normalize( aPaperSize.Width() ), FUNIT_TWIP ); in PageSizeControl() 114 maWidthHeightField.SetValue( maWidthHeightField.Normalize( aPaperSize.Height() ), FUNIT_TWIP); in PageSizeControl()
|
/trunk/main/sc/source/ui/app/ |
H A D | transobj.cxx | 666 Size aPaperSize = SvxPaperInfo::GetPaperSize( PAPER_A4 ); // Twips in InitDocShell() local 673 aPaperSize = ((const SvxSizeItem&) rSourceSet.Get(ATTR_PAGE_SIZE)).GetSize(); in InitDocShell() 700 aPaperSize.Width() *= 2; // limit OLE object to double of page size in InitDocShell() 701 aPaperSize.Height() *= 2; in InitDocShell() 708 if ( bLimitToPageSize && nSizeX+nAdd > aPaperSize.Width() && nSizeX ) // above limit? in InitDocShell() 715 if ( bLimitToPageSize && nSizeY+nAdd > aPaperSize.Height() && nSizeY ) // above limit? in InitDocShell()
|
/trunk/main/editeng/source/editeng/ |
H A D | impedit3.cxx | 433 long nWidth = Max( (long)1, ( !IsVertical() ? aPaperSize.Width() : aPaperSize.Height() ) ); in FormatDoc() 466 aInvalidRec.Right() = !IsVertical() ? aPaperSize.Width() : aPaperSize.Height(); in FormatDoc() 540 SetValidPaperSize( aPaperSize ); //Min, Max beruecksichtigen in CheckAutoPageSize() 542 if ( aPaperSize != aPrevPaperSize ) in CheckAutoPageSize() 565 Size aInvSize = aPaperSize; in CheckAutoPageSize() 566 if ( aPaperSize.Width() < aPrevPaperSize.Width() ) in CheckAutoPageSize() 568 if ( aPaperSize.Height() < aPrevPaperSize.Height() ) in CheckAutoPageSize() 801 …nMaxLineWidth = ( !IsVertical() ? aPaperSize.Width() : aPaperSize.Height() ) - GetXValue( rLRItem.… in CreateLines() 1382 long nMaxLineWidthFix = ( !IsVertical() ? aPaperSize.Width() : aPaperSize.Height() ) in CreateLines() 1653 long nMaxLineWidth = !IsVertical() ? aPaperSize.Width() : aPaperSize.Height(); in CreateAndInsertEmptyLine() [all …]
|
H A D | impedit2.cxx | 102 aPaperSize( 0x7FFFFFFF, 0x7FFFFFFF ), in ImpEditEngine() 777 Size( aPaperSize.Width(), nCurTextHeight ) ); in SetText() 4492 aPaperSize = rNewSz; in SetValidPaperSize() 4500 if ( aPaperSize.Width() < nMinWidth ) in SetValidPaperSize() 4501 aPaperSize.Width() = nMinWidth; in SetValidPaperSize() 4502 else if ( aPaperSize.Width() > nMaxWidth ) in SetValidPaperSize() 4503 aPaperSize.Width() = nMaxWidth; in SetValidPaperSize() 4506 if ( aPaperSize.Height() < nMinHeight ) in SetValidPaperSize() 4507 aPaperSize.Height() = nMinHeight; in SetValidPaperSize() 4508 else if ( aPaperSize.Height() > nMaxHeight ) in SetValidPaperSize() [all …]
|
H A D | impedit.hxx | 412 Size aPaperSize; // Layout member in ImpEditEngine 724 const Size& GetPaperSize() const { return aPaperSize; } in GetPaperSize() 725 void SetPaperSize( const Size& rSz ) { aPaperSize = rSz; } in SetPaperSize()
|
/trunk/main/forms/source/richtext/ |
H A D | richtextimplcontrol.cxx | 504 Size aPaperSize( m_pEngine->GetPaperSize() ); in updateScrollbars() local 505 …long nOverallTextWidth = ( aPaperSize.Width() == EMPTY_PAPER_SIZE ) ? m_pEngine->CalcTextWidth() :… in updateScrollbars()
|
/trunk/main/svx/source/tbxctrls/ |
H A D | fontworkgallery.cxx | 203 Size aPaperSize = rOutl.GetPaperSize(); in changeText() local 223 rOutl.SetPaperSize( aPaperSize ); in changeText()
|
/trunk/main/vcl/inc/vcl/ |
H A D | print.hxx | 410 Size aPaperSize; member 421 : nRows( 1 ), nColumns( 1 ), nRepeat( 1 ), aPaperSize( 21000, 29700 ) in MultiPageSetup()
|
/trunk/main/vcl/source/window/ |
H A D | printdlg.cxx | 2114 aMPS.aPaperSize = maNupLandscapeSize; in updateNup() 2116 aMPS.aPaperSize = maNupPortraitSize; in updateNup() 2125 aMPS.aPaperSize = maNupLandscapeSize; in updateNup() 2127 aMPS.aPaperSize = maNupPortraitSize; in updateNup()
|
/trunk/main/sc/source/filter/excel/ |
H A D | xiescher.cxx | 1778 Size aPaperSize = rPageData.GetScPaperSize(); in FinalizeTabChart() local 1780 long nWidth = XclTools::GetHmmFromTwips( aPaperSize.Width() ); in FinalizeTabChart() 1781 long nHeight = XclTools::GetHmmFromTwips( aPaperSize.Height() ); in FinalizeTabChart()
|
/trunk/main/sd/source/core/ |
H A D | sdpage.cxx | 2400 Size aPaperSize = pOutl->GetPaperSize(); in SetObjText() local 2515 pOutl->SetPaperSize( aPaperSize ); in SetObjText()
|