Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2006.10.01;
Скачать: CL | DM;

Вниз

Статистика документа MSWord.   Найти похожие ветки 

 
erig   (2006-09-13 13:14) [0]

Здрасте!
Может кто нибудь подсказать как программно отобразить
статистику Вордовского документа?
Которая отображается через меню Файл->Свойство->Статистика
в Ворде.


 
Dmitrij_K   (2006-09-13 13:17) [1]

Range.ComputeStatistics(Param)

 wdStatisticWords = $00000000;
 wdStatisticLines = $00000001;
 wdStatisticPages = $00000002;
 wdStatisticCharacters = $00000003;
 wdStatisticParagraphs = $00000004;
 wdStatisticCharactersWithSpaces = $00000005;
 wdStatisticFarEastCharacters = $00000006;


 
erig   (2006-09-13 13:30) [2]

Спасибо!
А можешь сказать еще как отображать
время создания, изменения и т.д.


 
Dmitrij_K   (2006-09-13 13:38) [3]

см. FindFirst()


 
erig   (2006-09-13 13:41) [4]

Дак там не все.


 
Dmitrij_K   (2006-09-13 13:47) [5]

TSearchRec.FindData.*

ftCreationTime

Specifies a FILETIME structure containing the time the file was created. FindFirstFile and FindNextFile report file times in Coordinated Universal Time (UTC) format. These functions set the FILETIME members to zero if the file system containing the file does not support this time member. You can use the FileTimeToLocalFileTime function to convert from UTC to local time, and then use the FileTimeToSystemTime function to convert the local time to a SYSTEMTIME structure containing individual members for the month, day, year, weekday, hour, minute, second, and millisecond.

ftLastAccessTime

Specifies a FILETIME structure containing the time that the file was last accessed. The time is in UTC format; the FILETIME members are zero if the file system does not support this time member.

ftLastWriteTime

Specifies a FILETIME structure containing the time that the file was last written to. The time is in UTC format; the FILETIME members are zero if the file system does not support this time member.


 
Dmitrij_K   (2006-09-13 13:48) [6]

Оно?


 
erig   (2006-09-13 13:59) [7]

:(
увы
я это уже перепробовал давно


 
Dmitrij_K   (2006-09-13 14:02) [8]

И чем не подошло?


 
erig   (2006-09-13 14:11) [9]

Например нет даты когда был напечатан документ.


 
Dmitrij_K   (2006-09-13 14:23) [10]

Какоето из свойств Document.* BuiltinDocumentProperties(index) или CustomDocumentProperties(index)

 wdPropertyTimeLastPrinted = $0000000A;
 wdPropertyTimeCreated = $0000000B;
 wdPropertyTimeLastSaved = $0000000C;

в word200.pas написаны остальные свойства.


 
erig   (2006-09-13 14:53) [11]

спасибо! понял.

А не знаешь как сводку файла вывести?


 
Dmitrij_K   (2006-09-13 15:09) [12]

Что это?


 
erig   (2006-09-13 15:44) [13]

в свойстве файла есть закладка "сводка".


 
Dmitrij_K   (2006-09-13 15:57) [14]

это и есть сводка
BuiltinDocumentProperties и ComputeStatistics
параметры функций ищи в word2000.pas


 
erig   (2006-09-13 16:02) [15]

да я понял.
а если документ не вордоский?


 
Dmitrij_K   (2006-09-13 16:07) [16]

тогда хз



Страницы: 1 вся ветка

Текущий архив: 2006.10.01;
Скачать: CL | DM;

Наверх




Память: 0.49 MB
Время: 0.048 c
9-1136202138
hired
2006-01-02 14:42
2006.10.01
вода в GLScene


3-1153897920
Zouch
2006-07-26 11:12
2006.10.01
Диалог на подключение к БД


3-1154110257
Игорь__
2006-07-28 22:10
2006.10.01
Paradox: проблема с фильтрацией.


15-1157125721
real
2006-09-01 19:48
2006.10.01
Генератор афоризмов - существует такое?


3-1154037201
Адиль
2006-07-28 01:53
2006.10.01
Нереляционные базы данных