L-VIS User Manual
76
LOYTEC
Version 6.2
LOYTEC electronics GmbH
If the copy is pasted into a different project, the referenced data sources may not be
available at all. In this case, the required data sources are automatically created in the
destination project, so that the references may be resolved. For example, it is possible to
copy a page which operates on register data only, into a completely different project and the
page will function the same way it did in the original project. Registers which exist (for
example system registers) will be used directly, while others will be created as necessary.
8.5.3.2 Fonts
If the copied object uses custom fonts and the object is pasted into another project, these
fonts may or may not be available, depending on the setup of the destination project. The
software will search all loaded fonts in the destination project to find the required fonts
(based on the font size, type and family as displayed in the font dropdown list). If a suitable
font is found, it will be used automatically. If the required font is not loaded, the software
will try to load and use the font from the copied object. If this fails, for example because the
additional font would exceed the capacity of loadable fonts, an alternative font from the
destination project must be assigned by the user.
8.5.3.3 Images and Sounds
If the copied object uses images or sounds and the object is pasted into another project, the
referenced items will be copied to the destination project automatically, if they are not
available yet. This will ensure that the copied object stays fully functional.
8.5.3.4 Template References
If the copied object contains instances of templates and the object is pasted into another
project, the configuration software will try to identify a suitable template in the destination
project based on the number, type, and order of objects in the template. Template instances,
for which there is no suitable template available, will cause the original template from the
source project to be copied over to the destination project automatically.
NOTE:
It is possible to change details of the template like for example the position or other
properties of the contained objects, without causing problems for the software to recognize
the template as suitable for use. If a template is automatically created by a paste operation
and the template is then changed slightly before another paste operation requesting the
same template is executed, the template will not be created again. However, if significant
changes were done to the template in the meantime, the second paste operation will no
longer recognize the edited template as suitable (compared to the template from the source
project) and will therefore create a fresh copy of the template from the source.
8.5.4 XML Export / Import
Using the
Export to XML
command, objects in the tree view may be exported to an XML
file. The exported object will include all child objects, but there will be no information
about loaded user fonts or data points included in the XML output, so that importing the
XML file into a different project may lead to unresolved references to fonts or data points if
the project configuration of the destination project differs from the source project.
The
Import from XML
command is similar in function to a paste command. The difference
is that it reads the object to paste from a given XML file instead of the windows clipboard.