web-transmit-att.py revision b93ce4197e7f5026a1c8deeb79cbd00aa3f86d91
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn SmithCopyright (C) 2009 Aurelio A. Heckert, aurium (a) gmail dot com
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn SmithThis program is free software; you can redistribute it and/or modify
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smithit under the terms of the GNU General Public License as published by
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smiththe Free Software Foundation; either version 2 of the License, or
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith(at your option) any later version.
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn SmithThis program is distributed in the hope that it will be useful,
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smithbut WITHOUT ANY WARRANTY; without even the implied warranty of
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn SmithMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn SmithGNU General Public License for more details.
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn SmithYou should have received a copy of the GNU General Public License
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smithalong with this program; if not, write to the Free Software
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn SmithFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smithclass InkWebTransmitAtt(inkwebeffect.InkWebEffect):
a4142717644b885998f4de2b27be4e8648315decMarkus Engel self.OptionParser.add_option("-c", "--compatibility",
a4142717644b885998f4de2b27be4e8648315decMarkus Engel help="Compatibility with previews code to this event.")
a4142717644b885998f4de2b27be4e8648315decMarkus Engel self.OptionParser.add_option("-t", "--from-and-to",
a4142717644b885998f4de2b27be4e8648315decMarkus Engel help='Who transmit to Who? "g-to-one" All tramsmit to the last. "one-to-g" The first transmit to all.')
a4142717644b885998f4de2b27be4e8648315decMarkus Engel help="The selected UI-tab when OK was pressed")
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith inkwebeffect.inkex.errormsg(_("You must select at least two elements."))
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith # All tramsmit to the last
6b0fbf10b982696648debeede2b57f2b32a6a958Alex Valavanis # The first transmit to all