Implementing shapes using pyabiword in write activity of olpc laptops

From: sumit singh <sumit.coder_at_gmail.com>
Date: Tue Jul 21 2009 - 21:18:34 CEST

Hi everyone,

I am currently working on integrating a template builder tool with the
write activity of olpc laptops with Manusheel Gupta under Seeta
organisation. Write activity is based on the pyabiword module of
abiword. Currently I am trying to look for a way to insert figures or
shapes like a circle, star, straight lines etc where we can write or
insert pictures  using the pyabiword module, however insertion of
pictures doesn't seem to have been integrated as of now in pyabiword.
Is there any possible way to do so using pyabiword or by any other
means?

I am also attaching 2 sample templates , the type of which I would
like to make using this template builder tool. Kindly have a look.
Here is the status from my end--

In the 1st template----
1.  the textboxes can be easily added using the insTextBox command
with invoke_cmd.
2. They can have colored borders, colored background and pictures can
be inserted using the dlgFormatFrame with invoke_cmd.
3. Is there any way to add such borders with a direct command from pyabiword?

In the 2nd template---
1. I think almost everything can be implemented except the colored
stars and shapes. Is their any way to insert such shapes?

In general, is there a better approach to achieve the same? Also I am
ready to provide support from my end, if any required, in case
functions are required to be added in pyabiword module to achieve
addition of shapes. Kindly give your suggestions.

Regards,
VIJIT a.k.a. sumit

Received on Tue Jul 21 21:30:14 2009

This archive was generated by hypermail 2.1.8 : Tue Jul 21 2009 - 21:30:15 CEST