File: //usr/share/inkscape/extensions/text_merge.pyo
�
��Yc @ s� d Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z y d d l m Z m Z e
Z Wn
e Z n Xd d l
Z
d e
j f d � � YZ e d k r� e � Z e j � n d S( sm
Copyright (C) 2013 Nicolas Dufour (jazzynico)
Direction code from the Restack extension, by Rob Antonishen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
i����N( t Popent PIPEt Mergec B s# e Z d � Z d � Z d � Z RS( c
C s t j j | � | j j d d d d d d d d d d
d d �| j j d
d d d d d d d d d d d �| j j d d d d d d d d d d d d �| j j d d d d d d d d d t d d �| j j d d d d d d d d d t d d �d S( Ns -ds --directiont actiont storet typet stringt destt directiont defaultt tbt helps direction to merge texts -xs --xanchort xanchort ms horizontal point to compares -ys --yanchort yanchors vertical point to compares -ts
--flowtextt inkboolt flowtexts: use a flow text structure instead of a normal text elements -ks --keepstylet keepstyles keep format( t inkext Effectt __init__t OptionParsert
add_optiont False( t self( ( s, /usr/share/inkscape/extensions/text_merge.pyR * s* c C s� t | j � d k rT x<