williamr@2: // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@4: // under the terms of "Eclipse Public License v1.0" williamr@2: // which accompanies this distribution, and is available williamr@4: // at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // williamr@2: williamr@2: inline void CGridPrinter::SetRealPrintingDeviceMap(const MGraphicsDeviceMap* aGraphicsDeviceMap) williamr@2: /** Supplies the object that deals with the mapping between twips and device-specific williamr@2: units for a specific printer. williamr@2: williamr@2: @param aGraphicsDeviceMap The interface object for mapping between twips and williamr@2: device-specific units. */ williamr@2: { williamr@2: iGraphicsDeviceMap=aGraphicsDeviceMap; williamr@2: } williamr@2: williamr@2: inline CGridLay& CGridPrinter::GridLay() williamr@2: /** Gets the grid layout used by this printing object. williamr@2: williamr@2: Note that this is not the same object passed to CGridPrinter::NewL(). Internally, williamr@2: the class creates its own CGridLay object from the information supplied in the williamr@2: CGridLay object passed to CGridPrinter::NewL(). williamr@2: williamr@2: @return The grid layout object. */ williamr@2: { williamr@2: return *iGridLay; williamr@2: }