* [Comm] OpenOffice 2.2.1 вот это да..... @ 2007-09-14 6:33 Шишков Евгений 2007-09-14 12:32 ` Peter Volkov 0 siblings, 1 reply; 16+ messages in thread From: Шишков Евгений @ 2007-09-14 6:33 UTC (permalink / raw) To: Community ALTLinux Здравствуйте. Написал в рассылку ОО. Ни ответа не привета. Даже письма своего не увидел. Поэтому пишу сюда. Есть документ, в котором куча мягких переносов. Попытался их удалить через поиск-замена. Ни чего не получилось. Оказывается: http://www.i-rs.ru/article/articleview/480/1/50/ Цитирую: С версии OpenOffice 2.0.2 и выше, функция поиска утратила некоторые свои возможности, необходимые для выявления и удаления мусора в тексте (мягких переносов, разрывов и др.). Круто. Даже слов нет. И как же их теперь удалять? -- С уважением, Шишков Евгений (evgen[собак]svi[тчк]pp[тчк]ru) ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] OpenOffice 2.2.1 вот это да..... 2007-09-14 6:33 [Comm] OpenOffice 2.2.1 вот это да Шишков Евгений @ 2007-09-14 12:32 ` Peter Volkov 2007-09-14 17:52 ` Евгений 0 siblings, 1 reply; 16+ messages in thread From: Peter Volkov @ 2007-09-14 12:32 UTC (permalink / raw) To: ALT Linux Community general discussions [-- Attachment #1: Type: text/plain, Size: 775 bytes --] В Птн, 14/09/2007 в 10:33 +0400, Шишков Евгений пишет: > http://www.i-rs.ru/article/articleview/480/1/50/ > Цитирую: > С версии OpenOffice 2.0.2 и выше, функция поиска утратила некоторые свои возможности, > необходимые для выявления и удаления мусора в тексте (мягких переносов, разрывов и др.). > > Круто. Даже слов нет. > И как же их теперь удалять? Кхм. Там внизу статьи, есть ссылка на обсуждение, где как раз дан ответ на ваш вопрос: "регулярные выражения" -- Peter. [-- Attachment #2: Эта часть сообщения подписана цифровой подписью --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] OpenOffice 2.2.1 вот это да..... 2007-09-14 12:32 ` Peter Volkov @ 2007-09-14 17:52 ` Евгений 2007-09-14 18:39 ` Michael Shigorin 2007-09-14 19:32 ` Maksim Otstavnov 0 siblings, 2 replies; 16+ messages in thread From: Евгений @ 2007-09-14 17:52 UTC (permalink / raw) To: ALT Linux Community general discussions Peter Volkov пишет: > В Птн, 14/09/2007 в 10:33 +0400, Шишков Евгений пишет: >> http://www.i-rs.ru/article/articleview/480/1/50/ >> Цитирую: >> С версии OpenOffice 2.0.2 и выше, функция поиска утратила некоторые свои возможности, >> необходимые для выявления и удаления мусора в тексте (мягких переносов, разрывов и др.). >> >> Круто. Даже слов нет. >> И как же их теперь удалять? > > Кхм. Там внизу статьи, есть ссылка на обсуждение, где как раз дан ответ > на ваш вопрос: > > "регулярные выражения" Что-то ни чего не пойму. И как же мне мягкие переносы найти с этими регулярными выражениями? ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] OpenOffice 2.2.1 вот это да..... 2007-09-14 17:52 ` Евгений @ 2007-09-14 18:39 ` Michael Shigorin 2007-09-14 19:32 ` Maksim Otstavnov 1 sibling, 0 replies; 16+ messages in thread From: Michael Shigorin @ 2007-09-14 18:39 UTC (permalink / raw) To: ALT Linux Community general discussions On Fri, Sep 14, 2007 at 09:52:36PM +0400, Евгений wrote: > >> http://www.i-rs.ru/article/articleview/480/1/50/ > >> Цитирую: С версии OpenOffice 2.0.2 и выше, функция поиска > >> утратила некоторые свои возможности, необходимые для > >> выявления и удаления мусора в тексте (мягких переносов, > >> разрывов и др.). Круто. Даже слов нет. > >> И как же их теперь удалять? > > Кхм. Там внизу статьи, есть ссылка на обсуждение, где как раз > > дан ответ на ваш вопрос: "регулярные выражения" > Что-то ни чего не пойму. И как же мне мягкие переносы найти > с этими регулярными выражениями? Думаю, лучше спросить в oo-discuss@ -- больше шансов быстрей получить ответ по существу нетривиальных вопросов по OOo. PS: прочитал "мелкомягкие переносы". Отдыхать пора :) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] OpenOffice 2.2.1 вот это да..... 2007-09-14 17:52 ` Евгений 2007-09-14 18:39 ` Michael Shigorin @ 2007-09-14 19:32 ` Maksim Otstavnov 2007-09-14 20:11 ` Alexej Kryukov 2007-09-15 3:33 ` Евгений 1 sibling, 2 replies; 16+ messages in thread From: Maksim Otstavnov @ 2007-09-14 19:32 UTC (permalink / raw) To: ALT Linux Community general discussions Hello Евгений, Friday, September 14, 2007, 9:52:36 PM, you wrote: >> "регулярные выражения" Е> Что-то ни чего не пойму. И как же мне мягкие переносы найти с этими Е> регулярными выражениями? Код "мягкого переноса" U+00AD, так что ищите "\x00AD". P.S.: В "Openoffice.org" есть (по крайней мере, была, вплоть до 2.0) такая детская болезнь левизны, что непечатные символы искались только при включенной их визуализации. Для мягкого переноса визуализация включается так: "Вид|Затенение полей". -- -- Maksim ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] OpenOffice 2.2.1 вот это да..... 2007-09-14 19:32 ` Maksim Otstavnov @ 2007-09-14 20:11 ` Alexej Kryukov 2007-09-15 3:35 ` Евгений 2007-09-15 3:33 ` Евгений 1 sibling, 1 reply; 16+ messages in thread From: Alexej Kryukov @ 2007-09-14 20:11 UTC (permalink / raw) To: ALT Linux Community general discussions On Friday 14 September 2007 23:32, Maksim Otstavnov wrote: > > Код "мягкого переноса" U+00AD, так что ищите "\x00AD". Можно проверить и убедиться, что в текущей версии это не работает. Там в свое время чинили поиск как раз на предмет того, чтобы мягкие переносы в составе строк игнорировались (т. е. поиск на "слово" должен находить и "сло\-во"), а в результате получилось, что их найти нельзя вообще. Насколько я понял, эта ошибка будет исправлена в OOo 2.3. См. http://qa.openoffice.org/issues/show_bug.cgi?id=75180. -- Regards, Alexey Kryukov <anagnost {at} yandex {dot} ru> Moscow State University Historical Faculty ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] OpenOffice 2.2.1 вот это да..... 2007-09-14 20:11 ` Alexej Kryukov @ 2007-09-15 3:35 ` Евгений 2007-09-15 5:07 ` kaf ` (2 more replies) 0 siblings, 3 replies; 16+ messages in thread From: Евгений @ 2007-09-15 3:35 UTC (permalink / raw) To: ALT Linux Community general discussions Alexej Kryukov пишет: > On Friday 14 September 2007 23:32, Maksim Otstavnov wrote: >> Код "мягкого переноса" U+00AD, так что ищите "\x00AD". > > Можно проверить и убедиться, что в текущей версии это не работает. > > Там в свое время чинили поиск как раз на предмет того, чтобы мягкие > переносы в составе строк игнорировались (т. е. поиск на "слово" должен > находить и "сло\-во"), а в результате получилось, что их найти нельзя > вообще. > > Насколько я понял, эта ошибка будет исправлена в OOo 2.3. См. > http://qa.openoffice.org/issues/show_bug.cgi?id=75180. > Упс. Быстрей бы вышел. А то у меня работа на 200 страниц, которую я начал делать в ОО. И там тысячи этих переносов. Пока не особо напрягают, но убрать их надо. ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] OpenOffice 2.2.1 вот это да..... 2007-09-15 3:35 ` Евгений @ 2007-09-15 5:07 ` kaf 2007-09-15 18:17 ` Maksim Otstavnov 2007-09-15 21:06 ` Евгений 2007-09-15 18:14 ` Maksim Otstavnov 2007-09-17 16:12 ` Michael Shigorin 2 siblings, 2 replies; 16+ messages in thread From: kaf @ 2007-09-15 5:07 UTC (permalink / raw) To: ALT Linux Community general discussions On Sat, Sep 15, 2007 at 07:35:25AM +0400, Евгений wrote: > Alexej Kryukov пишет: > > On Friday 14 September 2007 23:32, Maksim Otstavnov wrote: > >> Код "мягкого переноса" U+00AD, так что ищите "\x00AD". > > > > Можно проверить и убедиться, что в текущей версии это не работает. > > > > Там в свое время чинили поиск как раз на предмет того, чтобы мягкие > > переносы в составе строк игнорировались (т. е. поиск на "слово" должен > > находить и "сло\-во"), а в результате получилось, что их найти нельзя > > вообще. > > > > Насколько я понял, эта ошибка будет исправлена в OOo 2.3. См. > > http://qa.openoffice.org/issues/show_bug.cgi?id=75180. > > > Упс. Быстрей бы вышел. А то у меня работа на 200 страниц, которую я > начал делать в ОО. И там тысячи этих переносов. Пока не особо напрягают, > но убрать их надо. Если сильно надо, то можно разzip'овать файл otd, найти там Content.xml (по моему так) удалить из него вручную или написать программу (xslt, или на языке, что работает с XML) удаляющую то что надо а затем собрать ODT взад :-) Гемморойно, но резултат гарантирован. Тем более можно делать и более сложные преобразования. В свое время при написании книги я таким образом вставлят тексты программ из файлов в ODT-документ и делал необходимые преобразования подписей, заголовокв и т.п. Кстати есть возможность создать свой фильтр XML прямо в openoffice, но сам я никогда это не пробовал. > > _______________________________________________ > community mailing list > community@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/community -- С Уважением Костарев А.Ф. ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] OpenOffice 2.2.1 вот это да..... 2007-09-15 5:07 ` kaf @ 2007-09-15 18:17 ` Maksim Otstavnov 2007-09-16 14:16 ` kaf 2007-09-15 21:06 ` Евгений 1 sibling, 1 reply; 16+ messages in thread From: Maksim Otstavnov @ 2007-09-15 18:17 UTC (permalink / raw) To: ALT Linux Community general discussions Hello kaf, Saturday, September 15, 2007, 9:07:42 AM, you wrote: knr> Если сильно надо, то можно разzip'овать файл otd, найти там Content.xml knr> (по моему так) удалить из него вручную или написать программу (xslt, или knr> на языке, что работает с XML) удаляющую то что надо knr> а затем собрать ODT взад :-) knr> Гемморойно, но резултат гарантирован. knr> Тем более можно делать и более сложные преобразования. knr> В свое время при написании книги я таким образом вставлят тексты knr> программ из файлов в ODT-документ и делал необходимые преобразования knr> подписей, заголовокв и т.п. В смысле, вручную, или какие-то скрипты писали? Если последнее, то хорошо бы их выложить куда-то. -- -- Maksim ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] OpenOffice 2.2.1 вот это да..... 2007-09-15 18:17 ` Maksim Otstavnov @ 2007-09-16 14:16 ` kaf 0 siblings, 0 replies; 16+ messages in thread From: kaf @ 2007-09-16 14:16 UTC (permalink / raw) To: Maksim Otstavnov, ALT Linux Community general discussions On Sat, Sep 15, 2007 at 10:17:12PM +0400, Maksim Otstavnov wrote: > Hello kaf, > > Saturday, September 15, 2007, 9:07:42 AM, you wrote: > > knr> Если сильно надо, то можно разzip'овать файл otd, найти там Content.xml > knr> (по моему так) удалить из него вручную или написать программу (xslt, или > knr> на языке, что работает с XML) удаляющую то что надо > knr> а затем собрать ODT взад :-) > knr> Гемморойно, но резултат гарантирован. > knr> Тем более можно делать и более сложные преобразования. > knr> В свое время при написании книги я таким образом вставлят тексты > knr> программ из файлов в ODT-документ и делал необходимые преобразования > knr> подписей, заголовокв и т.п. > > В смысле, вручную, или какие-то скрипты писали? Если последнее, то > хорошо бы их выложить куда-то. Это было года 3-4 назад - во время написания книги по PHP5 (BHV http://www.bhv.ru/books/book.php?id=6643) книга была написана совместно с Дмитрием Котеровым. Я писал главы по XML/XSLT так что работа с Content.xml прямо ложилась на тему глав книги:-) Скрипты на PHP5 в основном выполняли следующие функции: 1. Включение текста программ из файлов в текст документа и формирование подписей. 2. Проверка соответствия содержания глав стилям, прядъявляемым издательством BHV к документу (перечислением, стилям подписей Листингов, Рисунков и т.п. После формирования и проверки глав я из OpenOffice-формат (в то время sxw) записывал его в DOC-формат и передавал в редакцию... Если кого интересует я постараюсь найти эти скрипты, но повторюсь - они написаны на PHP5 > -- > -- Maksim > > > _______________________________________________ > community mailing list > community@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/community -- С Уважением Костарев А.Ф. ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] OpenOffice 2.2.1 вот это да..... 2007-09-15 5:07 ` kaf 2007-09-15 18:17 ` Maksim Otstavnov @ 2007-09-15 21:06 ` Евгений 2007-09-15 22:05 ` Alexej Kryukov 1 sibling, 1 reply; 16+ messages in thread From: Евгений @ 2007-09-15 21:06 UTC (permalink / raw) To: ALT Linux Community general discussions kaf@nevod.ru пишет: Пока не особо напрягают, >> но убрать их надо. > Если сильно надо, то можно разzip'овать файл otd, найти там Content.xml > (по моему так) удалить из него вручную или написать программу (xslt, или > на языке, что работает с XML) удаляющую то что надо > а затем собрать ODT взад :-) > Гемморойно, но резултат гарантирован. > Тем более можно делать и более сложные преобразования. > В свое время при написании книги я таким образом вставлят тексты > программ из файлов в ODT-документ и делал необходимые преобразования > подписей, заголовокв и т.п. > > Кстати есть возможность создать свой фильтр XML прямо в openoffice, > но сам я никогда это не пробовал. Вот Вам и замена M$. Если сильно надо, то его именно (M$Office) и использовать..... ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] OpenOffice 2.2.1 вот это да..... 2007-09-15 21:06 ` Евгений @ 2007-09-15 22:05 ` Alexej Kryukov 0 siblings, 0 replies; 16+ messages in thread From: Alexej Kryukov @ 2007-09-15 22:05 UTC (permalink / raw) To: ALT Linux Community general discussions On Sunday 16 September 2007 01:06, Евгений wrote: > > > > Кстати есть возможность создать свой фильтр XML прямо в openoffice, > > но сам я никогда это не пробовал. > > Вот Вам и замена M$. Если сильно надо, то его именно (M$Office) и > использовать..... В смысле? Правда, такая рекомендация и в самом деле содержалась в статье, со ссылки на которую начался тред, но конкретно в том письме, на которое Вы отвечали, как будто ничего на эту мысль не наводит. -- Regards, Alexey Kryukov <anagnost {at} yandex {dot} ru> Moscow State University Historical Faculty ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] OpenOffice 2.2.1 вот это да..... 2007-09-15 3:35 ` Евгений 2007-09-15 5:07 ` kaf @ 2007-09-15 18:14 ` Maksim Otstavnov 2007-09-17 4:18 ` Шишков Евгений 2007-09-17 16:12 ` Michael Shigorin 2 siblings, 1 reply; 16+ messages in thread From: Maksim Otstavnov @ 2007-09-15 18:14 UTC (permalink / raw) To: ALT Linux Community general discussions Hello Евгений, Saturday, September 15, 2007, 7:35:25 AM, you wrote: >> Насколько я понял, эта ошибка будет исправлена в OOo 2.3. См. >> http://qa.openoffice.org/issues/show_bug.cgi?id=75180. >> Е> Упс. Быстрей бы вышел. А то у меня работа на 200 страниц, которую я Е> начал делать в ОО. И там тысячи этих переносов. Пока не особо напрягают, Е> но убрать их надо. Может быть, поставить для этой работы OO.o 2.0? Или попросить кого-то, у кого он стоит, взять файл с документом и снести softspaces? -- -- Maksim ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] OpenOffice 2.2.1 вот это да..... 2007-09-15 18:14 ` Maksim Otstavnov @ 2007-09-17 4:18 ` Шишков Евгений 0 siblings, 0 replies; 16+ messages in thread From: Шишков Евгений @ 2007-09-17 4:18 UTC (permalink / raw) To: Maksim Otstavnov, ALT Linux Community general discussions Maksim Otstavnov пишет: > Hello Евгений, > > Saturday, September 15, 2007, 7:35:25 AM, you wrote: > >>> Насколько я понял, эта ошибка будет исправлена в OOo 2.3. См. >>> http://qa.openoffice.org/issues/show_bug.cgi?id=75180. >>> > Е> Упс. Быстрей бы вышел. А то у меня работа на 200 страниц, которую я > Е> начал делать в ОО. И там тысячи этих переносов. Пока не особо напрягают, > Е> но убрать их надо. > > Может быть, поставить для этой работы OO.o 2.0? Или попросить кого-то, > у кого он стоит, взять файл с документом и снести softspaces? > Дык вот не нашёл пока. Качать - особо инета нету. В общем что было - ручками перелопатил. Вроде там даже не так и много было. ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] OpenOffice 2.2.1 вот это да..... 2007-09-15 3:35 ` Евгений 2007-09-15 5:07 ` kaf 2007-09-15 18:14 ` Maksim Otstavnov @ 2007-09-17 16:12 ` Michael Shigorin 2 siblings, 0 replies; 16+ messages in thread From: Michael Shigorin @ 2007-09-17 16:12 UTC (permalink / raw) To: ALT Linux Community general discussions On Sat, Sep 15, 2007 at 07:35:25AM +0400, Евгений wrote: > > Насколько я понял, эта ошибка будет исправлена в OOo 2.3. См. > > http://qa.openoffice.org/issues/show_bug.cgi?id=75180. > Упс. Быстрей бы вышел. А то у меня работа на 200 страниц, > которую я начал делать в ОО. И там тысячи этих переносов. Пока > не особо напрягают, но убрать их надо. Недавно adiel@ крутил в руках, довольно сильно радовался. В сторонку от пользователя оно свои rpm-ки тоже ставит, хотя скрипт setup (и его выхлоп) лучше не читать на ночь. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] OpenOffice 2.2.1 вот это да..... 2007-09-14 19:32 ` Maksim Otstavnov 2007-09-14 20:11 ` Alexej Kryukov @ 2007-09-15 3:33 ` Евгений 1 sibling, 0 replies; 16+ messages in thread From: Евгений @ 2007-09-15 3:33 UTC (permalink / raw) To: Maksim Otstavnov, ALT Linux Community general discussions Maksim Otstavnov пишет: > Hello Евгений, > > Friday, September 14, 2007, 9:52:36 PM, you wrote: > >>> "регулярные выражения" > Е> Что-то ни чего не пойму. И как же мне мягкие переносы найти с этими > Е> регулярными выражениями? > > Код "мягкого переноса" U+00AD, так что ищите "\x00AD". > > P.S.: В "Openoffice.org" есть (по крайней мере, была, вплоть до 2.0) > такая детская болезнь левизны, что непечатные символы искались только > при включенной их визуализации. Для мягкого переноса визуализация > включается так: "Вид|Затенение полей". неа. Это ещё вчера пробовал. Не работает. И в сборке от Инфра - тоже. ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2007-09-17 16:12 UTC | newest] Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-09-14 6:33 [Comm] OpenOffice 2.2.1 вот это да Шишков Евгений 2007-09-14 12:32 ` Peter Volkov 2007-09-14 17:52 ` Евгений 2007-09-14 18:39 ` Michael Shigorin 2007-09-14 19:32 ` Maksim Otstavnov 2007-09-14 20:11 ` Alexej Kryukov 2007-09-15 3:35 ` Евгений 2007-09-15 5:07 ` kaf 2007-09-15 18:17 ` Maksim Otstavnov 2007-09-16 14:16 ` kaf 2007-09-15 21:06 ` Евгений 2007-09-15 22:05 ` Alexej Kryukov 2007-09-15 18:14 ` Maksim Otstavnov 2007-09-17 4:18 ` Шишков Евгений 2007-09-17 16:12 ` Michael Shigorin 2007-09-15 3:33 ` Евгений
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git