*** ap_EditMethods.cpp.orig Fri Mar 30 03:06:47 2001 --- ap_EditMethods.cpp Thu May 3 23:49:32 2001 *************** *** 4112,4125 **** UT_uint32 nToPage, UT_uint32 nFromPage) { UT_uint32 j,k; dg_DrawArgs da; memset(&da, 0, sizeof(da)); da.pG = NULL; fp_PageSize ps = pPrintView->getPageSize(); ! pGraphics->setPortrait (ps.isPortrait ()); if(pGraphics->startPrint()) { --- 4112,4128 ---- UT_uint32 nToPage, UT_uint32 nFromPage) { UT_uint32 j,k; + bool orient; dg_DrawArgs da; memset(&da, 0, sizeof(da)); da.pG = NULL; + fp_PageSize ps = pPrintView->getPageSize(); ! orient = ps.isPortrait (); ! pGraphics->setPortrait (orient); if(pGraphics->startPrint()) { *************** *** 4132,4138 **** // pGraphics->m_iRasterPosition when // iHeight is allowed to vary page to page pGraphics->m_iRasterPosition = (k-1)*iHeight; ! pGraphics->startPage(pDocName, k, true, iWidth, iHeight); pPrintView->draw(k-1, &da); } } --- 4135,4141 ---- // pGraphics->m_iRasterPosition when // iHeight is allowed to vary page to page pGraphics->m_iRasterPosition = (k-1)*iHeight; ! pGraphics->startPage(pDocName, k, orient, iWidth, iHeight); pPrintView->draw(k-1, &da); } } *************** *** 4145,4151 **** // pGraphics->m_iRasterPosition when // iHeight is allowed to vary page to page pGraphics->m_iRasterPosition = (k-1)*iHeight; ! pGraphics->startPage(pDocName, k, true, iWidth, iHeight); pPrintView->draw(k-1, &da); } } --- 4148,4154 ---- // pGraphics->m_iRasterPosition when // iHeight is allowed to vary page to page pGraphics->m_iRasterPosition = (k-1)*iHeight; ! pGraphics->startPage(pDocName, k, orient, iWidth, iHeight); pPrintView->draw(k-1, &da); } }