| 1 |
// Copyright (c) 1996 James Clark |
| 2 |
// See the file copying.txt for copying permission. |
| 3 |
|
| 4 |
#include "stylelib.h" |
| 5 |
|
| 6 |
#ifdef SP_MANUAL_INST |
| 7 |
|
| 8 |
#define SP_DEFINE_TEMPLATES |
| 9 |
#include <OpenSP/Vector.h> |
| 10 |
#include <OpenSP/NCVector.h> |
| 11 |
#include <OpenSP/Ptr.h> |
| 12 |
#include <OpenSP/Owner.h> |
| 13 |
#include <OpenSP/PointerTable.h> |
| 14 |
#include <OpenSP/OwnerTable.h> |
| 15 |
#include <OpenSP/NamedTable.h> |
| 16 |
#include <OpenSP/IList.h> |
| 17 |
#include <OpenSP/IListIter.h> |
| 18 |
#include <OpenSP/IQueue.h> |
| 19 |
#include <OpenSP/HashTable.h> |
| 20 |
#include <OpenSP/CharMap.h> |
| 21 |
#ifdef SP_SIZEOF_BOOL_1 |
| 22 |
#include <OpenSP/XcharMap.h> |
| 23 |
#endif |
| 24 |
#undef SP_DEFINE_TEMPLATES |
| 25 |
|
| 26 |
#include "Insn.h" |
| 27 |
#include "Expression.h" |
| 28 |
#include "Interpreter.h" |
| 29 |
#include "ELObj.h" |
| 30 |
#include "Style.h" |
| 31 |
#include "FOTBuilder.h" |
| 32 |
#include "ProcessingMode.h" |
| 33 |
#include "ProcessContext.h" |
| 34 |
#include "SosofoObj.h" |
| 35 |
#include "DssslSpecEventHandler.h" |
| 36 |
#include <OpenSP/Boolean.h> |
| 37 |
#include "Node.h" |
| 38 |
#include "DssslApp.h" |
| 39 |
#include "Pattern.h" |
| 40 |
#include "MacroFlowObj.h" |
| 41 |
|
| 42 |
#ifdef DSSSL_NAMESPACE |
| 43 |
class DSSSL_NAMESPACE::ProcessingMode; |
| 44 |
class DSSSL_NAMESPACE::SosofoObj; |
| 45 |
#else |
| 46 |
class ProcessingMode; |
| 47 |
class SosofoObj; |
| 48 |
#endif |
| 49 |
|
| 50 |
#if _MSC_VER >= 1100 |
| 51 |
|
| 52 |
#ifdef SP_NAMESPACE |
| 53 |
namespace SP_NAMESPACE { |
| 54 |
#endif |
| 55 |
|
| 56 |
#ifdef DSSSL_NAMESPACE |
| 57 |
using namespace DSSSL_NAMESPACE; |
| 58 |
#endif |
| 59 |
|
| 60 |
#ifdef GROVE_NAMESPACE |
| 61 |
using namespace GROVE_NAMESPACE; |
| 62 |
#endif |
| 63 |
|
| 64 |
#else |
| 65 |
|
| 66 |
#ifdef DSSSL_NAMESPACE |
| 67 |
namespace DSSSL_NAMESPACE { |
| 68 |
#endif |
| 69 |
|
| 70 |
#endif |
| 71 |
|
| 72 |
__instantiate(Ptr<Insn>) |
| 73 |
__instantiate(Owner<Expression>) |
| 74 |
__instantiate(Vector<const Identifier *>) |
| 75 |
__instantiate(NCVector<Owner<Expression> >) |
| 76 |
__instantiate(Vector<BoundVar>) |
| 77 |
__instantiate(Owner<FOTBuilder>) |
| 78 |
__instantiate(Owner<SaveFOTBuilder>) |
| 79 |
__instantiate(Owner<InputSource>) |
| 80 |
__instantiate(Vector<SymbolObj *>) |
| 81 |
__instantiate(Owner<OutputCharStream>) |
| 82 |
__instantiate(Ptr<Environment::FrameVarList>) |
| 83 |
__instantiate(ConstPtr<Environment::FrameVarList>) |
| 84 |
__instantiate(`PointerTable<SymbolObj *, StringC, Hash, SymbolObj>') |
| 85 |
__instantiate(NamedTableIter<Identifier>) |
| 86 |
__instantiate(Ptr<StyleSpec>) |
| 87 |
__instantiate(Ptr<InheritedC>) |
| 88 |
__instantiate(ConstPtr<InheritedC>) |
| 89 |
__instantiate(Vector<ConstPtr<InheritedC> >) |
| 90 |
__instantiate(Vector<const Vector<ConstPtr<InheritedC> > *>) |
| 91 |
__instantiate(Vector<const VarStyleObj *>) |
| 92 |
__instantiate(Ptr<InheritedCInfo>) |
| 93 |
__instantiate(NamedTable<ProcessingMode::ElementRules>) |
| 94 |
__instantiate(NamedTableIter<ProcessingMode::ElementRules>) |
| 95 |
__instantiate(NamedTableIter<ProcessingMode>) |
| 96 |
__instantiate(NCVector<ProcessingMode::GroveRules>) |
| 97 |
__instantiate(Vector<ProcessingMode::Rule>) |
| 98 |
__instantiate(Ptr<ProcessingMode::Action>) |
| 99 |
__instantiate(IList<ProcessingMode::ElementRule>) |
| 100 |
__instantiate(IListIter<ProcessingMode::ElementRule>) |
| 101 |
__instantiate(Vector<const ProcessingMode::ElementRule *>) |
| 102 |
__instantiate(IList<SaveFOTBuilder>) |
| 103 |
__instantiate(Vector<const ProcessingMode *>) |
| 104 |
__instantiate(Owner<FOTBuilder::DisplayGroupNIC>) |
| 105 |
__instantiate(Vector<SosofoObj *>) |
| 106 |
__instantiate(Vector<FOTBuilder *>) |
| 107 |
__instantiate(IQueue<NodeSaveFOTBuilder>) |
| 108 |
__instantiate(NCVector<IQueue<NodeSaveFOTBuilder> >) |
| 109 |
__instantiate(IList<ProcessContext::Connection>) |
| 110 |
__instantiate(IListIter<ProcessContext::Connection>) |
| 111 |
__instantiate(IList<ProcessContext::Connectable>) |
| 112 |
__instantiate(IListIter<ProcessContext::Connectable>) |
| 113 |
__instantiate(Ptr<PopList>) |
| 114 |
__instantiate(Vector<Ptr<InheritedCInfo> >) |
| 115 |
__instantiate(NCVector<ProcessContext::Port>) |
| 116 |
__instantiate(NCVector<CaseExpression::Case>) |
| 117 |
__instantiate(NamedTable<NumberCache::Entry>) |
| 118 |
__instantiate(NCVector<NamedTable<NumberCache::Entry> >) |
| 119 |
__instantiate(NamedTable<NumberCache::ElementEntry>) |
| 120 |
__instantiate(NCVector<NamedTable<NumberCache::ElementEntry> >) |
| 121 |
__instantiate(Vector<ELObj *>) |
| 122 |
__instantiate(Vector<ConstPtr<Insn> >) |
| 123 |
__instantiate(Vector<StyleObj *>) |
| 124 |
__instantiate(Vector<Vector<StyleObj *> >) |
| 125 |
__instantiate(IList<ProcessContext::Table>) |
| 126 |
__instantiate(IListIter<ProcessContext::Table>) |
| 127 |
__instantiate(Vector<String<char> >) |
| 128 |
__instantiate(Owner<LengthSpec>) |
| 129 |
__instantiate(Vector<FOTBuilder::MultiMode>) |
| 130 |
__instantiate(Vector<Vector<FOTBuilder::MultiMode> >) |
| 131 |
__instantiate(Vector<FOTBuilder::CharacterNIC>) |
| 132 |
__instantiate(`HashTable<StringC,FunctionObj *>') |
| 133 |
__instantiate(`HashTableItem<StringC,FunctionObj *>') |
| 134 |
__instantiate(Vector<DssslSpecEventHandler::Part *>) |
| 135 |
__instantiate(Vector<DssslSpecEventHandler::PartHeader *>) |
| 136 |
__instantiate(IListIter<DssslSpecEventHandler::BodyElement>) |
| 137 |
__instantiate(IList<DssslSpecEventHandler::BodyElement>) |
| 138 |
__instantiate(IListIter<DssslSpecEventHandler::PartHeader>) |
| 139 |
__instantiate(IList<DssslSpecEventHandler::PartHeader>) |
| 140 |
__instantiate(IListIter<DssslSpecEventHandler::Doc>) |
| 141 |
__instantiate(IList<DssslSpecEventHandler::Doc>) |
| 142 |
__instantiate(Owner<DssslSpecEventHandler::SpecPart>) |
| 143 |
__instantiate(Owner<Location>) |
| 144 |
__instantiate(Owner<FOTBuilder::DisplaySpace>) |
| 145 |
__instantiate(Owner<FOTBuilder::InlineSpace>) |
| 146 |
__instantiate(Owner<FOTBuilder::Address>) |
| 147 |
__instantiate(Vector<String<char> *>) |
| 148 |
__instantiate(`PointerTable<String<char> *, String<char>, Interpreter::StringSet, Interpreter::StringSet>') |
| 149 |
__instantiate(`OwnerTable<String<char>, String<char>, Interpreter::StringSet, Interpreter::StringSet>') |
| 150 |
__instantiate(Vector<FOTBuilder::GlyphId>) |
| 151 |
__instantiate(Ptr<FOTBuilder::GlyphSubstTable>) |
| 152 |
__instantiate(ConstPtr<FOTBuilder::GlyphSubstTable>) |
| 153 |
__instantiate(Vector<ConstPtr<FOTBuilder::GlyphSubstTable> >) |
| 154 |
__instantiate(Owner<FOTBuilder::ExtensionFlowObj>) |
| 155 |
__instantiate(Owner<FOTBuilder::CompoundExtensionFlowObj>) |
| 156 |
__instantiate(`HashTable<StringC,NodePtr>') |
| 157 |
__instantiate(`HashTableItem<StringC,NodePtr>') |
| 158 |
__instantiate(Vector<ProcessContext::NodeStackEntry>) |
| 159 |
__instantiate(Vector<const Pattern::Element *>) |
| 160 |
__instantiate(NCVector<Pattern>) |
| 161 |
__instantiate(IList<Pattern::Element>) |
| 162 |
__instantiate(IListIter<Pattern::Element>) |
| 163 |
__instantiate(IList<Pattern::Qualifier>) |
| 164 |
__instantiate(IListIter<Pattern::Qualifier>) |
| 165 |
__instantiate(Ptr<MacroFlowObj::Definition>) |
| 166 |
__instantiate(Owner<MacroFlowObj::S>) |
| 167 |
__instantiate(`HashTable<StringC,CharPart>') |
| 168 |
__instantiate(`HashTableItem<StringC,CharPart>') |
| 169 |
__instantiate(`HashTable<StringC,StringC>') |
| 170 |
__instantiate(`HashTableItem<StringC,StringC>') |
| 171 |
#ifdef SP_SIZEOF_BOOL_1 |
| 172 |
__instantiate(XcharMap<char>) |
| 173 |
__instantiate(SharedXcharMap<char>) |
| 174 |
__instantiate(Ptr<SharedXcharMap<char> >) |
| 175 |
__instantiate(ConstPtr<SharedXcharMap<char> >) |
| 176 |
#endif |
| 177 |
__instantiate(CharMap<ELObjPart>) |
| 178 |
__instantiate(CharMapPage<ELObjPart>) |
| 179 |
__instantiate(CharMapColumn<ELObjPart>) |
| 180 |
__instantiate(CharMapResource<ELObjPart>) |
| 181 |
__instantiate(Ptr<CharMapResource<ELObjPart> >) |
| 182 |
__instantiate(ConstPtr<CharMapResource<ELObjPart> >) |
| 183 |
#ifndef _MSC_VER |
| 184 |
__instantiate(`OneRefArgCall<FOTBuilder::Address>') |
| 185 |
__instantiate(`OneArgCall<char const *>') |
| 186 |
__instantiate(`OneRefArgCall<FOTBuilder::TableCellNIC>') |
| 187 |
__instantiate(`OneArgCall<FOTBuilder::Symbol>') |
| 188 |
__instantiate(`OneArgCall<unsigned int>') |
| 189 |
__instantiate(`OneArgCall<unsigned short>') |
| 190 |
__instantiate(`OneRefArgCall<FOTBuilder::CharacterNIC>') |
| 191 |
__instantiate(`OneRefArgCall<NodePtr>') |
| 192 |
__instantiate(`OneRefArgCall<FOTBuilder::LeaderNIC>') |
| 193 |
__instantiate(`OneArgCall<long>') |
| 194 |
__instantiate(`OneRefArgCall<FOTBuilder::GridNIC>') |
| 195 |
__instantiate(`OneRefArgCall<FOTBuilder::TableColumnNIC>') |
| 196 |
__instantiate(`OneRefArgCall<FOTBuilder::RuleNIC>') |
| 197 |
__instantiate(`OneRefArgCall<FOTBuilder::DisplayGroupNIC>') |
| 198 |
__instantiate(`OneRefArgCall<String<unsigned short> >') |
| 199 |
__instantiate(`OneRefArgCall<FOTBuilder::LengthSpec>') |
| 200 |
__instantiate(`OneRefArgCall<FOTBuilder::InlineNIC>') |
| 201 |
__instantiate(`OneRefArgCall<FOTBuilder::DisplayNIC>') |
| 202 |
__instantiate(`OneRefArgCall<FOTBuilder::TableNIC>') |
| 203 |
__instantiate(`OneRefArgCall<Vector<ConstPtr<FOTBuilder::GlyphSubstTable> > >') |
| 204 |
__instantiate(`OneRefArgCall<FOTBuilder::BoxNIC>') |
| 205 |
__instantiate(`OneRefArgCall<FOTBuilder::GridCellNIC>') |
| 206 |
__instantiate(`OneRefArgCall<FOTBuilder::DeviceRGBColor>') |
| 207 |
__instantiate(`OneRefArgCall<FOTBuilder::OptLengthSpec>') |
| 208 |
__instantiate(`OneArgCall<bool>') |
| 209 |
__instantiate(`OneRefArgCall<FOTBuilder::InlineSpace>') |
| 210 |
__instantiate(`OneRefArgCall<FOTBuilder::ExternalGraphicNIC>') |
| 211 |
__instantiate(`Owner<CharMap<NCVector<CharProp::addedProp_>::size_type> >') |
| 212 |
__instantiate(`CharMap<NCVector<CharProp::addedProp_>::size_type>') |
| 213 |
__instantiate(`CharMapColumn<NCVector<CharProp::addedProp_>::size_type>') |
| 214 |
__instantiate(`CharMapPage<NCVector<CharProp::addedProp_>::size_type>') |
| 215 |
__instantiate(`NCVector<CharProp::addedProp_>') |
| 216 |
__instantiate(`Vector<Ptr<ProcessContext::Validator> >') |
| 217 |
__instantiate(`Ptr<ProcessContext::Validator>') |
| 218 |
__instantiate(`OneRefArgCall<FOTBuilder::OptInlineSpace>') |
| 219 |
__instantiate(`NCVector<TransformationMode::Association>') |
| 220 |
__instantiate(`CharMap<MaybeIntegerCharPropValues::ValT_>') |
| 221 |
__instantiate(`CharMapColumn<MaybeIntegerCharPropValues::ValT_>') |
| 222 |
__instantiate(`CharMapPage<MaybeIntegerCharPropValues::ValT_>') |
| 223 |
__instantiate(`Vector<ProcessContext::Validator *>') |
| 224 |
__instantiate(`CharMap<PublicIdCharPropValues::ValT_>') |
| 225 |
__instantiate(`CharMapColumn<PublicIdCharPropValues::ValT_>') |
| 226 |
__instantiate(`CharMapPage<PublicIdCharPropValues::ValT_>') |
| 227 |
__instantiate(`Ptr<TransformationMode::Action>') |
| 228 |
__instantiate(`CharMap<BooleanCharPropValues::ValT_>') |
| 229 |
__instantiate(`CharMapColumn<BooleanCharPropValues::ValT_>') |
| 230 |
__instantiate(`CharMapPage<BooleanCharPropValues::ValT_>') |
| 231 |
__instantiate(`CharMap<IntegerCharPropValues::ValT_>') |
| 232 |
__instantiate(`CharMapColumn<IntegerCharPropValues::ValT_>') |
| 233 |
__instantiate(`CharMapPage<IntegerCharPropValues::ValT_>') |
| 234 |
__instantiate(`CharMap<ELObj *>') |
| 235 |
__instantiate(`CharMapColumn<ELObj *>') |
| 236 |
__instantiate(`CharMapPage<ELObj *>') |
| 237 |
__instantiate(`CharMap<SymbolCharPropValues::ValT_>') |
| 238 |
__instantiate(`CharMapColumn<SymbolCharPropValues::ValT_>') |
| 239 |
__instantiate(`CharMapPage<SymbolCharPropValues::ValT_>') |
| 240 |
__instantiate(`Vector<CreateSpecObj *>') |
| 241 |
__instantiate(`Owner<String<unsigned short> >') |
| 242 |
__instantiate(`String<unsigned short>') |
| 243 |
__instantiate(`Vector<CharProp *>') |
| 244 |
__instantiate(`OneRefArgCall<Vector<FOTBuilder::CharacterNIC> >') |
| 245 |
__instantiate(`Vector<FOTBuilder::CharacterNIC>') |
| 246 |
#endif |
| 247 |
|
| 248 |
#ifdef SP_NAMESPACE |
| 249 |
} |
| 250 |
#endif |
| 251 |
|
| 252 |
#endif /* SP_MANUAL_INST */ |