зеркало из https://github.com/mozilla/gecko-dev.git
Bug 120916 PostScript/Xprint module revamp
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless rs=attinasi
This commit is contained in:
Родитель
4beb80b857
Коммит
79c245b5cf
|
@ -349,33 +349,33 @@ NS_IMETHODIMP nsDeviceContextSpecGTK::GetGrayscale(PRBool &aGrayscale)
|
||||||
return NS_OK;
|
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;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP nsDeviceContextSpecGTK::GetTopMargin(float &value)
|
NS_IMETHODIMP nsDeviceContextSpecGTK::GetTopMargin(float &aValue)
|
||||||
{
|
{
|
||||||
value = mTop;
|
aValue = mTop;
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP nsDeviceContextSpecGTK::GetBottomMargin(float &value)
|
NS_IMETHODIMP nsDeviceContextSpecGTK::GetBottomMargin(float &aValue)
|
||||||
{
|
{
|
||||||
value = mBottom;
|
aValue = mBottom;
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP nsDeviceContextSpecGTK::GetRightMargin(float &value)
|
NS_IMETHODIMP nsDeviceContextSpecGTK::GetRightMargin(float &aValue)
|
||||||
{
|
{
|
||||||
value = mRight;
|
aValue = mRight;
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP nsDeviceContextSpecGTK::GetLeftMargin(float &value)
|
NS_IMETHODIMP nsDeviceContextSpecGTK::GetLeftMargin(float &aValue)
|
||||||
{
|
{
|
||||||
value = mLeft;
|
aValue = mLeft;
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -349,33 +349,33 @@ NS_IMETHODIMP nsDeviceContextSpecXlib::GetGrayscale(PRBool &aGrayscale)
|
||||||
return NS_OK;
|
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;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP nsDeviceContextSpecXlib::GetTopMargin(float &value)
|
NS_IMETHODIMP nsDeviceContextSpecXlib::GetTopMargin(float &aValue)
|
||||||
{
|
{
|
||||||
value = mTop;
|
aValue = mTop;
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP nsDeviceContextSpecXlib::GetBottomMargin(float &value)
|
NS_IMETHODIMP nsDeviceContextSpecXlib::GetBottomMargin(float &aValue)
|
||||||
{
|
{
|
||||||
value = mBottom;
|
aValue = mBottom;
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP nsDeviceContextSpecXlib::GetRightMargin(float &value)
|
NS_IMETHODIMP nsDeviceContextSpecXlib::GetRightMargin(float &aValue)
|
||||||
{
|
{
|
||||||
value = mRight;
|
aValue = mRight;
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP nsDeviceContextSpecXlib::GetLeftMargin(float &value)
|
NS_IMETHODIMP nsDeviceContextSpecXlib::GetLeftMargin(float &aValue)
|
||||||
{
|
{
|
||||||
value = mLeft;
|
aValue = mLeft;
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче