kis_kra_tags.h 4.59 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
/* This file is part of the KDE project
 * Copyright 2008 (C) Boudewijn Rempt <boud@valdyas.org>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 */
#ifndef KIS_KRA_TAGS
#define KIS_KRA_TAGS

#include <QString>

24 25


26 27 28
/**
 * Tag definitions for our xml file format
 */
Boudewijn Rempt's avatar
Boudewijn Rempt committed
29 30
namespace KRA
{
31

Boudewijn Rempt's avatar
Boudewijn Rempt committed
32 33
// mimetype
const QString NATIVE_MIMETYPE = "application/x-kra";
34

Boudewijn Rempt's avatar
Boudewijn Rempt committed
35 36 37 38 39
// xml tags
const QString SEPARATOR = "/";
const QString SHAPE_LAYER_PATH = "/shapelayers/";
const QString EXIF_PATH = "/annotations/exif";
const QString ICC_PATH = "/annotations/icc";
40
const QString ICC_PROOFING_PATH = "/annotations/proofing/icc";
41
const QString LAYER_STYLES_PATH = "/annotations/layerstyles.asl";
42
const QString ASSISTANTS_PATH = "/assistants/";
Boudewijn Rempt's avatar
Boudewijn Rempt committed
43
const QString LAYER_PATH = "/layers/";
44

Boudewijn Rempt's avatar
Boudewijn Rempt committed
45 46
const QString ADJUSTMENT_LAYER = "adjustmentlayer";
const QString CHANNEL_FLAGS = "channelflags";
47
const QString CHANNEL_LOCK_FLAGS = "channellockflags";
Boudewijn Rempt's avatar
Boudewijn Rempt committed
48
const QString CLONE_FROM = "clonefrom";
49
const QString CLONE_FROM_UUID = "clonefromuuid";
Boudewijn Rempt's avatar
Boudewijn Rempt committed
50 51 52 53 54
const QString CLONE_LAYER = "clonelayer";
const QString CLONE_TYPE = "clonetype";
const QString COLORSPACE_NAME = "colorspacename";
const QString COMPOSITE_OP = "compositeop";
const QString DESCRIPTION = "description";
55
const QString ONION_SKIN_ENABLED = "onionskin";
56
const QString VISIBLE_IN_TIMELINE = "intimeline";
57

Boudewijn Rempt's avatar
Boudewijn Rempt committed
58
const QString DOT_FILTERCONFIG = ".filterconfig";
59
const QString DOT_TRANSFORMCONFIG = ".transformconfig";
Boudewijn Rempt's avatar
Boudewijn Rempt committed
60 61 62 63 64
const QString DOT_ICC = ".icc";
const QString DOT_PIXEL_SELECTION = ".pixelselection";
const QString DOT_SHAPE_SELECTION = ".shapeselection";
const QString DOT_SHAPE_LAYER = ".shapelayer";
const QString DOT_METADATA = ".metadata";
65

Boudewijn Rempt's avatar
Boudewijn Rempt committed
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
const QString FILE_NAME = "filename";
const QString FILTER_MASK = "filtermask";
const QString FILTER_NAME = "filtername";
const QString FILTER_STATEGY = "filter_strategy";
const QString FILTER_VERSION = "filterversion";
const QString GENERATOR_LAYER = "generatorlayer";
const QString GENERATOR_NAME = "generatorname";
const QString GENERATOR_VERSION = "generatorversion";
const QString GROUP_LAYER = "grouplayer";
const QString HEIGHT = "height";
const QString ICC = "icc";
const QString LAYER = "layer";
const QString LAYERS = "layers";
const QString NODE_TYPE = "nodetype";
const QString LOCKED = "locked";
const QString MASK = "mask";
const QString MASKS = "masks";
const QString MIME = "mime";
const QString NAME = "name";
const QString OPACITY = "opacity";
86
const QString COLLAPSED = "collapsed";
87
const QString COLOR_LABEL = "colorlabel";
Boudewijn Rempt's avatar
Boudewijn Rempt committed
88 89 90 91 92
const QString PAINT_LAYER = "paintlayer";
const QString PROFILE = "profile";
const QString ROTATION = "rotation";
const QString SELECTION_MASK = "selectionmask";
const QString SHAPE_LAYER = "shapelayer";
93
const QString FILE_LAYER = "filelayer";
Boudewijn Rempt's avatar
Boudewijn Rempt committed
94
const QString TRANSPARENCY_MASK = "transparencymask";
95
const QString TRANSFORM_MASK = "transformmask";
96
const QString UUID = "uuid";
Boudewijn Rempt's avatar
Boudewijn Rempt committed
97 98 99 100 101 102 103 104 105 106 107 108
const QString VISIBLE = "visible";
const QString WIDTH = "width";
const QString X = "x";
const QString X_RESOLUTION = "x-res";
const QString X_SCALE = "x_scale";
const QString X_SHEAR = "x_shear";
const QString X_TRANSLATION = "x_translation";
const QString Y = "y";
const QString Y_RESOLUTION = "y-res";
const QString Y_SCALE = "y_scale";
const QString Y_SHEAR = "y_shear";
const QString Y_TRANSLATION = "y_translation";
109
const QString ACTIVE = "active";
110
const QString LAYER_STYLE_UUID = "layerstyle";
111
const QString PASS_THROUGH_MODE = "passthrough";
112
const QString KEYFRAME_FILE = "keyframes";
113 114 115 116 117
const QString PROOFINGPROFILENAME = "proofing-profile-name";
const QString PROOFINGMODEL = "proofing-model";
const QString PROOFINGDEPTH = "proofing-depth";
const QString PROOFINGINTENT = "proofing-intent";
const QString PROOFINGWARNINGCOLOR ="ProofingWarningColor";
118
const QString PROOFINGADAPTATIONSTATE = "proofing-adaptation-state";
119
const QString ICCPROOFINGPROFILE ="icc-proofing-profile";
120 121
const QString CANVASPROJECTIONCOLOR = "ProjectionBackgroundColor";
const QString COLORBYTEDATA = "ColorData";
122 123
}

124 125


126
#endif