To clearly understand the operation of copying a theme one should remember the following.
A theme is in the general case a set of layers contained in one or more maps (base tables of the theme) and, perhaps, layers of EDB and work layers of the given theme.
A theme can contain not all layers of the base tables; a layer in the theme can contain not all feature types contained in the layer of the base table as well.
Taking into account action of filters and scale zones can result in displaying in the theme not all features of the layers and feature types contained in the theme.
Links with tables for feature types in a theme are a subset of links with tables for types of base maps.
When copying a theme (the source theme further), in contrast to the operation of duplicating a theme (see chapter 14 “Cataloged themes”, subsection “Creating a theme from navigation window”), copying of contained components and displayed features is performed. At that, one can choose any of two variants:
a new map containing features only of those layers and types which are present in the theme is created in the destination GDB;
no new map is created, and for each layer of the theme a map of an EDB is specified, in which that layer should be copied.
The operation of copying a theme permits performing structural and spatial decomposition of maps. Structural decomposition is realized by selecting components which are to be copied, and spatial decomposition – by specifying the region of copying.
Generally the following actions are made when copying a theme:
a destination map with the structure similar to the source theme structure is created in the destination GDB. That is, the destination map will have the set of layers coinciding with the set of layers in the source theme; a set of feature types in every map layer will coincide with the set of types in the corresponding theme layer; links of map types with tables will correspond to links of theme types with tables;
features of all types present in layers of source theme falling into the region of copying are copied to created destination map;
tables linked with types of source theme layers and also queries built on the basis of these tables are copied to the destination GDB;
all library styles of source GDB used in the source theme and in copied components of the source map are copied to the library of the destination GDB;
a cataloged theme for created destination map which is identical to the source theme is created in the destination GDB.
If a filter is set in the theme and if it is turned on, only the features displayed when browsing a theme applying the filter are copied to the destination map.