ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Yury Aliaev <mutab0r@rambler.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: [sisyphus] Импорт Shell Scrap (.shs) файлов в ООо
Date: Mon, 28 Jul 2008 15:33:36 +0400
Message-ID: <488DAE90.8060605@rambler.ru> (raw)

Приветствую всех!

Не далее как вчера столкнулся со следующей проблемой. Один человек под 
виндой скопировал в ворде текст, потом в окне проводника сказал 
"вставить", в результате чего на носителе образовался некий файлик с 
расширением .shs, что значит "Shell scrap" (или "shell's crap" ;). Как 
подсказал Гугль, он представляет собой контейнер для обмена данными по 
протоколу OLE через запись в файлы и может содержать в принципе что 
угодно. В моём случае он содержит фрагмент текста, и, если верить 
http://community.i-rs.ru/index.php/topic,411.0.html, -- в формате rtf. 
Осталось его оттуда извлечь. Там же по ссылке приводится рецепт 
"удаляется внутри файла все до начала строчки "{\rtf1....".", что в моём 
случае вроде должно сработать, но хотелось бы решить эту проблему в 
общем. Т.е. открываем такой файл в OOo, он лезет внутрь, смотрит, что 
там есть поддерживаемые им типы (rtf, excel и т.п.), вытаскивает их 
оттуда и открывает.

Может, попробуем сообща решить эту задачу? Я пытался искать в инете 
какую-нибудь информацию по внутреннему устройству этих самых shs, но так 
ничего и не нашёл...

Юрий.


                 reply	other threads:[~2008-07-28 11:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=488DAE90.8060605@rambler.ru \
    --to=mutab0r@rambler.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git