bug 37037, 37490, and a table paganation problem when captions are present.

git-svn-id: svn://10.0.0.236/trunk@68283 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
karnaze%netscape.com
2000-05-04 23:16:42 +00:00
parent 2702bf5ff6
commit a84a1ee61a
11 changed files with 196 additions and 76 deletions

View File

@@ -490,7 +490,11 @@ DocumentViewerImpl::Init(nsIWidget* aParentWidget,
PRBool makeCX = PR_FALSE;
if (!mPresContext) {
// Create presentation context
#if 1
rv = NS_NewGalleyContext(getter_AddRefs(mPresContext));
#else // turn on print preview for debugging until print preview is fixed
rv = NS_NewPrintPreviewContext(getter_AddRefs(mPresContext));
#endif
if (NS_FAILED(rv)) return rv;
mPresContext->Init(aDeviceContext);