/usr/include/scribus/useprintermarginsdialog.h is in scribus-dev 1.4.6+dfsg-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | /*
For general Scribus (>=1.3.2) copyright and licensing information please refer
to the COPYING file provided with the program. Following this notice may exist
a copyright and/or license notice that predates the release of Scribus 1.3.2
for which a new license (GPL+exception) is in place.
*/
/***************************************************************************
useprintermarginsdialog.cpp - description
-------------------
copyright : (C) 2006 by Craig Bradney
email : cbradney@zip.com.au
***************************************************************************/
#ifndef USEPRINTERMARGINSDIALOG_H
#define USEPRINTERMARGINSDIALOG_H
#include "ui_useprintermarginsdialog.h"
#include "scribusapi.h"
class SCRIBUS_API UsePrinterMarginsDialog : public QDialog, Ui::UsePrinterMarginsDialog
{
Q_OBJECT
public:
UsePrinterMarginsDialog(QWidget* parent, const QString& pageSize, double unitRatio, const QString& suffix);
~UsePrinterMarginsDialog();
/**
* Return the new printer sourced margins in PostScript points (72dpi).
* @param topMargin
* @param bottomMargin
* @param leftMargin
* @param rightMargin
*/
void getNewPrinterMargins(double &topMargin,double &bottomMargin,double &leftMargin,double &rightMargin);
protected slots:
void getPrinterMarginValues(const QString& printerName);
protected:
QString m_pageSize;
double m_unitRatio;
QString m_suffix;
double m_ptsTopMargin,m_ptsBottomMargin,m_ptsLeftMargin,m_ptsRightMargin;
};
#endif
|