LazReport

Вопросы программирования и использования среды Lazarus.

Модератор: Модераторы

Re: LazReport

Сообщение alexs » 20.06.2012 20:36:58

На данный момент экспорт там в зачаточно состоянии.
У меня в планах есть это доделать. Немного позже...
Если есть желание - можешь и сам попробовать.

Добавлено спустя 1 час 17 минут 12 секунд:
http://bugs.freepascal.org/view.php?id=22296
Очередной патчик. Теперь будет работать поиск в окне просмотра сформированного отчёта.
Также исправлена ошибка вставки переменной/поля в редактор скрипта.
Аватара пользователя
alexs
долгожитель
 
Сообщения: 4060
Зарегистрирован: 15.05.2005 23:17:07
Откуда: г.Ставрополь

Re: LazReport

Сообщение mkazakov » 24.10.2012 11:52:55

Начал ставить патч так.
Код: Выделить всё
C:\lazarus\fpc\2.6.0\bin\i386-win32\patch < C:\lazreport\lr.diff


в процессе выходи вот такое дело

Код: Выделить всё
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2748 of patch
can't find file to patch at input line 2748
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2754 of patch
can't find file to patch at input line 2754
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2760 of patch
can't find file to patch at input line 2760
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2766 of patch
can't find file to patch at input line 2766
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2772 of patch
can't find file to patch at input line 2772
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2778 of patch
can't find file to patch at input line 2778
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2784 of patch
can't find file to patch at input line 2784
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2790 of patch
can't find file to patch at input line 2790
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2796 of patch
can't find file to patch at input line 2796
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2802 of patch
can't find file to patch at input line 2802
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2808 of patch
can't find file to patch at input line 2808
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2814 of patch
can't find file to patch at input line 2814
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2820 of patch
can't find file to patch at input line 2820
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2826 of patch
can't find file to patch at input line 2826
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2832 of patch
can't find file to patch at input line 2832
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2838 of patch
can't find file to patch at input line 2838
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2844 of patch
can't find file to patch at input line 2844
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2850 of patch
can't find file to patch at input line 2850
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2856 of patch
can't find file to patch at input line 2856
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2862 of patch
can't find file to patch at input line 2862
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2868 of patch
can't find file to patch at input line 2868
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2874 of patch
can't find file to patch at input line 2874
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2880 of patch
can't find file to patch at input line 2880
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2886 of patch
can't find file to patch at input line 2886
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2892 of patch
can't find file to patch at input line 2892
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2898 of patch
can't find file to patch at input line 2898
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2904 of patch
can't find file to patch at input line 2904
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2910 of patch
can't find file to patch at input line 2910
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2916 of patch
can't find file to patch at input line 2916
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2922 of patch
can't find file to patch at input line 2922
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2928 of patch
can't find file to patch at input line 2928
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2934 of patch
can't find file to patch at input line 2934
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2940 of patch
can't find file to patch at input line 2940
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2946 of patch
can't find file to patch at input line 2946
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2952 of patch
can't find file to patch at input line 2952
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2958 of patch
can't find file to patch at input line 2958
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2964 of patch
can't find file to patch at input line 2964
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2970 of patch
can't find file to patch at input line 2970
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2976 of patch
can't find file to patch at input line 2976
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2982 of patch
can't find file to patch at input line 2982
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2988 of patch
can't find file to patch at input line 2988
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 2994 of patch
can't find file to patch at input line 2994
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 3000 of patch
can't find file to patch at input line 3000
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 3006 of patch
can't find file to patch at input line 3006
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 3012 of patch
can't find file to patch at input line 3012
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 3018 of patch
can't find file to patch at input line 3018
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 3024 of patch
can't find file to patch at input line 3024
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 3030 of patch
can't find file to patch at input line 3030
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 3036 of patch
can't find file to patch at input line 3036
Perhaps you should have used the -p or --strip option?
File to patch:
Skip this patch? [y]
Skipping patch.
missing header for unified diff at line 3042 of patch
Завершить выполнение пакетного файла [Y(да)/N(нет)]?


что можете посоветовать?
mkazakov
новенький
 
Сообщения: 52
Зарегистрирован: 24.02.2012 14:04:14
Откуда: Балаково

Re: LazReport

Сообщение alexs » 24.10.2012 20:27:57

А зачем- там же написано:
Resolution fixed
Оно уже в исходниках.
Аватара пользователя
alexs
долгожитель
 
Сообщения: 4060
Зарегистрирован: 15.05.2005 23:17:07
Откуда: г.Ставрополь

Re: LazReport

Сообщение mkazakov » 25.10.2012 08:37:52

А где скачать уже с исправлениями?
mkazakov
новенький
 
Сообщения: 52
Зарегистрирован: 24.02.2012 14:04:14
Откуда: Балаково

Re: LazReport

Сообщение alexs » 25.10.2012 10:24:04

в svn или в теккуущх ночных сборках.
На форуме ссылки не раз писались.
Аватара пользователя
alexs
долгожитель
 
Сообщения: 4060
Зарегистрирован: 15.05.2005 23:17:07
Откуда: г.Ставрополь

Re: LazReport

Сообщение mkazakov » 25.10.2012 11:27:41

Не нашел
mkazakov
новенький
 
Сообщения: 52
Зарегистрирован: 24.02.2012 14:04:14
Откуда: Балаково

Re: LazReport

Сообщение alexs » 25.10.2012 12:02:08

Аватара пользователя
alexs
долгожитель
 
Сообщения: 4060
Зарегистрирован: 15.05.2005 23:17:07
Откуда: г.Ставрополь

Re: LazReport

Сообщение mkazakov » 26.10.2012 13:29:13

Вы меня наверное не поняли, мне нужен готовый пакет lazreport с вашими патчами, а посылке там пакеты lazarus и fpc.
mkazakov
новенький
 
Сообщения: 52
Зарегистрирован: 24.02.2012 14:04:14
Откуда: Балаково

Re: LazReport

Сообщение Vadim » 26.10.2012 14:33:53

mkazakov писал(а):а посылке там пакеты lazarus и fpc.

А в Lazarus - готовый пакет Lazreport. ;)
Vadim
долгожитель
 
Сообщения: 4112
Зарегистрирован: 05.10.2006 08:52:59
Откуда: Красноярск

Re: LazReport

Сообщение mkazakov » 27.10.2012 23:02:58

Vadim писал(а):mkazakov писал(а):
а посылке там пакеты lazarus и fpc.

А в Lazarus - готовый пакет Lazreport.


Очень смешно, все версии которые там были поставил и не обнаружил LazReport.
mkazakov
новенький
 
Сообщения: 52
Зарегистрирован: 24.02.2012 14:04:14
Откуда: Балаково

Re: LazReport

Сообщение Ichthyander » 27.10.2012 23:21:42

mkazakov писал(а):Очень смешно, все версии которые там были поставил и не обнаружил LazReport.

А где смотрели? Разве там нет такой папки /lazarus/components/lazreport/?
Аватара пользователя
Ichthyander
энтузиаст
 
Сообщения: 686
Зарегистрирован: 04.04.2007 08:32:43
Откуда: Астрахань

Re: LazReport

Сообщение svk12 » 27.10.2012 23:26:19

Он не предустановлен.
Надо открыть файл
"\lazarus\components\lazreport\source\lazreport.lpk"
и установить его.
svk12
постоялец
 
Сообщения: 408
Зарегистрирован: 09.06.2008 18:42:47

Re: LazReport

Сообщение AnacRon » 29.10.2012 07:10:56

alexkam писал(а):А можно ли экспортировать из lazreport-а в MS Word например?

Это не кросс-платформненно. Наверное лучше взять OpenDocument Format, тем более, что Microsoft Office начиная с 2007 SP2 это уже может открывать.
Аватара пользователя
AnacRon
новенький
 
Сообщения: 47
Зарегистрирован: 16.12.2009 11:09:09
Откуда: Караганда

Re: LazReport

Сообщение alexs » 29.10.2012 13:54:42

Кстати - насчёт экспорта.
Сейчас появились две дополнительные компоненты экспорта - в html и в картинку (bmp, jpeg ...) - очень хорошо преобразуют. Идут в папке addons Lazreport-а.
Аватара пользователя
alexs
долгожитель
 
Сообщения: 4060
Зарегистрирован: 15.05.2005 23:17:07
Откуда: г.Ставрополь

Re: LazReport

Сообщение mkazakov » 31.10.2012 10:18:10

Ребята есть такая проблема делаю отчет.

в designer

Изображение

в preview

Изображение

как мне сдвинуть вниз master data в designer я сдвигаю вниз а в preview он все равно сверху

----
mkazakov
новенький
 
Сообщения: 52
Зарегистрирован: 24.02.2012 14:04:14
Откуда: Балаково

Пред.След.

Вернуться в Lazarus

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 14

Рейтинг@Mail.ru