Files
libreoffice/sd/source/ui/inc/prntopts.hxx

91 lines
2.6 KiB
C++
Raw Normal View History

2010-10-27 12:53:26 +01:00
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* 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:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this 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
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
2000-09-18 16:07:07 +00:00
#ifndef _SD_PRNTOPTS_HXX
#define _SD_PRNTOPTS_HXX
#include <vcl/group.hxx>
#include <vcl/button.hxx>
#include <sfx2/tabdlg.hxx>
#include <vcl/fixed.hxx>
2000-09-18 16:07:07 +00:00
class SdModule;
class SdPrintOptions : public SfxTabPage
{
friend class SdModule;
private:
2001-03-22 13:15:58 +00:00
FixedLine aGrpPrint;
2000-09-18 16:07:07 +00:00
CheckBox aCbxDraw;
CheckBox aCbxNotes;
CheckBox aCbxHandout;
CheckBox aCbxOutline;
2001-05-04 08:19:36 +00:00
FixedLine aSeparator1FL;
2001-06-25 12:34:16 +00:00
FixedLine aGrpOutput;
RadioButton aRbtColor;
RadioButton aRbtGrayscale;
RadioButton aRbtBlackWhite;
2001-05-04 08:19:36 +00:00
2001-03-22 13:15:58 +00:00
FixedLine aGrpPrintExt;
2000-09-18 16:07:07 +00:00
CheckBox aCbxPagename;
CheckBox aCbxDate;
CheckBox aCbxTime;
CheckBox aCbxHiddenPages;
2001-03-22 13:15:58 +00:00
2001-05-04 08:19:36 +00:00
FixedLine aSeparator2FL;
2001-03-22 13:15:58 +00:00
FixedLine aGrpPageoptions;
2000-09-18 16:07:07 +00:00
RadioButton aRbtDefault;
RadioButton aRbtPagesize;
RadioButton aRbtPagetile;
RadioButton aRbtBooklet;
CheckBox aCbxFront;
CheckBox aCbxBack;
CheckBox aCbxPaperbin;
const SfxItemSet& rOutAttrs;
DECL_LINK( ClickCheckboxHdl, CheckBox * );
DECL_LINK( ClickBookletHdl, void * );
2000-09-18 16:07:07 +00:00
void updateControls();
using OutputDevice::SetDrawMode;
2000-09-18 16:07:07 +00:00
public:
2001-05-04 08:19:36 +00:00
SdPrintOptions( Window* pParent, const SfxItemSet& rInAttrs);
2000-09-18 16:07:07 +00:00
~SdPrintOptions();
static SfxTabPage* Create( Window*, const SfxItemSet& );
virtual sal_Bool FillItemSet( SfxItemSet& );
2000-09-18 16:07:07 +00:00
virtual void Reset( const SfxItemSet & );
2001-05-04 08:19:36 +00:00
void SetDrawMode();
virtual void PageCreated (SfxAllItemSet aSet);
2000-09-18 16:07:07 +00:00
};
#endif // _SD_PRNTOPTS_HXX
2010-10-27 12:53:26 +01:00
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */