Entering content frameProcedure documentationMapping Formats for Conversions Locate the document in its SAP Library structure

Importing RTF Files

Use

When importing RTF files, you should map the format templates of this file to character and paragraph formats of a SAPscript style or form. The maintenance of these conversions is divided into paragraph formats and character formats. You can map exactly one paragraph style to exactly one SAPscript paragraph format, but you can map one character style onto up to four SAPscript character formats.

Procedure

  1. Choose Tools ® SAPscript ® Administration ® Format conversion.
    The dialog window SAPscript Format conversion appears.
  2. Select Import RTF files and choose Continue.
  3. Enter the name of the document template.
  4. Enter the name of the form or style onto which you want to map the format templates.
  5. Choose Format conversion ® Create/Change.
  6. Choose Paragraph formats and/or Character formats. Enter the target format for each source format.
  7. Choose Save.
    The system saves the format conversion.
  8. When loading the RTF file, specify the format conversion of the document template.

Example

Format "Combi" contains the character formats bold and italic. In the style there is only a format ZF (bold) and a format ZK (italic). In the fromat conversion, a conversion from Combi to ZF and ZK is defined.

Note the special RTF descriptions that correspond to the Word standard descriptions (for example heading 1, annotation text), as well as the RTF notation of some characters, especially umlauts. Apart from this, the characters '\', '{', '}' and ';' should never appear in the format name. A previous style sheet import is always useful. To display the RTF standard descriptions, choose Environment ® RTF descriptions.

If you have already executed a style sheet import, the formats are already listed as source formats. In any case, the SAPscript character or paragraph formats are suggested as possible entries help for the target formats.

If no SAPscript paragraph is assigned to a paragraph format, the SAPscript default paragraph ("*") is used. If no target format is defined for a character format, this format is not evaluated.

Exporting RTF Files

Use

When exporting documents as RTF files, you should map the character and paragraph formats of a SAPscript style or form onto the format templates of the RTF file. The maintenance of these conversions is divided into paragraph formats and character formats. You can map a paragraph or character format to exactly one paragraph or character template.

Procedure

  1. Choose Tools ® SAPscript ® Administration ® Format conversion.
    The dialog window SAPscript Format conversion appears.
  2. Select Export RTF files and choose Continue.
  3. Enter the name of the form or style.
  4. Enter the name of the document template onto which you want to map the paragraph or character format.
  5. Choose Format conversion ® Create/Change.
  6. Choose Paragraph formats and/or Character formats. Enter the target format for each source format.
  7. Choose Save.
    The system saves the format conversion.
  8. When downloading the RTF file, specify the format conversion of the document template.

Note

If you do not select a style shoot prototype, you are merely renaming and evaluating the formats. A style sheet with format definitions from style or form is generated, in which only the names of the formats can deviate from the original SAPscript character and paragraph formats.

Via the dominant column, you can evaluate the formats. If, for example, these two character formats exist: Z1 meaning bold, Z2 meaning underscored. In Word you do not allow any underscores: but want to use a uniform format "emphasized" instead. Enter the following:

Determine format dominance

Source format

Target format

Dominant

Z1 (bold)

Emphasized

X

Z2 (underscored)

Emphasized

 

Word Document Templates (Prototypes)

Use

Word document templates (prototypes) are designed for the conversion of SAPscript formats to the formats of a document template that already exists.

Prerequisites

For example, you are working in Word with the document template ABC.DOT. You want to use this template on texts converted from SAPscript. To do this, you must first save a word text assigned to the document template as RTF file, for example, with the name of XYZ.DOT.

Procedure

  1. Choose Tools ® SAPscript ® Administration ® Format conversion.
    The dialog window SAPscript Format conversion appears.
  2. Select Word document templates (prototypes) and choose Continue.
  3. Enter the name of the document template.
  4. Choose Prototype ® Import.
  5. Enter the name of the appropriate RTF file and choose Continue. The system creates the prototype.

Format Conversion Between SAPscript Texts

Use

You can convert the paragraph and character formats of the form or style relevant for the text formatting to those of another form or style.

Example

SAPscript text ABC was until now formatted with the style STYL1 and form LAYOUT1. Now you want to assign a form LAYOUT2 to it.

 

You can map one paragraph format onto exactly one paragraph format, but you can map one character format onto up to four character formats.

Note

You can execute this format conversion also via the function module EXCHANGE_ITF. For more information, see Structure link EXCHANGE_ITF.

Procedure

  1. Choose Tools ® SAPscript ® Administration ® Format conversion.
    The dialog window SAPscript Format conversion appears.
  2. Select Format conversion in SAPscript texts and choose Continue.
  3. Enter the names of the forms and/or styles.
  4. Choose Format conversion ® Create/Change.
  5. Choose Paragraph formats and/or Character formats. Enter the target format for each source format.
  6. Choose Save.
    The system saves the format conversion.
  7. In the corresponding SAPscript text, assign the other form.

 

 

 

Leaving content frame