m_printAllPages = FALSE;
m_printCollate = FALSE;
m_printToFile = FALSE;
+ m_printSelection = FALSE;
m_printEnableSelection = FALSE;
m_printEnablePageNumbers = TRUE;
m_printEnablePrintToFile = TRUE;
m_printAllPages = FALSE;
m_printCollate = FALSE;
m_printToFile = FALSE;
+ m_printSelection = FALSE;
m_printEnableSelection = FALSE;
m_printEnablePageNumbers = TRUE;
m_printEnablePrintToFile = TRUE;
if ( m_printAllPages )
pd->Flags |= PD_ALLPAGES;
+ if ( m_printAllPages )
+ pd->Flags |= PD_SELECTION;
if ( m_printCollate )
pd->Flags |= PD_COLLATE;
if ( m_printToFile )
m_printNoCopies = pd->nCopies ;
m_printAllPages = ((pd->Flags & PD_ALLPAGES) == PD_ALLPAGES);
+ m_printSelection = ((pd->Flags & PD_SELECTION) == PD_SELECTION);
m_printCollate = ((pd->Flags & PD_COLLATE) == PD_COLLATE);
m_printToFile = ((pd->Flags & PD_PRINTTOFILE) == PD_PRINTTOFILE);
m_printEnablePrintToFile = ((pd->Flags & PD_DISABLEPRINTTOFILE) != PD_DISABLEPRINTTOFILE);
m_printAllPages = data.m_printAllPages;
m_printCollate = data.m_printCollate;
m_printToFile = data.m_printToFile;
+ m_printSelection = data.m_printSelection;
m_printEnableSelection = data.m_printEnableSelection;
m_printEnablePageNumbers = data.m_printEnablePageNumbers;
m_printEnableHelp = data.m_printEnableHelp;
pd->hDevMode = NULL;
}
-
pd->hDevMode = (HGLOBAL) m_printData.GetNativeData();
m_printData.SetNativeData((void*) NULL);