-
Hi all,
I need to use the character styles in rtf file but pyRTF seem to don't implement it.
Is this functionality plan to be coded ?
Thank you,
Axel.
2009-10-06 07:27:16 UTC by axel584
-
It works very well, thank you.
I suggest to change sys.path.append( '../' ) in the demo to sys.path.append( os.path.normpath(os.path.dirname(os.path.realpath(__file__))+os.sep+'..')), since the old one does not on my python25 in win2k. Though that is the problem which was born in original pyRTF.
2008-01-13 07:37:36 UTC by laserjungle
-
This project appears to be abaondoned, so I've made available what I'm
calling version 0.46.
It includes:
1) support for EMF graphics objects.
[yes, I wrote my own from scratch before I noticed somebody
had submitted a patch almost two years ago].
2) enhanced image scaling for all image types:
* scaling by fixed percentage
* scaling to fixed width or...
2007-05-18 22:19:14 UTC by grante
-
There's one other change I'd like to propose.
It rather inconvenient to have to write the image data to a file so that the Image() class has a filename from which to determine the filetype. It would be nice if there was a way to just pass the image data to Image().
2007-05-18 19:37:27 UTC by grante
-
I've got the scaling stuff worked out. The user can optionally
specify image width and/or height in 1/72in units using the
keywords 'width' and 'height'. If only one of the two
dimensions is specified, the other is scaled to maintain the
original aspect ratio.
I've also added support for a 'scale' keyword arg that will set
the scaling for both x and y.
However, I'm confused by the...
2007-05-18 17:54:27 UTC by grante
-
OK, I've got emf support basically working except I'm a bit
vague on how to handle scaling:
1) I haven't figured out how to get the height/width out of an
.emf file. It's probably not hard, I just haven't gotten
around to that yet.
2) I'd like to be able to override the size/scaling by passing
to the __init__ method the desired height and/or width, or
by passing a...
2007-05-18 16:22:22 UTC by grante
-
Has anybody worked on support for .emf graphics?.
2007-05-18 15:42:20 UTC by grante
-
Hi,
is it posiible to add Subscript support H2O, H2SO4 etc.:)
2007-02-25 16:41:41 UTC by nobody
-
Accidentally hit post comment.
As I was trying to say, I do the following:
sps = ShadingPS(pattern=ShadingPS.FORWARD_DIAGONAL)
p = Paragraph(ss.ParagraphStyles.Heading1, sps)
and I get the same result every time, black text on a gray background. Is this the intent of shading? I was hoping for a shadow on the text.
Thank you,
Ryan.
2006-12-05 22:48:58 UTC by ryan_green1
-
Hi,
I am experimenting with PyRTF and I see the ShadingPropertySet, but I have yet to figure out the usage.
sps = ShadingPS(pattern=ShadingPS.FORWARD_DIAGONAL)
p = Paragraph(ss.ParagraphStyles.Heading1, pps, sps)
2006-12-05 22:39:05 UTC by ryan_green1