37)疑似囲み罫

| コメント(0) | トラックバック(0)

ページ内の数段落分をコラムのように囲む事はInDesignではできません。かわりに1セルだけの表を使うのですが、めんどうなのでスクリプトで選択範囲を表にします。それでもページをまたぐ囲みはできないのですが。。。

tell application "Adobe InDesign CS2_J"
	tell document 1
		set PS to paragraph style "本文囲み内"
		set newTable to convert to table selection column separator "☆" ¬
			row separator "☆"
		--行区切り列区切りを(ありえなさそうな文字)"☆"にしています。
		set applied paragraph style of paragraphs 1 thru -1 of ¬
			cell 1 of newTable to PS
		set bottom edge stroke weight of cell 1 of newTable to 0.1
		set right edge stroke weight of cell 1 of newTable to 0.1
		set left edge stroke weight of cell 1 of newTable to 0.1
		set top edge stroke weight of cell 1 of newTable to 0.1
		set bottom inset of cell 1 of newTable to 3.25
		set top inset of cell 1 of newTable to 3.25
		set left inset of cell 1 of newTable to 0
		set right inset of cell 1 of newTable to 0
		set width of cell 1 of newTable to 130
	end tell
end tell

トラックバック(0)

トラックバックURL: http://www.adg7.com/mt/mt-tb.cgi/118

Comments are nofollow setting

コメントする

エントリー一覧

OpenID対応しています OpenIDについて
Powered by Movable Type 7.902.0
漢字イラストロジック-脳トレ京
FREE ONLINE SUDOKU