Hi Friends,
is it possible for someone to explain how to make a macro for converting text to curves in an entire document? Of is there a free one I can download?
Awaiting your replies.
Thanks.
gaaartroom said: Hi Friends, is it possible for someone to explain how to make a macro for converting text to curves in an entire document? Of is there a free one I can download? Awaiting your replies. Thanks.
HI.
Here's a couple subs. The first one in based on CQL (Corel Query Language) and will run much faster. CQL is available in X3 and up.
Private Sub convertAllToCurvesCQL()Dim p As PageFor Each p In ActiveDocument.Pages p.Activate ActivePage.Shapes.FindShapes(Query:="@type = 'text:artistic'").ConvertToCurves 'ActivePage.Shapes.FindShapes(Query:="@type = 'text:paragraph'").ConvertToCurves optional (paragraph text too?)Next pEnd Sub
Private Sub convertAllToCurvesOLD()Dim p As Page, s As Shape, sr As ShapeRangeFor Each p In ActiveDocument.Pages p.Activate Set sr = ActivePage.Shapes.FindShapes(, cdrTextShape) For Each s In sr s.ConvertToCurves Next sNext pEnd Sub
-John
the above macro works fine.
but it would be better if u could convert power clipped text also to curves.
thank u