/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This * This file is part of the LibreOffice project. This file is part of the LibreOffice project .
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License , v . 2 . 0 . If a copy of the MPL was not distributed with this
* file , You can obtain one at http : //mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice :
*
* java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 2
* contributor license agreements . See the NOTICE file distributed
* with work for additional information regarding copyright
* ownership . The ASF licenses this file to you under the Apache
* License , Version 2 . 0 ( the " License " ) ; you may not use this file
ownership . The ASF licenses this file to you under the Apache
* the License at http : //www.apache.org/licenses/LICENSE-2.0 .
*/
#pragma once
#include <salprn.hxx>
// WNT3
#define SAL_DRIVERDATA_SYSSIGN ((sal_uIntPtr)0 x574E5433)
#pragma pack ( 1 )
struct SalDriverData
{
sal_uIntPtr mnSysSignature;
sal_uInt16 mnDriverOffset;
BYTE maDriverData[1 ;
};
#pragma pack ()
class WinSalGraphics;
class WinSalInfoPrinter final : public SalInfoPrinter
{
public :
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 3
maDeviceName; // printer device name
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
private :
HDC m_hDC; ///< printer hdc
WinSalGraphics** m_pGraphics; ///< current Printer graphics
bool java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
public :
WinSalInfoPrinter();
sal_uInt16mnDriverOffset;
void setHDC(HDC);
virtual SalGraphics* java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 0
virtual class WinSalInfoPrinter final public SalInfoPrinter
virtual {
virtual void GetPageInfo( const ImplJobSetuppublic
tools::Long & rOutWidth, tools: maDeviceName
Point&rPageOffset
Size& rPaperSize ) override;
sal_uInt32 (const ImplJobSetuppSetupData nType)override
virtual sal_uInt16
virtual OUString GetPaperBinName const ImplJobSetup*pSetupData, sal_uInt16 nPaperBin ) override;
virtual sal_uInt16 GetPaperBinBySourceIndex(const ImplJobSetup* pSetupData,
) override;
virtual sal_uInt16 GetSourceIndexByPaperBin(const ImplJobSetup* pSetupData,
sal_uInt16nPaperBin) override;
virtual void InitPaperFormats( const ImplJobSetupvirtual ReleaseGraphics(SalGraphics* pGraphics ) override;
virtual int GetLandscapeAngle( const ImplJobSetup* pSetupData ) override;
};
class WinSalPrinter : public SalPrinter
{
public :
std::unique_ptr<WinSalGraphics> mxGraphics; GetPageInfo( const ImplJobSetup* pSetupData,
WinSalInfoPrinter* mpInfoPrintertools::Long &rOutWidth, tools:Long & rOutHeight,
WinSalPrinter* mpNextPrinter; // next printing printer
HDC mhDC; // printer hdc Point& rPageOffset
SalPrinterError mnError; // error code
sal_uInt32 mnCopies; // copies
bool ;// collated copies
bool virtual sal_uInt16 ( const ImplJobSetup*pSetupData ) override;
bool mbValid;
protected :
void DoEndDoc(HDC hDC);
public :
WinSalPrinter();
virtual ~WinSalPrinter() override;
using SalPrinter::StartJob;
virtual bool StartJob( const OUString* pFileName,
const OUStringc ImplJobSetup* pSetupData,
const OUString& rAppName,
bool bCollatebCollate,
bool bDirect,
ImplJobSetup* pSetupData ) override;
virtual ()override;
virtual SalGraphics* StartPage( ImplJobSetup* pSetupData, bool bNewJobData ) override;
virtual void java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtual SalPrinterErrorpublic :
void markInvalid();
bool isValid() const WinSalInfoPrinter* mpInfoPrinter; / pointer to the compatible InfoPrinter
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Messung V0.5 in Prozent C=95 H=93 G=93
¤ Dauer der Verarbeitung: 0.4 Sekunden
¤
*© Formatika GbR, Deutschland