Use the following steps to create new topics by importing DITA file content.
How to create topics by importing DITA file content
If you have not imported DITA file content previously:
From the popup menu, select Add DITA Import File.
(Alternatively, you can also select Project>Import File>Add DITA Import File.)
Complete the options in the Add DITA Import File dialog and click Add.
The new FLIMPDITA file is added to the Imports subfolder in the Project Organizer and opens in the DITA Import Editor to the right, with several tabs shown.
If you have imported DITA file content previously and want to import more DITA files (to be included with this "batch"):
next to the Imports subfolder. Double-click the appropriate FLIMPDITA file (which is named after the DITA file that was at the top of the previous import).
The file opens in the DITA Import Editor to the right, with several tabs shown.
Note: You cannot select multiple DITAMAP files from different folders during the same import process. You must first import the DITAMAP file(s) from one folder; then create another import file (Project>Import File>Add DITA Import File) and import the DITAMAP file(s) from a second folder.
You can use the various options
Link Generated Files To Source Files This creates a connection between the original
If you use this option, a link icon
is added to the top of a linked file in the Flare interface. This lets you know that you need to edit the source file, rather than editing this file. If you remove the connection to the source file, this icon no longer displays on the file. Please note that if you have bound the project to source control, the icons used for source control take precedence over the link icon.
If you want to specify other settings for the import, click the Options tab and complete the available fields.
Conversion Styles This opens the DITA Import Styles Editor, which lets you specify how to convert each property of the DITA elements. If you do not enter a property value, the value from the DITA file is used. If you enter a property value, it overrides the value from the DITA file. You can also use the dialog to import and export styles.
Note: 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. For example, let's say you have a paragraph-level DITA element called "topictitle," after you import the file, 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 later edit those style classes in Flare
After you have made the necessary changes, click Import at the top of the DITA Import Editor.
The Accept Imported Documents dialog opens. The files that will be created as a result of the import are listed on the left. A preview of each file can be seen to the right when you click the file.
When you are finished previewing the files to be created, click Accept.
The new topics are added to the project.
Note: The Imported Files tab displays the files that were included in the most recent import from the source project.
Note: A link icon
displays next to file names that are imported from and linked to another Flare project, Microsoft Word documents, Adobe FrameMaker documents, or DITA file content. However, if you are also using the built-in source control technology, the source control icons have a higher precedence and will therefore be displayed instead.