In this version of Flare, you cannot edit DITA files natively. However, you can edit style classes that result from imported DITA elements.
When you import content from DITA files, there is a one-to-one conversion that occurs. For each DITA element in your file, a style class is created in Flare as a result.
example
Let's say you have a paragraph-level DITA element called "topictitle," after you import the file content, a style class called "h1.topictitle" might be created as a result in Flare. Or if you have a character-level DITA element called "cmdname," after you import the file, a style class called "span.cmdname" might be created as a result in Flare. If necessary, you can edit those style classes in Flare. If you generate DITA output from your project, the style classes are converted back to DITA elements.
How to edit DITA styles
Complete one of the following sets of steps, depending on whether you want to use the Simplified view or Advanced view in the Stylesheet Editor.
Warning: When editing styles, make sure the proper medium is selected in the Stylesheet Editor before you begin (you can do this from the Medium drop-down list). Flare remembers the last medium that you used when working in the style sheet, so it may or may not be the one that you want to use the next time around. If you want all mediums to use the same setting, select the "default" medium and the properties will "trickle down" to the other mediums. If you are not using different mediums, you do not need to worry about selecting one when you edit styles.
Note: In addition to the many properties that can be set in either the Simplified or Advanced view, there is a special "mc-dita-type" property that lets you change the default value for a DITA element when you generate output. This property can be changed only in the Advanced view.
For example, DITA lets you specify two different kinds of tables—table and simpletable. Table is the default type. If you intend to generate DITA output from Flare and want to use the simpletable type instead of the table, you would use the following steps to select the appropriate style class, locate the mc-dita-type property, and type simpletable in the value field.
For more details, see the following steps under "If using the Advanced view."
If using the Simplified view:
(which means that the Simplified view is currently shown in the editor). If the button displays
instead, then click it.
in the upper-left corner of the Stylesheet Editor to limit which styles are shown in the editor. For example, if you select Show All Styles, then all styles will be displayed. If you select Show Paragraph Styles, only paragraph styles will be displayed. If you select Show Table Styles, only table styles will be displayed.
. The Properties dialog opens.If using the Advanced view:
(which means that the Advanced view is currently shown in the editor). If the button displays
instead, then click it.
in the upper-left corner of the Stylesheet Editor to limit which styles are shown in the editor. For example, if you select Show All Styles, then all styles will be displayed. If you select Show Paragraph Styles, then only paragraph styles will be displayed. If you select Show Table Styles, then only table styles will be displayed.In the Styles section of the editor, select the style that you want to edit.
Note: If you want to limit the list of styles to only those that you tend to use in your project, you can disable the styles that you do not want to see. This does not delete those styles; it merely hides them from view. See Disabling Styles.
on the upper-right side of the editor, select any of the options shown to determine which properties are displayed below. This is simply a way to find the appropriate property as quickly as possible.
next to it.Note: If you want to a edit the special "mc-dita-type" property for a style, it is probably easiest to select Property Groups.
In the Properties section, locate the specific property that you want to change.
The property name is shown in the left column. The right column is used for selecting and entering values for the property.
Note: If you want to a edit the special "mc-dita-type" property for a style, click the plus button
next to the DITA property group. The mc-dita-type property is shown under it.
If you completed values in a popup, click OK at the bottom of the box.
As you make changes to a property's values, you can see how the changes look in the Preview section at the bottom of the editor.
to save your work.