| 1 | /* |
| 2 | * File: Stationery.h |
| 3 | * |
| 4 | * Author: Jacob Dekel |
| 5 | * Created on: May 10, 2014 |
| 6 | * |
| 7 | * Copyright (c) 2009-2014 Jacob Dekel |
| 8 | * $Id$ |
| 9 | * |
| 10 | * This object represents the stationery used by the Hercules Studio printer |
| 11 | * |
| 12 | * This program is free software: you can redistribute it and/or modify |
| 13 | * it under the terms of the GNU General Public License as published by |
| 14 | * the Free Software Foundation, either version 3 of the License, or |
| 15 | * (at your option) any later version. |
| 16 | * |
| 17 | * This program is distributed in the hope that it will be useful, |
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | * GNU General Public License for more details. |
| 21 | * |
| 22 | * You should have received a copy of the GNU General Public License |
| 23 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 24 | * |
| 25 | */ |
| 26 | |
| 27 | #ifndef STATIONERY_H |
| 28 | #define STATIONERY_Hcxx . . $ `HercPrinter/Stationery.h:28:9`! |
| 29 | |
| 30 | #include "HerculesStudio.h"cxx . . $ `<file>/HercStudio/HerculesStudio.h`/ |
| 31 | #include <QString> |
| 32 | |
| 33 | mk_shared_ptrcxx . . $ StationeryPtr#(Stationery) |
| 34 | |
| 35 | class Stationerycxx . . $ Stationery# |
| 36 | { |
| 37 | public: |
| 38 | Stationerycxx . . $ Stationery#Stationery(98916b0b04ef2070).(const QStringcxx . . $ QString#& name, const QStringcxx . . $ QString#& paperSize, const QStringcxx . . $ QString#& size1, const QStringcxx . . $ QString#& size2, |
| 39 | int topMargin, bool millimters, bool portrait, const QStringcxx . . $ QString#& barsColor, |
| 40 | const QStringcxx . . $ QString#& barsRGB, bool Decorated, bool tractorFeedHoles); |
| 41 | unsigned static int paperSizescxx . . $ Stationery#paperSizes(db52760e79bf9054).(); |
| 42 | static const char *paperSizecxx . . $ Stationery#paperSize(81a3ae90da26a711).(unsigned int i); |
| 43 | int *getBarsColorcxx . . $ Stationery#getBarsColor(4650b16577b4e630).(int * fill); |
| 44 | int getBarsColorIndexcxx . . $ Stationery#getBarsColorIndex(b126dc7c1de90089).(); |
| 45 | |
| 46 | static const char *mBarsColorNamescxx . . $ Stationery#mBarsColorNames.[]; |
| 47 | |
| 48 | public: // TODO: getters/setters |
| 49 | QStringcxx . . $ QString# mNamecxx . . $ Stationery#mName.; |
| 50 | QStringcxx . . $ QString# mPaperSizecxx . . $ Stationery#mPaperSize.; |
| 51 | QStringcxx . . $ QString# mSize1cxx . . $ Stationery#mSize1.; |
| 52 | QStringcxx . . $ QString# mSize2cxx . . $ Stationery#mSize2.; |
| 53 | int mTopMargincxx . . $ Stationery#mTopMargin.; |
| 54 | bool mMillimeterscxx . . $ Stationery#mMillimeters.; |
| 55 | bool mPortraitcxx . . $ Stationery#mPortrait.; |
| 56 | QStringcxx . . $ QString# mBarsColorcxx . . $ Stationery#mBarsColor.; |
| 57 | QStringcxx . . $ QString# mBarsRGBcxx . . $ Stationery#mBarsRGB.; |
| 58 | bool mDecoratedcxx . . $ Stationery#mDecorated.; |
| 59 | bool mTractorFeedHolescxx . . $ Stationery#mTractorFeedHoles.; |
| 60 | |
| 61 | }; |
| 62 | |
| 63 | #endif // STATIONERY_H |