|
Storing object style information in the document |
Scroll |
If an object (line, hatch or text) uses a non–system style, there are two methods to store the information about this style in the document.
Method 1: the style is stored inside the document (embedded style).
Method 2: a link to a library that contains the style is stored (library style).
|
You can view all the links in a current document, including links to external style libraries, in the External References tab in the document information dialog box. To open this dialog box, run the File – Document information... command. |
Just like documents, style sets can contain either styles themselves or references to library styles.
When a style contained directly in the set is applied to an object, the style is copied into the document; in other words, the first method of storing style information is implemented.
When a style contained in a set as a reference is applied to an object, a reference to the selected style is also created in the document; in other words, the second method of storing style information is implemented.
If you modify a style stored inside the document, the modifications will only apply to this document: the appearance of all objects with this style will change.
Editing a style stored in the library affects all documents that contain objects using that style.
If a document contains a hatch or text with library style, and this library is not found when opening the document (the library may have been deleted, moved or renamed), a warning dialog appears. This dialog box contains the full name of the missing library and the control buttons.
If the library is found but contains no hatch or text style with the specified number, then the style is replaced according to the following rule:
•instead of a missing hatch style — system style Metal,
•instead of a missing text style — corresponding system style (Text On Drawing, Dimension Texts, etc.).
If you try to open a document that uses a library style, but this library or this style is not found, then the message "Library files not found for certain styles or styles not found in the specified libraries" will appear on the screen.
The typeface of the line that uses the missing style won’t change in the document.