1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #include <vcl/svapp.hxx>
21 #include "quartz/salgdi.h"
22 #include "headless/svpinst.hxx"
23 #include "unx/fontmanager.hxx"
24 #include "unx/gendata.hxx"
30 std::unique_ptr
<SalPrinter
> SvpSalInstance::CreatePrinter( SalInfoPrinter
* /* pInfoPrinter */ )
35 OUString
SvpSalInstance::GetDefaultPrinter()
40 std::unique_ptr
<GenPspGraphics
> SvpSalInstance::CreatePrintGraphics()
45 void SvpSalInstance::PostPrintersChanged()
49 SalInfoPrinter
* SvpSalInstance::CreateInfoPrinter( SalPrinterQueueInfo
* /* pQueueInfo */,
50 ImplJobSetup
* /* pJobSetup */ )
55 void SvpSalInstance::DestroyInfoPrinter( SalInfoPrinter
* pPrinter
)
60 void SvpSalInstance::GetPrinterQueueInfo( ImplPrnQueueList
* /* pList */ )
64 void SvpSalInstance::GetPrinterQueueState( SalPrinterQueueInfo
* /* pInfo */ )
68 std::unique_ptr
<SalPrinter
> SalGenericInstance::CreatePrinter( SalInfoPrinter
* /* pInfoPrinter */ )
73 OUString
SalGenericInstance::GetDefaultPrinter()
78 void SalGenericInstance::PostPrintersChanged()
82 SalInfoPrinter
* SalGenericInstance::CreateInfoPrinter( SalPrinterQueueInfo
* /* pQueueInfo */,
83 ImplJobSetup
* /* pJobSetup */ )
88 void SalGenericInstance::DestroyInfoPrinter( SalInfoPrinter
* pPrinter
)
93 void SalGenericInstance::GetPrinterQueueInfo( ImplPrnQueueList
* /* pList */ )
97 void SalGenericInstance::GetPrinterQueueState( SalPrinterQueueInfo
* /* pInfo */ )
101 void SalGenericInstance::updatePrinterUpdate()
105 void SalGenericInstance::jobStartedPrinterUpdate()
109 void SalGenericInstance::jobEndedPrinterUpdate()
113 bool AquaSalGraphics::drawEPS( long, long, long, long, void*, sal_uInt32
)
120 GenericUnixSalData::GenericUnixSalData(GenericUnixSalDataType
const t
, SalInstance
*const pInstance
)
122 , m_pDisplay(nullptr)
123 , m_pGlyphCache(new GlyphCache
)
124 , m_pPrintFontManager(nullptr)
126 m_pInstance
= pInstance
;
130 GenericUnixSalData::~GenericUnixSalData()
134 PrintFontManager::~PrintFontManager()
138 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */