File indexing completed on 2025-01-05 03:59:06

0001 /*
0002     SPDX-FileCopyrightText: 2007 Nikolas Zimmermann <zimmermann@kde.org>
0003     SPDX-License-Identifier: LGPL-2.0-or-later
0004 */
0005 
0006 #ifndef MARBLE_KML_KMLELEMENTDICTIONARY_H
0007 #define MARBLE_KML_KMLELEMENTDICTIONARY_H
0008 
0009 #include "digikam_export.h"
0010 
0011 namespace Marble
0012 {
0013 
0014 // Lists all known KML 2.1 tags (https://developers.google.com/kml/documentation/kmlreferencel)
0015 namespace kml
0016 {
0017     DIGIKAM_EXPORT extern const char kmlTag_nameSpace20[];
0018     DIGIKAM_EXPORT extern const char kmlTag_nameSpace21[];
0019     DIGIKAM_EXPORT extern const char kmlTag_nameSpace22[];
0020     DIGIKAM_EXPORT extern const char kmlTag_nameSpaceOgc22[];
0021     DIGIKAM_EXPORT extern const char kmlTag_nameSpaceGx22[];
0022     DIGIKAM_EXPORT extern const char kmlTag_nameSpaceMx[];
0023 
0024     DIGIKAM_EXPORT extern const char kmlTag_address[];
0025     DIGIKAM_EXPORT extern const char kmlTag_AddressDetails[];
0026     DIGIKAM_EXPORT extern const char kmlTag_Alias[];
0027     DIGIKAM_EXPORT extern const char kmlTag_altitude[];
0028     DIGIKAM_EXPORT extern const char kmlTag_altitudeMode[];
0029     DIGIKAM_EXPORT extern const char kmlTag_BalloonStyle[];
0030     DIGIKAM_EXPORT extern const char kmlTag_begin[];
0031     DIGIKAM_EXPORT extern const char kmlTag_bgColor[];
0032     DIGIKAM_EXPORT extern const char kmlTag_bottomFov[];
0033     DIGIKAM_EXPORT extern const char kmlTag_Camera[];
0034     DIGIKAM_EXPORT extern const char kmlTag_Change[];
0035     DIGIKAM_EXPORT extern const char kmlTag_code[];
0036     DIGIKAM_EXPORT extern const char kmlTag_color[];
0037     DIGIKAM_EXPORT extern const char kmlTag_colorMode[];
0038     DIGIKAM_EXPORT extern const char kmlTag_ColorStyle[];
0039     DIGIKAM_EXPORT extern const char kmlTag_Container[];
0040     DIGIKAM_EXPORT extern const char kmlTag_cookie[];
0041     DIGIKAM_EXPORT extern const char kmlTag_coordinates[];
0042     DIGIKAM_EXPORT extern const char kmlTag_Create[];
0043     DIGIKAM_EXPORT extern const char kmlTag_Data[];
0044     DIGIKAM_EXPORT extern const char kmlTag_Delete[];
0045     DIGIKAM_EXPORT extern const char kmlTag_description[];
0046     DIGIKAM_EXPORT extern const char kmlTag_displayMode[];
0047     DIGIKAM_EXPORT extern const char kmlTag_displayName[];
0048     DIGIKAM_EXPORT extern const char kmlTag_Document[];
0049     DIGIKAM_EXPORT extern const char kmlTag_drawOrder[];
0050     DIGIKAM_EXPORT extern const char kmlTag_duration[];
0051     DIGIKAM_EXPORT extern const char kmlTag_east[];
0052     DIGIKAM_EXPORT extern const char kmlTag_end[];
0053     DIGIKAM_EXPORT extern const char kmlTag_expires[];
0054     DIGIKAM_EXPORT extern const char kmlTag_ExtendedData[];
0055     DIGIKAM_EXPORT extern const char kmlTag_extrude[];
0056     DIGIKAM_EXPORT extern const char kmlTag_Feature[];
0057     DIGIKAM_EXPORT extern const char kmlTag_fill[];
0058     DIGIKAM_EXPORT extern const char kmlTag_flyToMode[];
0059     DIGIKAM_EXPORT extern const char kmlTag_flyToView[];
0060     DIGIKAM_EXPORT extern const char kmlTag_Folder[];
0061     DIGIKAM_EXPORT extern const char kmlTag_geomColor[];
0062     DIGIKAM_EXPORT extern const char kmlTag_Geometry[];
0063     DIGIKAM_EXPORT extern const char kmlTag_GeometryCollection[];
0064     DIGIKAM_EXPORT extern const char kmlTag_geomScale[];
0065     DIGIKAM_EXPORT extern const char kmlTag_gridOrigin[];
0066     DIGIKAM_EXPORT extern const char kmlTag_GroundOverlay[];
0067     DIGIKAM_EXPORT extern const char kmlTag_h[];
0068     DIGIKAM_EXPORT extern const char kmlTag_heading[];
0069     DIGIKAM_EXPORT extern const char kmlTag_height[];
0070     DIGIKAM_EXPORT extern const char kmlTag_href[];
0071     DIGIKAM_EXPORT extern const char kmlTag_hotSpot[];
0072     DIGIKAM_EXPORT extern const char kmlTag_httpQuery[];
0073     DIGIKAM_EXPORT extern const char kmlTag_Icon[];
0074     DIGIKAM_EXPORT extern const char kmlTag_IconStyle[];
0075     DIGIKAM_EXPORT extern const char kmlTag_ImagePyramid[];
0076     DIGIKAM_EXPORT extern const char kmlTag_innerBoundaryIs[];
0077     DIGIKAM_EXPORT extern const char kmlTag_ItemIcon[];
0078     DIGIKAM_EXPORT extern const char kmlTag_key[];
0079     DIGIKAM_EXPORT extern const char kmlTag_kml[];
0080     DIGIKAM_EXPORT extern const char kmlTag_labelColor[];
0081     DIGIKAM_EXPORT extern const char kmlTag_LabelStyle[];
0082     DIGIKAM_EXPORT extern const char kmlTag_latitude[];
0083     DIGIKAM_EXPORT extern const char kmlTag_LatLonAltBox[];
0084     DIGIKAM_EXPORT extern const char kmlTag_LatLonBox[];
0085     DIGIKAM_EXPORT extern const char kmlTag_LatLonQuad[];
0086     DIGIKAM_EXPORT extern const char kmlTag_leftFov[];
0087     DIGIKAM_EXPORT extern const char kmlTag_LinearRing[];
0088     DIGIKAM_EXPORT extern const char kmlTag_LineString[];
0089     DIGIKAM_EXPORT extern const char kmlTag_LineStyle[];
0090     DIGIKAM_EXPORT extern const char kmlTag_Link[];
0091     DIGIKAM_EXPORT extern const char kmlTag_linkDescription[];
0092     DIGIKAM_EXPORT extern const char kmlTag_linkName[];
0093     DIGIKAM_EXPORT extern const char kmlTag_linkSnippet[];
0094     DIGIKAM_EXPORT extern const char kmlTag_listItemType[];
0095     DIGIKAM_EXPORT extern const char kmlTag_ListStyle[];
0096     DIGIKAM_EXPORT extern const char kmlTag_Location[];
0097     DIGIKAM_EXPORT extern const char kmlTag_Lod[];
0098     DIGIKAM_EXPORT extern const char kmlTag_longitude[];
0099     DIGIKAM_EXPORT extern const char kmlTag_LookAt[];
0100     DIGIKAM_EXPORT extern const char kmlTag_maxAltitude[];
0101     DIGIKAM_EXPORT extern const char kmlTag_maxFadeExtent[];
0102     DIGIKAM_EXPORT extern const char kmlTag_maxHeight[];
0103     DIGIKAM_EXPORT extern const char kmlTag_maxLodPixels[];
0104     DIGIKAM_EXPORT extern const char kmlTag_maxSessionLength[];
0105     DIGIKAM_EXPORT extern const char kmlTag_maxWidth[];
0106     DIGIKAM_EXPORT extern const char kmlTag_message[];
0107     DIGIKAM_EXPORT extern const char kmlTag_Metadata[];
0108     DIGIKAM_EXPORT extern const char kmlTag_minAltitude[];
0109     DIGIKAM_EXPORT extern const char kmlTag_minFadeExtent[];
0110     DIGIKAM_EXPORT extern const char kmlTag_minLodPixels[];
0111     DIGIKAM_EXPORT extern const char kmlTag_minRefreshPeriod[];
0112     DIGIKAM_EXPORT extern const char kmlTag_Model[];
0113     DIGIKAM_EXPORT extern const char kmlTag_MultiGeometry[];
0114     DIGIKAM_EXPORT extern const char kmlTag_name[];
0115     DIGIKAM_EXPORT extern const char kmlTag_near[];
0116     DIGIKAM_EXPORT extern const char kmlTag_NetworkLink[];
0117     DIGIKAM_EXPORT extern const char kmlTag_NetworkLinkControl[];
0118     DIGIKAM_EXPORT extern const char kmlTag_north[];
0119     DIGIKAM_EXPORT extern const char kmlTag_Object[];
0120     DIGIKAM_EXPORT extern const char kmlTag_ObjArrayField[];
0121     DIGIKAM_EXPORT extern const char kmlTag_ObjField[];
0122     DIGIKAM_EXPORT extern const char kmlTag_open[];
0123     DIGIKAM_EXPORT extern const char kmlTag_Orientation[];
0124     DIGIKAM_EXPORT extern const char kmlTag_OsmPlacemarkData[];
0125     DIGIKAM_EXPORT extern const char kmlTag_member[];
0126     DIGIKAM_EXPORT extern const char kmlTag_nd[];
0127     DIGIKAM_EXPORT extern const char kmlTag_tag[];
0128     DIGIKAM_EXPORT extern const char kmlTag_outerBoundaryIs[];
0129     DIGIKAM_EXPORT extern const char kmlTag_outline[];
0130     DIGIKAM_EXPORT extern const char kmlTag_Overlay[];
0131     DIGIKAM_EXPORT extern const char kmlTag_overlayXY[];
0132     DIGIKAM_EXPORT extern const char kmlTag_Pair[];
0133     DIGIKAM_EXPORT extern const char kmlTag_phoneNumber[];
0134     DIGIKAM_EXPORT extern const char kmlTag_PhotoOverlay[];
0135     DIGIKAM_EXPORT extern const char kmlTag_Placemark[];
0136     DIGIKAM_EXPORT extern const char kmlTag_Point[];
0137     DIGIKAM_EXPORT extern const char kmlTag_Polygon[];
0138     DIGIKAM_EXPORT extern const char kmlTag_PolyStyle[];
0139     DIGIKAM_EXPORT extern const char kmlTag_range[];
0140     DIGIKAM_EXPORT extern const char kmlTag_refreshInterval[];
0141     DIGIKAM_EXPORT extern const char kmlTag_refreshMode[];
0142     DIGIKAM_EXPORT extern const char kmlTag_refreshVisibility[];
0143     DIGIKAM_EXPORT extern const char kmlTag_Region[];
0144     DIGIKAM_EXPORT extern const char kmlTag_request[];
0145     DIGIKAM_EXPORT extern const char kmlTag_ResourceMap[];
0146     DIGIKAM_EXPORT extern const char kmlTag_Response[];
0147     DIGIKAM_EXPORT extern const char kmlTag_rightFov[];
0148     DIGIKAM_EXPORT extern const char kmlTag_roll[];
0149     DIGIKAM_EXPORT extern const char kmlTag_rotation[];
0150     DIGIKAM_EXPORT extern const char kmlTag_rotationXY[];
0151     DIGIKAM_EXPORT extern const char kmlTag_Scale[];
0152     DIGIKAM_EXPORT extern const char kmlTag_scale[];
0153     DIGIKAM_EXPORT extern const char kmlTag_Schema[];
0154     DIGIKAM_EXPORT extern const char kmlTag_SchemaData[];
0155     DIGIKAM_EXPORT extern const char kmlTag_SchemaField[];
0156     DIGIKAM_EXPORT extern const char kmlTag_ScreenOverlay[];
0157     DIGIKAM_EXPORT extern const char kmlTag_screenXY[];
0158     DIGIKAM_EXPORT extern const char kmlTag_shape[];
0159     DIGIKAM_EXPORT extern const char kmlTag_SimpleArrayData[];
0160     DIGIKAM_EXPORT extern const char kmlTag_SimpleArrayField[];
0161     DIGIKAM_EXPORT extern const char kmlTag_SimpleField[];
0162     DIGIKAM_EXPORT extern const char kmlTag_SimpleData[];
0163     DIGIKAM_EXPORT extern const char kmlTag_size[];
0164     DIGIKAM_EXPORT extern const char kmlTag_Snippet[];
0165     DIGIKAM_EXPORT extern const char kmlTag_south[];
0166     DIGIKAM_EXPORT extern const char kmlTag_sourceHref[];
0167     DIGIKAM_EXPORT extern const char kmlTag_state[];
0168     DIGIKAM_EXPORT extern const char kmlTag_Status[];
0169     DIGIKAM_EXPORT extern const char kmlTag_Style[];
0170     DIGIKAM_EXPORT extern const char kmlTag_StyleMap[];
0171     DIGIKAM_EXPORT extern const char kmlTag_StyleSelector[];
0172     DIGIKAM_EXPORT extern const char kmlTag_styleUrl[];
0173     DIGIKAM_EXPORT extern const char kmlTag_targetHref[];
0174     DIGIKAM_EXPORT extern const char kmlTag_tessellate[];
0175     DIGIKAM_EXPORT extern const char kmlTag_text[];
0176     DIGIKAM_EXPORT extern const char kmlTag_textColor[];
0177     DIGIKAM_EXPORT extern const char kmlTag_tileSize[];
0178     DIGIKAM_EXPORT extern const char kmlTag_tilt[];
0179     DIGIKAM_EXPORT extern const char kmlTag_TimeSpan[];
0180     DIGIKAM_EXPORT extern const char kmlTag_TimeStamp[];
0181     DIGIKAM_EXPORT extern const char kmlTag_topFov[];
0182     DIGIKAM_EXPORT extern const char kmlTag_Update[];
0183     DIGIKAM_EXPORT extern const char kmlTag_Url[];
0184     DIGIKAM_EXPORT extern const char kmlTag_value[];
0185     DIGIKAM_EXPORT extern const char kmlTag_viewBoundScale[];
0186     DIGIKAM_EXPORT extern const char kmlTag_viewFormat[];
0187     DIGIKAM_EXPORT extern const char kmlTag_viewRefreshMode[];
0188     DIGIKAM_EXPORT extern const char kmlTag_viewRefreshTime[];
0189     DIGIKAM_EXPORT extern const char kmlTag_ViewVolume[];
0190     DIGIKAM_EXPORT extern const char kmlTag_visibility[];
0191     DIGIKAM_EXPORT extern const char kmlTag_w[];
0192     DIGIKAM_EXPORT extern const char kmlTag_west[];
0193     DIGIKAM_EXPORT extern const char kmlTag_when[];
0194     DIGIKAM_EXPORT extern const char kmlTag_width[];
0195     DIGIKAM_EXPORT extern const char kmlTag_x[];
0196     DIGIKAM_EXPORT extern const char kmlTag_y[];
0197     DIGIKAM_EXPORT extern const char kmlTag_z[];
0198 
0199 
0200     // Google KML Extension Namespace (https://developers.google.com/kml/documentation/kmlreference#kml-extension-namespace-and-the-gx-prefix)
0201     DIGIKAM_EXPORT extern const char kmlTag_AnimatedUpdate[];
0202     DIGIKAM_EXPORT extern const char kmlTag_FlyTo[];
0203     DIGIKAM_EXPORT extern const char kmlTag_MultiTrack[];
0204     DIGIKAM_EXPORT extern const char kmlTag_Track[];
0205     DIGIKAM_EXPORT extern const char kmlTag_coord[];
0206     DIGIKAM_EXPORT extern const char kmlTag_delayedStart[];
0207     DIGIKAM_EXPORT extern const char kmlTag_SoundCue[];
0208     DIGIKAM_EXPORT extern const char kmlTag_Tour[];
0209     DIGIKAM_EXPORT extern const char kmlTag_TourControl[];
0210     DIGIKAM_EXPORT extern const char kmlTag_Wait[];
0211     DIGIKAM_EXPORT extern const char kmlTag_Playlist[];
0212     DIGIKAM_EXPORT extern const char kmlTag_playMode[];
0213     DIGIKAM_EXPORT extern const char kmlTag_balloonVisibility[];
0214 
0215     // preliminary implementation for the extra defined Tags
0216 
0217     DIGIKAM_EXPORT extern const char kmlTag_MarblePlacemark[];
0218     DIGIKAM_EXPORT extern const char kmlTag_area[];
0219     DIGIKAM_EXPORT extern const char kmlTag_pop[];
0220     DIGIKAM_EXPORT extern const char kmlTag_role[];
0221     DIGIKAM_EXPORT extern const char kmlTag_CountryNameCode[];
0222     DIGIKAM_EXPORT extern const char kmlTag_countrycode[];
0223 }
0224 
0225 // Helper macros
0226 #define KML_DEFINE_TAG_HANDLER_20(Name) GEODATA_DEFINE_TAG_HANDLER(kml, Kml, Name, kmlTag_nameSpace20)
0227 #define KML_DEFINE_TAG_HANDLER_21(Name) GEODATA_DEFINE_TAG_HANDLER(kml, Kml, Name, kmlTag_nameSpace21)
0228 #define KML_DEFINE_TAG_HANDLER_22(Name) GEODATA_DEFINE_TAG_HANDLER(kml, Kml, Name, kmlTag_nameSpace22)
0229 #define KML_DEFINE_TAG_HANDLER_OGC22(Name) GEODATA_DEFINE_TAG_HANDLER(kml, Kml, Name, kmlTag_nameSpaceOgc22)
0230 #define KML_DEFINE_TAG_HANDLER_GX22(Name) GEODATA_DEFINE_TAG_HANDLER(kml, Kml, Name, kmlTag_nameSpaceGx22)
0231 #define KML_DEFINE_TAG_HANDLER_MX(Name) GEODATA_DEFINE_TAG_HANDLER(kml, Kml, Name, kmlTag_nameSpaceMx)
0232 
0233 #define KML_DEFINE_TAG_HANDLER(Name) \
0234     KML_DEFINE_TAG_HANDLER_20(Name) \
0235     KML_DEFINE_TAG_HANDLER_21(Name) \
0236     KML_DEFINE_TAG_HANDLER_22(Name) \
0237     KML_DEFINE_TAG_HANDLER_OGC22(Name)
0238 
0239 }
0240 
0241 #endif