Lines Matching refs:mPageSetup

47     : mPageSetup(nullptr), mPrintSettings(nullptr), mGTKPrinter(nullptr) {  in NS_IMPL_ISUPPORTS_INHERITED()
69 if (mPageSetup) { in ~nsPrintSettingsGTK()
70 g_object_unref(mPageSetup); in ~nsPrintSettingsGTK()
71 mPageSetup = nullptr; in ~nsPrintSettingsGTK()
86 : mPageSetup(nullptr), mPrintSettings(nullptr), mGTKPrinter(nullptr) { in nsPrintSettingsGTK()
100 if (mPageSetup) g_object_unref(mPageSetup); in operator =()
101 mPageSetup = gtk_page_setup_copy(rhs.mPageSetup); in operator =()
141 if (mPageSetup) g_object_unref(mPageSetup); in SetGtkPageSetup()
143 mPageSetup = (GtkPageSetup*)g_object_ref(aPageSetup); in SetGtkPageSetup()
153 gtk_page_setup_set_paper_size(mPageSetup, customPaperSize); in SetGtkPageSetup()
171 gtk_page_setup_set_paper_size(mPageSetup, customPaperSize); in SetGtkPrintSettings()
264 GtkPageOrientation gtkOrient = gtk_page_setup_get_orientation(mPageSetup); in GetOrientation()
287 gtk_page_setup_set_orientation(mPageSetup, gtkOrient); in SetOrientation()
406 gtk_paper_size_get_name(gtk_page_setup_get_paper_size(mPageSetup)); in GetPaperId()
421 GtkPaperSize* oldPaperSize = gtk_page_setup_get_paper_size(mPageSetup); in SetPaperId()
433 gtk_page_setup_set_paper_size(mPageSetup, customPaperSize); in SetPaperId()
448 gtk_page_setup_get_paper_size(mPageSetup)); in SaveNewPageSize()
454 gtk_page_setup_get_top_margin(mPageSetup, GTK_UNIT_INCH)), in InitUnwriteableMargin()
456 gtk_page_setup_get_right_margin(mPageSetup, GTK_UNIT_INCH)), in InitUnwriteableMargin()
458 gtk_page_setup_get_bottom_margin(mPageSetup, GTK_UNIT_INCH)), in InitUnwriteableMargin()
460 gtk_page_setup_get_left_margin(mPageSetup, GTK_UNIT_INCH))); in InitUnwriteableMargin()
480 mPageSetup, NS_TWIPS_TO_INCHES(mUnwriteableMargin.top), GTK_UNIT_INCH); in SetUnwriteableMarginInTwips()
482 mPageSetup, NS_TWIPS_TO_INCHES(mUnwriteableMargin.left), GTK_UNIT_INCH); in SetUnwriteableMarginInTwips()
484 mPageSetup, NS_TWIPS_TO_INCHES(mUnwriteableMargin.bottom), GTK_UNIT_INCH); in SetUnwriteableMarginInTwips()
486 mPageSetup, NS_TWIPS_TO_INCHES(mUnwriteableMargin.right), GTK_UNIT_INCH); in SetUnwriteableMarginInTwips()
494 mPageSetup, NS_TWIPS_TO_INCHES(mUnwriteableMargin.top), GTK_UNIT_INCH); in SetUnwriteableMarginTop()
502 mPageSetup, NS_TWIPS_TO_INCHES(mUnwriteableMargin.left), GTK_UNIT_INCH); in SetUnwriteableMarginLeft()
511 mPageSetup, NS_TWIPS_TO_INCHES(mUnwriteableMargin.bottom), GTK_UNIT_INCH); in SetUnwriteableMarginBottom()
519 mPageSetup, NS_TWIPS_TO_INCHES(mUnwriteableMargin.right), GTK_UNIT_INCH); in SetUnwriteableMarginRight()
526 GtkPaperSize* paperSize = gtk_page_setup_get_paper_size(mPageSetup); in GetPaperWidth()
533 GtkPaperSize* paperSize = gtk_page_setup_get_paper_size(mPageSetup); in SetPaperWidth()
545 GtkPaperSize* paperSize = gtk_page_setup_get_paper_size(mPageSetup); in GetPaperHeight()
552 GtkPaperSize* paperSize = gtk_page_setup_get_paper_size(mPageSetup); in SetPaperHeight()
566 GtkPaperSize* paperSize = gtk_page_setup_get_paper_size(mPageSetup); in SetPaperSizeUnit()
580 GtkPaperSize* paperSize = gtk_page_setup_get_paper_size(mPageSetup); in GetEffectivePageSize()
594 GtkPageOrientation gtkOrient = gtk_page_setup_get_orientation(mPageSetup); in GetEffectivePageSize()