CartoType API
Classes | Public Member Functions
CartoType::CStyleSheetHandler Class Reference

#include <cartotype_map_style.h>

Inheritance diagram for CartoType::CStyleSheetHandler:
CartoType::Svg::MUnitConverter CartoType::Sax::TDefaultHandler CartoType::Sax::MContentHandler

List of all members.

Classes

class  TStackItem

Public Member Functions

 CStyleSheetHandler (CMap &aMap, const CPointerArray< CIcon > *aCustomIconList, CMapStyle &aMapStyle, Sax::CXmlReader &aXmlReader, MInputStream &aInputStream, const MDictionary< MString, int32 > &aVariableDictionary)
TResult StartElement (const MString &aUri, const MString &aLocalName, const MString &aQName, const Sax::MAttributes &aAttributes)
TResult EndElement (const MString &aUri, const MString &aLocalName, const MString &aQName)
MInputStreamInputStream ()
Sax::CXmlReaderSetXmlReader (Sax::CXmlReader *aReader)

Detailed Description

The handler for CartoType XML style sheet files.


Member Function Documentation

TResult CStyleSheetHandler::EndElement ( const MString aUri,
const MString aLocalName,
const MString aQName 
) [virtual]

Receive notification of the end of an element.

Normalise the style after it has been set by the style sheet by modifying certain parameters to improve drawing: adjust label positions if drawn above the line, suppress line borders if too narrow, or if they would obliterate the line, etc.

Reimplemented from CartoType::Sax::TDefaultHandler.

TResult CStyleSheetHandler::StartElement ( const MString aUri,
const MString aLocalName,
const MString aQName,
const Sax::MAttributes aAttributes 
) [virtual]

Receive notification of the beginning of an element.

Reimplemented from CartoType::Sax::TDefaultHandler.


The documentation for this class was generated from the following files: