Browse Prior Art Database

Preserve File Extension for New Template File

IP.com Disclosure Number: IPCOM000119843D
Original Publication Date: 1991-Mar-01
Included in the Prior Art Database: 2005-Apr-02
Document File: 1 page(s) / 37K

Publishing Venue

IBM

Related People

Bell, L: AUTHOR [+3]

Abstract

This article describes a method to allow Line of Business (LOB) applications, vendor-supplied applications, and OfficeVision*/2 (OV/2) applications (which depend on specific data file extensions to be able to work) to have new templates that will start in OV/2.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 86% of the total text.

Preserve File Extension for New Template File

      This article describes a method to allow Line of Business
(LOB) applications, vendor-supplied applications, and OfficeVision*/2
(OV/2) applications (which depend on specific data file extensions to
be able to work) to have new templates that will start in OV/2.

      When New Icons Folder registers the template information for a
data object that will become a new template in the New Icons Folder,
it generates a completely unique filename and extension for the data
file which will be associated with the new template.  For
applications (associated with an OV/2 class) that depend on
particular file extensions to work correctly, this does not ensure
that the new extension is compatible with the application that
handled the original data file when it was brought into the New Icons
Folder.  As a result, the new templates will not work correctly when
invoked (opened) by the user if the file extension is incompatible
with the original handler and its associated class.

      To enable applications which route on extension to work with
OV/2, always preserve the original file extension of a data object
when using that data object to create a user-modified template. This
will be done at the time that the New Icons Folder calls registration
to register a template with OS/2 Office.  The registration API will
strip the filename.ext from the filespec of the file to be copied,
make sure that the data file is unique across...