Export text and graphics

You can use the following techniques to export text and graphics:

  • Copy and paste between files and applications.

  • Save a document in another format.

  • Use print options to create a PostScript or EPS file.

  • Create a Portable Document Format (PDF) file.

  • Save as HTML, which can convert a document’s graphics to GIF, PNG, or JPEG format.

  • Save as XML.

  • Send the document as an e-mail attachment.

  • Use drag-and-drop techniques.

Using Save As to export to other formats

You can export a FrameMaker document to other applications by saving it in other formats. When you save a document in a word-processing format, it can be used in that application with most of its formatting intact. The available formats depend on the platform you’re using and the filters installed.

Two text-based file formats—Rich Text Format (RTF) and Maker Interchange Format (MIF)—are interchange formats. These formats are widely recognized by other programs and can often serve as a bridge from FrameMaker to an application that does not recognize the native format.

Saving MIF files

You can save FrameMaker files in the MIF 7.0 (MIF-Classic) or MIF 9.0 (MIF-Unicode) formats. When you choose to save a FrameMaker document as a MIF file, you can select the MIF 7.0 or MIF 9.0 option.

Choosing this format generates a MIF that is like the original format, which is forward-compatible. All Unicode content that can’t be represented in the earlier format is replaced with a character that you can configure using the configuration file, maker.ini.

Choosing this format generates a MIF that contains Unicode strings. All string data is in UTF‑8 format.

You can also save a document as an HTML, XML, or PDF file.

Send files in e-mail

You can send a document as an e-mail attachment if a mail system compatible with the Messaging Application Programming Interface (MAPI) is installed on your computer. If your computer is not yet configured for MAPI, Windows guides you through some dialog boxes when you first try to send a document. If you need assistance, ask your network administrator for help.

Note: The send e-mail menu and shortcut works only for single documents and not on a book file. You cannot send a book file via e-mail.
  1. Choose File > Send.

  2. Pick an e-mail profile to use from the Choose Profile dialog box, and click OK.

  3. Fill in the e-mail fields, and then send the message as you normally do.

Save a document containing SWF files as PDF, HTML, and XML files

You can save a document containing SWF files in PDF, HTML, and XML formats. Also, you can print documents containing SWF files.

Save documents containing SWF files as PDF

  1. Select File > Open, and then open the FrameMaker book or file containing SWF files.

  2. Select File > Save As PDF.

  3. You can change the save location and the filename if you want, and then click Save.

  4. Click Set in the PDF Setup dialog box to generate a PDF with the default settings. Or, set additional options, and then click Set. The SWF file imported into the book or file and it is saved. If you have installed Flash Player on your computer, you can open the PDF and play the SWF file.

Note: By default, FrameMaker is configured to embed SWF files in PDFs. However, you can disable this option (see Disable SWF file and 3D object embedding in PDF).

When you open a PDF containing a SWF file, the Manage Trust For Multimedia Content dialog box appears. Select the Play The Multimedia Content This One Time or Play The Multimedia Content And Add This Document To My List Of Trusted Documents option and click Play. Ensure that you have installed Adobe Reader® 8 or later, or Adobe Acrobat 3D version 8 or later, to view the generated PDF containing SWF files.

Save documents containing SWF files as HTML

You can import a SWF file into a document and save it as an HTML file. When you do this, a CSS file generates automatically. If you imported a SWF file by copying it into an Unstructured document, the SWF files are saved as GIFs with the HTML file. If you imported a SWF file by copying it into a Structured document, the SWF files are saved separately. When you open the HTML file, click the SWF content to play it.

  1. Select File > Open, and then open the FrameMaker book or file containing SWF files.

  2. Select File > Save As HTML.

  3. You can change the save location and the filename if you want, and then click Save.

Save documents with SWF files as XML

You can save a FrameMaker file containing a SWF file as XML. When you open the XML file in FrameMaker, the SWF file is preserved through XML roundtrip. To ensure roundtripping of SWF files, make sure that the XML file contains correct read write rules before you save the file as XML.

Note: Ensure that you create or open an XML file containing a graphic element definition before importing a SWF file into it.
  1. Select File > Open, and then open the XML file containing SWF files.

  2. Select File > Save As XML.

  3. You can change the save location and the filename if you want, and then click Save.

If the SWF content was embedded in the FrameMaker file, and the document is saved as XML, the SWF content is saved as an independent SWF file. In addition, a reference to SWF is created in the XML.

Print a FrameMaker file with SWF files

You can print a FrameMaker document with SWF files. The SWF files are printed as frames. If the first frame contains an image, the bitmap of the image is printed.

  1. Open the FrameMaker document containing SWF files.

  2. Select File > Print.

  3. Set the remaining print options as necessary, and then click Print. For information on the other options (see Print options).

Save a structured document in SGML or XML

You can save any structured FrameMaker document as SGML or XML. The contents, elements, and attributes from the document are preserved; however, formatting is not preserved. You can save to a different structured document type than the original (such as SGML to XML), but you may encounter errors due to differences in DTDs.

When you save Unicode content as an XML file, Adobe Product X.0 specifies the encoding automatically. By default, Adobe Product X.0 uses the UTF-8 encoding format.

Before saving a document as SGML or XML, you should validate it and correct any errors in the elements and attributes (see “Validating documents” on page 39). Otherwise, the markup may be invalid.

When saving structured XML documents, make sure valid XML element names start with a letter and contain only alphanumeric characters, periods, or hyphens. Spaces, underscores, and other characters in XML element names are invalid characters, and are either converted to hyphens (-) or generate errors.

Headings, tables, and reference pages are not used in XML export, and the default tag names are simply the format names.

Default encoding settings for exporting structured documents are ISO-8859-1 for SGML and UTF-8 for XML. If the structured document is an imported SGML or XML file, FrameMaker uses the encoding settings in the original file instead of the default settings.
  1. Select File > Save As.

  2. Specify a filename and location. You may want to add the appropriate extension (such as .sgm or .xml) to the filename.

  3. Select SGML or XML from the pop-up menu and click Save. If the document has an application associated with it, the document is saved.

  4. If the Set Structured Application dialog box appears, choose an application name from the Set Structured Application pop-up menu and click Continue. Then do one of the following:
    • To associate an application with the document, choose the name of an application.

    • To use default mapping and no read/write rules, choose <No Application>.

If FrameMaker finds any structure errors when you save a document, it lists error messages in a view-only error log. If a message refers to an error in the FrameMaker document, the message is linked to the document. For most errors, you can click the message to go to the location of the problem.

When you open the structured documents, import element definitions into them. You’ll probably need to make a few corrections to their structure.