X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fsp-flowtext.h;h=144157dc97cefe2dca5060a6f3a8b7ff4d3d2bb4;hb=44e58d3f6a61b68cf205969d81104a44c8d4a3ef;hp=39f4434405d75db5724c6df94df9dfec75f6efaa;hpb=024695c271f00bba075f0825db1cbccb8f1ff324;p=inkscape.git diff --git a/src/sp-flowtext.h b/src/sp-flowtext.h index 39f443440..144157dc9 100644 --- a/src/sp-flowtext.h +++ b/src/sp-flowtext.h @@ -20,10 +20,9 @@ struct SPFlowtext : public SPItem { /** Completely recalculates the layout. */ void rebuildLayout(); - /** Converts the current selection (which must be a flowroot) into - a \ tree, keeping all the formatting and positioning, but losing - the automatic wrapping ability. */ - static void convert_to_text(); + /** Converts the flowroot in into a \ tree, keeping all the formatting and positioning, + but losing the automatic wrapping ability. */ + Inkscape::XML::Node *getAsText(); SPItem *get_frame(SPItem *after); @@ -56,3 +55,14 @@ GType sp_flowtext_get_type (void); SPItem *create_flowtext_with_internal_frame (SPDesktop *desktop, NR::Point p1, NR::Point p2); #endif + +/* + Local Variables: + mode:c++ + c-file-style:"stroustrup" + c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) + indent-tabs-mode:nil + fill-column:99 + End: +*/ +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :