bug 76059, fixes A4 printing regression. Patch by atontti@cc.hut.fi.

r=kmcclusk@netscape.com sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@92695 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bbaetz%cs.mcgill.ca 2001-04-18 22:11:55 +00:00
parent 8666c54109
commit 8f333fd8a8
7 changed files with 8 additions and 3 deletions

View File

@ -71,8 +71,8 @@ interface nsIPrintOptions : nsISupports
const short kLetterPaperSize = 0;
const short kLegalPaperSize = 1;
const short kExecutivePaperSize = 2;
const short kA3PaperSize = 3;
const short kA4PaperSize = 4;
const short kA4PaperSize = 3;
const short kA3PaperSize = 4;
/**
* Print Frame Constants

View File

@ -74,6 +74,7 @@ interface nsIPrintSettings : nsISupports
const short kLegalPaperSize = 1;
const short kExecutivePaperSize = 2;
const short kA4PaperSize = 3;
const short kA3PaperSize = 4;
/**
* Print Frame Constants

View File

@ -37,6 +37,7 @@ PR_BEGIN_EXTERN_C
#define NS_LEGAL_SIZE 1
#define NS_EXECUTIVE_SIZE 2
#define NS_A4_SIZE 3
#define NS_A3_SIZE 4
#endif
#ifndef PATH_MAX

View File

@ -37,6 +37,7 @@ PR_BEGIN_EXTERN_C
#define NS_LEGAL_SIZE 1
#define NS_EXECUTIVE_SIZE 2
#define NS_A4_SIZE 3
#define NS_A3_SIZE 4
#endif
#ifndef PATH_MAX

View File

@ -72,7 +72,7 @@ static NS_DEFINE_IID(kICharsetConverterManagerIID, NS_ICHARSETCONVERTERMANAGER_I
/*
* Paper Names
*/
char* paper_string[]={ "Letter", "Legal", "Executive", "A4" };
char* paper_string[]={ "Letter", "Legal", "Executive", "A4", "A3" };
/*
* global

View File

@ -47,6 +47,7 @@ class nsIImage;
#define NS_LEGAL_SIZE 1
#define NS_EXECUTIVE_SIZE 2
#define NS_A4_SIZE 3
#define NS_A3_SIZE 4
#define N_FONTS 8
#define INCH_TO_PAGE(f) ((int) (.5 + (f)*720))

View File

@ -33,6 +33,7 @@ PR_BEGIN_EXTERN_C
#define NS_LEGAL_SIZE 1
#define NS_EXECUTIVE_SIZE 2
#define NS_A4_SIZE 3
#define NS_A3_SIZE 4
#endif
#ifndef PATH_MAX