diff --git a/src/sp-flowtext.h b/src/sp-flowtext.h
index 9e6d711fa271a535f14b6c3e2546cbda7cfe986e..144157dc97cefe2dca5060a6f3a8b7ff4d3d2bb4 100644 (file)
--- a/src/sp-flowtext.h
+++ b/src/sp-flowtext.h
/** Completely recalculates the layout. */
void rebuildLayout();
- /** Converts the current selection (which must be a flowroot) into
- a \<text\> tree, keeping all the formatting and positioning, but losing
- the automatic wrapping ability. */
- static void convert_to_text();
+ /** Converts the flowroot in into a \<text\> tree, keeping all the formatting and positioning,
+ but losing the automatic wrapping ability. */
+ Inkscape::XML::Node *getAsText();
SPItem *get_frame(SPItem *after);
/** discards the NRArena objects representing this text. */
void _clearFlow(NRArenaGroup* in_arena);
+ double par_indent;
+
private:
/** Recursively walks the xml tree adding tags and their contents. */
void _buildLayoutInput(SPObject *root, Shape const *exclusion_shape, std::list<Shape> *shapes, SPObject **pending_line_break_object);
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 :