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:
parent
8666c54109
commit
8f333fd8a8
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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))
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user