C# Class Skybound.Gecko.PrintSettings

Inheritance: nsIPrintSettings
显示文件 Open project: tophatmonocle/DirtyGecko

Public Methods

Method Description
Assign ( nsIPrintSettings aPS ) : void
Clone ( ) : nsIPrintSettings
GetColorspaceAttribute ( ) : string
GetDocURLAttribute ( ) : string
GetDownloadFontsAttribute ( ) : bool
GetEdgeBottomAttribute ( ) : double
GetEdgeInTwips ( IntPtr aEdge ) : void
GetEdgeLeftAttribute ( ) : double
GetEdgeRightAttribute ( ) : double
GetEdgeTopAttribute ( ) : double
GetEffectivePageSize ( double &aWidth, double &aHeight ) : void
GetEndPageRangeAttribute ( ) : int
GetFooterStrCenterAttribute ( ) : string
GetFooterStrLeftAttribute ( ) : string
GetFooterStrRightAttribute ( ) : string
GetHeaderStrCenterAttribute ( ) : string
GetHeaderStrLeftAttribute ( ) : string
GetHeaderStrRightAttribute ( ) : string
GetHowToEnableFrameUIAttribute ( ) : short
GetIsCancelledAttribute ( ) : bool
GetIsInitializedFromPrefsAttribute ( ) : bool
GetIsInitializedFromPrinterAttribute ( ) : bool
GetMarginBottomAttribute ( ) : double
GetMarginInTwips ( IntPtr aMargin ) : void
GetMarginLeftAttribute ( ) : double
GetMarginRightAttribute ( ) : double
GetMarginTopAttribute ( ) : double
GetNumCopiesAttribute ( ) : int
GetOrientationAttribute ( ) : int
GetOutputFormatAttribute ( ) : short
GetPaperDataAttribute ( ) : short
GetPaperHeightAttribute ( ) : double
GetPaperNameAttribute ( ) : string
GetPaperSizeTypeAttribute ( ) : short
GetPaperSizeUnitAttribute ( ) : short
GetPaperWidthAttribute ( ) : double
GetPlexNameAttribute ( ) : string
GetPrintBGColorsAttribute ( ) : bool
GetPrintBGImagesAttribute ( ) : bool
GetPrintCommandAttribute ( ) : string
GetPrintFrameTypeAttribute ( ) : short
GetPrintFrameTypeUsageAttribute ( ) : short
GetPrintInColorAttribute ( ) : bool
GetPrintOptions ( int aType ) : bool
GetPrintOptionsBits ( ) : int
GetPrintPageDelayAttribute ( ) : int
GetPrintRangeAttribute ( ) : short
GetPrintReversedAttribute ( ) : bool
GetPrintSessionAttribute ( ) : nsIPrintSession
GetPrintSilentAttribute ( ) : bool
GetPrintToFileAttribute ( ) : bool
GetPrinterNameAttribute ( ) : string
GetResolutionNameAttribute ( ) : string
GetScalingAttribute ( ) : double
GetShowPrintProgressAttribute ( ) : bool
GetShrinkToFitAttribute ( ) : bool
GetStartPageRangeAttribute ( ) : int
GetTitleAttribute ( ) : string
GetToFileNameAttribute ( ) : string
GetUnwriteableMarginBottomAttribute ( ) : double
GetUnwriteableMarginInTwips ( IntPtr aEdge ) : void
GetUnwriteableMarginLeftAttribute ( ) : double
GetUnwriteableMarginRightAttribute ( ) : double
GetUnwriteableMarginTopAttribute ( ) : double
SetColorspaceAttribute ( string aColorspace ) : void
SetDocURLAttribute ( string aDocURL ) : void
SetDownloadFontsAttribute ( bool aDownloadFonts ) : void
SetEdgeBottomAttribute ( double aEdgeBottom ) : void
SetEdgeInTwips ( IntPtr aEdge ) : void
SetEdgeLeftAttribute ( double aEdgeLeft ) : void
SetEdgeRightAttribute ( double aEdgeRight ) : void
SetEdgeTopAttribute ( double aEdgeTop ) : void
SetEffectivePageSize ( double aWidth, double aHeight ) : void
SetEndPageRangeAttribute ( int aEndPageRange ) : void
SetFooterStrCenterAttribute ( string aFooterStrCenter ) : void
SetFooterStrLeftAttribute ( string aFooterStrLeft ) : void
SetFooterStrRightAttribute ( string aFooterStrRight ) : void
SetHeaderStrCenterAttribute ( string aHeaderStrCenter ) : void
SetHeaderStrLeftAttribute ( string aHeaderStrLeft ) : void
SetHeaderStrRightAttribute ( string aHeaderStrRight ) : void
SetHowToEnableFrameUIAttribute ( short aHowToEnableFrameUI ) : void
SetIsCancelledAttribute ( bool aIsCancelled ) : void
SetIsInitializedFromPrefsAttribute ( bool aIsInitializedFromPrefs ) : void
SetIsInitializedFromPrinterAttribute ( bool aIsInitializedFromPrinter ) : void
SetMarginBottomAttribute ( double aMarginBottom ) : void
SetMarginInTwips ( IntPtr aMargin ) : void
SetMarginLeftAttribute ( double aMarginLeft ) : void
SetMarginRightAttribute ( double aMarginRight ) : void
SetMarginTopAttribute ( double aMarginTop ) : void
SetNumCopiesAttribute ( int aNumCopies ) : void
SetOrientationAttribute ( int aOrientation ) : void
SetOutputFormatAttribute ( short aOutputFormat ) : void
SetPaperDataAttribute ( short aPaperData ) : void
SetPaperHeightAttribute ( double aPaperHeight ) : void
SetPaperNameAttribute ( string aPaperName ) : void
SetPaperSizeTypeAttribute ( short aPaperSizeType ) : void
SetPaperSizeUnitAttribute ( short aPaperSizeUnit ) : void
SetPaperWidthAttribute ( double aPaperWidth ) : void
SetPlexNameAttribute ( string aPlexName ) : void
SetPrintBGColorsAttribute ( bool aPrintBGColors ) : void
SetPrintBGImagesAttribute ( bool aPrintBGImages ) : void
SetPrintCommandAttribute ( string aPrintCommand ) : void
SetPrintFrameTypeAttribute ( short aPrintFrameType ) : void
SetPrintFrameTypeUsageAttribute ( short aPrintFrameTypeUsage ) : void
SetPrintInColorAttribute ( bool aPrintInColor ) : void
SetPrintOptions ( int aType, bool aTurnOnOff ) : void
SetPrintOptionsBits ( int printOptionsBits ) : void
SetPrintPageDelayAttribute ( int aPrintPageDelay ) : void
SetPrintRangeAttribute ( short aPrintRange ) : void
SetPrintReversedAttribute ( bool aPrintReversed ) : void
SetPrintSessionAttribute ( nsIPrintSession aPrintSession ) : void
SetPrintSilentAttribute ( bool aPrintSilent ) : void
SetPrintToFileAttribute ( bool aPrintToFile ) : void
SetPrinterNameAttribute ( string aPrinterName ) : void
SetResolutionNameAttribute ( string aResolutionName ) : void
SetScalingAttribute ( double aScaling ) : void
SetShowPrintProgressAttribute ( bool aShowPrintProgress ) : void
SetShrinkToFitAttribute ( bool aShrinkToFit ) : void
SetStartPageRangeAttribute ( int aStartPageRange ) : void
SetTitleAttribute ( string aTitle ) : void
SetToFileNameAttribute ( string aToFileName ) : void
SetUnwriteableMarginBottomAttribute ( double aUnwriteableMarginBottom ) : void
SetUnwriteableMarginInTwips ( IntPtr aEdge ) : void
SetUnwriteableMarginLeftAttribute ( double aUnwriteableMarginLeft ) : void
SetUnwriteableMarginRightAttribute ( double aUnwriteableMarginRight ) : void
SetUnwriteableMarginTopAttribute ( double aUnwriteableMarginTop ) : void
SetupSilentPrinting ( ) : void

Method Details

Assign() public method

public Assign ( nsIPrintSettings aPS ) : void
aPS nsIPrintSettings
return void

Clone() public method

public Clone ( ) : nsIPrintSettings
return nsIPrintSettings

GetColorspaceAttribute() public method

public GetColorspaceAttribute ( ) : string
return string

GetDocURLAttribute() public method

public GetDocURLAttribute ( ) : string
return string

GetDownloadFontsAttribute() public method

public GetDownloadFontsAttribute ( ) : bool
return bool

GetEdgeBottomAttribute() public method

public GetEdgeBottomAttribute ( ) : double
return double

GetEdgeInTwips() public method

public GetEdgeInTwips ( IntPtr aEdge ) : void
aEdge System.IntPtr
return void

GetEdgeLeftAttribute() public method

public GetEdgeLeftAttribute ( ) : double
return double

GetEdgeRightAttribute() public method

public GetEdgeRightAttribute ( ) : double
return double

GetEdgeTopAttribute() public method

public GetEdgeTopAttribute ( ) : double
return double

GetEffectivePageSize() public method

public GetEffectivePageSize ( double &aWidth, double &aHeight ) : void
aWidth double
aHeight double
return void

GetEndPageRangeAttribute() public method

public GetEndPageRangeAttribute ( ) : int
return int

GetFooterStrCenterAttribute() public method

public GetFooterStrCenterAttribute ( ) : string
return string

GetFooterStrLeftAttribute() public method

public GetFooterStrLeftAttribute ( ) : string
return string

GetFooterStrRightAttribute() public method

public GetFooterStrRightAttribute ( ) : string
return string

GetHeaderStrCenterAttribute() public method

public GetHeaderStrCenterAttribute ( ) : string
return string

GetHeaderStrLeftAttribute() public method

public GetHeaderStrLeftAttribute ( ) : string
return string

GetHeaderStrRightAttribute() public method

public GetHeaderStrRightAttribute ( ) : string
return string

GetHowToEnableFrameUIAttribute() public method

public GetHowToEnableFrameUIAttribute ( ) : short
return short

GetIsCancelledAttribute() public method

public GetIsCancelledAttribute ( ) : bool
return bool

GetIsInitializedFromPrefsAttribute() public method

public GetIsInitializedFromPrefsAttribute ( ) : bool
return bool

GetIsInitializedFromPrinterAttribute() public method

public GetIsInitializedFromPrinterAttribute ( ) : bool
return bool

GetMarginBottomAttribute() public method

public GetMarginBottomAttribute ( ) : double
return double

GetMarginInTwips() public method

public GetMarginInTwips ( IntPtr aMargin ) : void
aMargin System.IntPtr
return void

GetMarginLeftAttribute() public method

public GetMarginLeftAttribute ( ) : double
return double

GetMarginRightAttribute() public method

public GetMarginRightAttribute ( ) : double
return double

GetMarginTopAttribute() public method

public GetMarginTopAttribute ( ) : double
return double

GetNumCopiesAttribute() public method

public GetNumCopiesAttribute ( ) : int
return int

GetOrientationAttribute() public method

public GetOrientationAttribute ( ) : int
return int

GetOutputFormatAttribute() public method

public GetOutputFormatAttribute ( ) : short
return short

GetPaperDataAttribute() public method

public GetPaperDataAttribute ( ) : short
return short

GetPaperHeightAttribute() public method

public GetPaperHeightAttribute ( ) : double
return double

GetPaperNameAttribute() public method

public GetPaperNameAttribute ( ) : string
return string

GetPaperSizeTypeAttribute() public method

public GetPaperSizeTypeAttribute ( ) : short
return short

GetPaperSizeUnitAttribute() public method

public GetPaperSizeUnitAttribute ( ) : short
return short

GetPaperWidthAttribute() public method

public GetPaperWidthAttribute ( ) : double
return double

GetPlexNameAttribute() public method

public GetPlexNameAttribute ( ) : string
return string

GetPrintBGColorsAttribute() public method

public GetPrintBGColorsAttribute ( ) : bool
return bool

GetPrintBGImagesAttribute() public method

public GetPrintBGImagesAttribute ( ) : bool
return bool

GetPrintCommandAttribute() public method

public GetPrintCommandAttribute ( ) : string
return string

GetPrintFrameTypeAttribute() public method

public GetPrintFrameTypeAttribute ( ) : short
return short

GetPrintFrameTypeUsageAttribute() public method

public GetPrintFrameTypeUsageAttribute ( ) : short
return short

GetPrintInColorAttribute() public method

public GetPrintInColorAttribute ( ) : bool
return bool

GetPrintOptions() public method

public GetPrintOptions ( int aType ) : bool
aType int
return bool

GetPrintOptionsBits() public method

public GetPrintOptionsBits ( ) : int
return int

GetPrintPageDelayAttribute() public method

public GetPrintPageDelayAttribute ( ) : int
return int

GetPrintRangeAttribute() public method

public GetPrintRangeAttribute ( ) : short
return short

GetPrintReversedAttribute() public method

public GetPrintReversedAttribute ( ) : bool
return bool

GetPrintSessionAttribute() public method

public GetPrintSessionAttribute ( ) : nsIPrintSession
return nsIPrintSession

GetPrintSilentAttribute() public method

public GetPrintSilentAttribute ( ) : bool
return bool

GetPrintToFileAttribute() public method

public GetPrintToFileAttribute ( ) : bool
return bool

GetPrinterNameAttribute() public method

public GetPrinterNameAttribute ( ) : string
return string

GetResolutionNameAttribute() public method

public GetResolutionNameAttribute ( ) : string
return string

GetScalingAttribute() public method

public GetScalingAttribute ( ) : double
return double

GetShowPrintProgressAttribute() public method

public GetShowPrintProgressAttribute ( ) : bool
return bool

GetShrinkToFitAttribute() public method

public GetShrinkToFitAttribute ( ) : bool
return bool

GetStartPageRangeAttribute() public method

public GetStartPageRangeAttribute ( ) : int
return int

GetTitleAttribute() public method

public GetTitleAttribute ( ) : string
return string

GetToFileNameAttribute() public method

public GetToFileNameAttribute ( ) : string
return string

GetUnwriteableMarginBottomAttribute() public method

public GetUnwriteableMarginBottomAttribute ( ) : double
return double

GetUnwriteableMarginInTwips() public method

public GetUnwriteableMarginInTwips ( IntPtr aEdge ) : void
aEdge System.IntPtr
return void

GetUnwriteableMarginLeftAttribute() public method

public GetUnwriteableMarginLeftAttribute ( ) : double
return double

GetUnwriteableMarginRightAttribute() public method

public GetUnwriteableMarginRightAttribute ( ) : double
return double

GetUnwriteableMarginTopAttribute() public method

public GetUnwriteableMarginTopAttribute ( ) : double
return double

SetColorspaceAttribute() public method

public SetColorspaceAttribute ( string aColorspace ) : void
aColorspace string
return void

SetDocURLAttribute() public method

public SetDocURLAttribute ( string aDocURL ) : void
aDocURL string
return void

SetDownloadFontsAttribute() public method

public SetDownloadFontsAttribute ( bool aDownloadFonts ) : void
aDownloadFonts bool
return void

SetEdgeBottomAttribute() public method

public SetEdgeBottomAttribute ( double aEdgeBottom ) : void
aEdgeBottom double
return void

SetEdgeInTwips() public method

public SetEdgeInTwips ( IntPtr aEdge ) : void
aEdge System.IntPtr
return void

SetEdgeLeftAttribute() public method

public SetEdgeLeftAttribute ( double aEdgeLeft ) : void
aEdgeLeft double
return void

SetEdgeRightAttribute() public method

public SetEdgeRightAttribute ( double aEdgeRight ) : void
aEdgeRight double
return void

SetEdgeTopAttribute() public method

public SetEdgeTopAttribute ( double aEdgeTop ) : void
aEdgeTop double
return void

SetEffectivePageSize() public method

public SetEffectivePageSize ( double aWidth, double aHeight ) : void
aWidth double
aHeight double
return void

SetEndPageRangeAttribute() public method

public SetEndPageRangeAttribute ( int aEndPageRange ) : void
aEndPageRange int
return void

SetFooterStrCenterAttribute() public method

public SetFooterStrCenterAttribute ( string aFooterStrCenter ) : void
aFooterStrCenter string
return void

SetFooterStrLeftAttribute() public method

public SetFooterStrLeftAttribute ( string aFooterStrLeft ) : void
aFooterStrLeft string
return void

SetFooterStrRightAttribute() public method

public SetFooterStrRightAttribute ( string aFooterStrRight ) : void
aFooterStrRight string
return void

SetHeaderStrCenterAttribute() public method

public SetHeaderStrCenterAttribute ( string aHeaderStrCenter ) : void
aHeaderStrCenter string
return void

SetHeaderStrLeftAttribute() public method

public SetHeaderStrLeftAttribute ( string aHeaderStrLeft ) : void
aHeaderStrLeft string
return void

SetHeaderStrRightAttribute() public method

public SetHeaderStrRightAttribute ( string aHeaderStrRight ) : void
aHeaderStrRight string
return void

SetHowToEnableFrameUIAttribute() public method

public SetHowToEnableFrameUIAttribute ( short aHowToEnableFrameUI ) : void
aHowToEnableFrameUI short
return void

SetIsCancelledAttribute() public method

public SetIsCancelledAttribute ( bool aIsCancelled ) : void
aIsCancelled bool
return void

SetIsInitializedFromPrefsAttribute() public method

public SetIsInitializedFromPrefsAttribute ( bool aIsInitializedFromPrefs ) : void
aIsInitializedFromPrefs bool
return void

SetIsInitializedFromPrinterAttribute() public method

public SetIsInitializedFromPrinterAttribute ( bool aIsInitializedFromPrinter ) : void
aIsInitializedFromPrinter bool
return void

SetMarginBottomAttribute() public method

public SetMarginBottomAttribute ( double aMarginBottom ) : void
aMarginBottom double
return void

SetMarginInTwips() public method

public SetMarginInTwips ( IntPtr aMargin ) : void
aMargin System.IntPtr
return void

SetMarginLeftAttribute() public method

public SetMarginLeftAttribute ( double aMarginLeft ) : void
aMarginLeft double
return void

SetMarginRightAttribute() public method

public SetMarginRightAttribute ( double aMarginRight ) : void
aMarginRight double
return void

SetMarginTopAttribute() public method

public SetMarginTopAttribute ( double aMarginTop ) : void
aMarginTop double
return void

SetNumCopiesAttribute() public method

public SetNumCopiesAttribute ( int aNumCopies ) : void
aNumCopies int
return void

SetOrientationAttribute() public method

public SetOrientationAttribute ( int aOrientation ) : void
aOrientation int
return void

SetOutputFormatAttribute() public method

public SetOutputFormatAttribute ( short aOutputFormat ) : void
aOutputFormat short
return void

SetPaperDataAttribute() public method

public SetPaperDataAttribute ( short aPaperData ) : void
aPaperData short
return void

SetPaperHeightAttribute() public method

public SetPaperHeightAttribute ( double aPaperHeight ) : void
aPaperHeight double
return void

SetPaperNameAttribute() public method

public SetPaperNameAttribute ( string aPaperName ) : void
aPaperName string
return void

SetPaperSizeTypeAttribute() public method

public SetPaperSizeTypeAttribute ( short aPaperSizeType ) : void
aPaperSizeType short
return void

SetPaperSizeUnitAttribute() public method

public SetPaperSizeUnitAttribute ( short aPaperSizeUnit ) : void
aPaperSizeUnit short
return void

SetPaperWidthAttribute() public method

public SetPaperWidthAttribute ( double aPaperWidth ) : void
aPaperWidth double
return void

SetPlexNameAttribute() public method

public SetPlexNameAttribute ( string aPlexName ) : void
aPlexName string
return void

SetPrintBGColorsAttribute() public method

public SetPrintBGColorsAttribute ( bool aPrintBGColors ) : void
aPrintBGColors bool
return void

SetPrintBGImagesAttribute() public method

public SetPrintBGImagesAttribute ( bool aPrintBGImages ) : void
aPrintBGImages bool
return void

SetPrintCommandAttribute() public method

public SetPrintCommandAttribute ( string aPrintCommand ) : void
aPrintCommand string
return void

SetPrintFrameTypeAttribute() public method

public SetPrintFrameTypeAttribute ( short aPrintFrameType ) : void
aPrintFrameType short
return void

SetPrintFrameTypeUsageAttribute() public method

public SetPrintFrameTypeUsageAttribute ( short aPrintFrameTypeUsage ) : void
aPrintFrameTypeUsage short
return void

SetPrintInColorAttribute() public method

public SetPrintInColorAttribute ( bool aPrintInColor ) : void
aPrintInColor bool
return void

SetPrintOptions() public method

public SetPrintOptions ( int aType, bool aTurnOnOff ) : void
aType int
aTurnOnOff bool
return void

SetPrintOptionsBits() public method

public SetPrintOptionsBits ( int printOptionsBits ) : void
printOptionsBits int
return void

SetPrintPageDelayAttribute() public method

public SetPrintPageDelayAttribute ( int aPrintPageDelay ) : void
aPrintPageDelay int
return void

SetPrintRangeAttribute() public method

public SetPrintRangeAttribute ( short aPrintRange ) : void
aPrintRange short
return void

SetPrintReversedAttribute() public method

public SetPrintReversedAttribute ( bool aPrintReversed ) : void
aPrintReversed bool
return void

SetPrintSessionAttribute() public method

public SetPrintSessionAttribute ( nsIPrintSession aPrintSession ) : void
aPrintSession nsIPrintSession
return void

SetPrintSilentAttribute() public method

public SetPrintSilentAttribute ( bool aPrintSilent ) : void
aPrintSilent bool
return void

SetPrintToFileAttribute() public method

public SetPrintToFileAttribute ( bool aPrintToFile ) : void
aPrintToFile bool
return void

SetPrinterNameAttribute() public method

public SetPrinterNameAttribute ( string aPrinterName ) : void
aPrinterName string
return void

SetResolutionNameAttribute() public method

public SetResolutionNameAttribute ( string aResolutionName ) : void
aResolutionName string
return void

SetScalingAttribute() public method

public SetScalingAttribute ( double aScaling ) : void
aScaling double
return void

SetShowPrintProgressAttribute() public method

public SetShowPrintProgressAttribute ( bool aShowPrintProgress ) : void
aShowPrintProgress bool
return void

SetShrinkToFitAttribute() public method

public SetShrinkToFitAttribute ( bool aShrinkToFit ) : void
aShrinkToFit bool
return void

SetStartPageRangeAttribute() public method

public SetStartPageRangeAttribute ( int aStartPageRange ) : void
aStartPageRange int
return void

SetTitleAttribute() public method

public SetTitleAttribute ( string aTitle ) : void
aTitle string
return void

SetToFileNameAttribute() public method

public SetToFileNameAttribute ( string aToFileName ) : void
aToFileName string
return void

SetUnwriteableMarginBottomAttribute() public method

public SetUnwriteableMarginBottomAttribute ( double aUnwriteableMarginBottom ) : void
aUnwriteableMarginBottom double
return void

SetUnwriteableMarginInTwips() public method

public SetUnwriteableMarginInTwips ( IntPtr aEdge ) : void
aEdge IntPtr
return void

SetUnwriteableMarginLeftAttribute() public method

public SetUnwriteableMarginLeftAttribute ( double aUnwriteableMarginLeft ) : void
aUnwriteableMarginLeft double
return void

SetUnwriteableMarginRightAttribute() public method

public SetUnwriteableMarginRightAttribute ( double aUnwriteableMarginRight ) : void
aUnwriteableMarginRight double
return void

SetUnwriteableMarginTopAttribute() public method

public SetUnwriteableMarginTopAttribute ( double aUnwriteableMarginTop ) : void
aUnwriteableMarginTop double
return void

SetupSilentPrinting() public method

public SetupSilentPrinting ( ) : void
return void