Bug 120916 PostScript/Xprint module revamp

patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless rs=attinasi
This commit is contained in:
timeless%mac.com 2002-02-12 22:53:36 +00:00
Родитель 4beb80b857
Коммит 79c245b5cf
2 изменённых файлов: 20 добавлений и 20 удалений

Просмотреть файл

@ -349,33 +349,33 @@ NS_IMETHODIMP nsDeviceContextSpecGTK::GetGrayscale(PRBool &aGrayscale)
return NS_OK;
}
NS_IMETHODIMP nsDeviceContextSpecGTK::GetLandscape(PRBool &landscape)
NS_IMETHODIMP nsDeviceContextSpecGTK::GetLandscape(PRBool &aLandscape)
{
landscape = (mOrientation == NS_LANDSCAPE);
aLandscape = (mOrientation == NS_LANDSCAPE);
return NS_OK;
}
NS_IMETHODIMP nsDeviceContextSpecGTK::GetTopMargin(float &value)
NS_IMETHODIMP nsDeviceContextSpecGTK::GetTopMargin(float &aValue)
{
value = mTop;
aValue = mTop;
return NS_OK;
}
NS_IMETHODIMP nsDeviceContextSpecGTK::GetBottomMargin(float &value)
NS_IMETHODIMP nsDeviceContextSpecGTK::GetBottomMargin(float &aValue)
{
value = mBottom;
aValue = mBottom;
return NS_OK;
}
NS_IMETHODIMP nsDeviceContextSpecGTK::GetRightMargin(float &value)
NS_IMETHODIMP nsDeviceContextSpecGTK::GetRightMargin(float &aValue)
{
value = mRight;
aValue = mRight;
return NS_OK;
}
NS_IMETHODIMP nsDeviceContextSpecGTK::GetLeftMargin(float &value)
NS_IMETHODIMP nsDeviceContextSpecGTK::GetLeftMargin(float &aValue)
{
value = mLeft;
aValue = mLeft;
return NS_OK;
}

Просмотреть файл

@ -349,33 +349,33 @@ NS_IMETHODIMP nsDeviceContextSpecXlib::GetGrayscale(PRBool &aGrayscale)
return NS_OK;
}
NS_IMETHODIMP nsDeviceContextSpecXlib::GetLandscape(PRBool &landscape)
NS_IMETHODIMP nsDeviceContextSpecXlib::GetLandscape(PRBool &aLandscape)
{
landscape = (mOrientation == NS_LANDSCAPE);
aLandscape = (mOrientation == NS_LANDSCAPE);
return NS_OK;
}
NS_IMETHODIMP nsDeviceContextSpecXlib::GetTopMargin(float &value)
NS_IMETHODIMP nsDeviceContextSpecXlib::GetTopMargin(float &aValue)
{
value = mTop;
aValue = mTop;
return NS_OK;
}
NS_IMETHODIMP nsDeviceContextSpecXlib::GetBottomMargin(float &value)
NS_IMETHODIMP nsDeviceContextSpecXlib::GetBottomMargin(float &aValue)
{
value = mBottom;
aValue = mBottom;
return NS_OK;
}
NS_IMETHODIMP nsDeviceContextSpecXlib::GetRightMargin(float &value)
NS_IMETHODIMP nsDeviceContextSpecXlib::GetRightMargin(float &aValue)
{
value = mRight;
aValue = mRight;
return NS_OK;
}
NS_IMETHODIMP nsDeviceContextSpecXlib::GetLeftMargin(float &value)
NS_IMETHODIMP nsDeviceContextSpecXlib::GetLeftMargin(float &aValue)
{
value = mLeft;
aValue = mLeft;
return NS_OK;
}