Command WR GET DOCUMENT INFO

4D Write

WR GET DOCUMENT INFO

version 6.5


WR GET DOCUMENT INFO (area; string; subject; author; company; notes; creationDate; creationTime; modifDate; modifTime; lock)

ParameterTypeDescription
areaLongint4D Write area
stringStringTitle of the document
subjectStringSubject of the document
authorStringAuthor of the document
companyStringCompany name
notesStringDocument notes
creationDateDateCreation date
creationTimeTimeCreation time
modifDateDateLast modification date
modifTimeTimeLast modification time
lockInteger0=unlocked
1=locked

Description

The WR GET DOCUMENT INFO command allows you to retrieve document information as displayed in the Document information dialog. The Document information dialog is displayed by selecting Document information from the Tools menu.

Some of this information such as the document subject, the author's name, the company name and the notes can be set using the WR SET DOCUMENT INFO command.

lock can be set using the WR LOCK DOCUMENT command. It is a logical lock that prevents the user from modifying the document. It affects user operations such as Paste, Cut, text entry, modify or replace attributes. The user can still browse the document, copy text, perform some character searches or print the document.

creationDate, creationTime, modifDate, modifTime are automatically updated by 4D Write when the document is saved.

Example

See the example for the WR SET DOCUMENT INFO command.

See Also

WR SET DOCUMENT INFO.