Lines Matching refs:css
51 #include "svg/css-ostringstream.h"
167 SPCSSAttr *css = sp_repr_css_attr_new ();
168 fontlister->fill_css( css );
174 prefs->mergeStyle("/tools/text/style", css);
177 sp_desktop_set_style (desktop, css, true, true); // Results in selection change called twice.
181 sp_repr_css_attr_unref (css);
219 // Set css font size.
220 SPCSSAttr *css = sp_repr_css_attr_new ();
228 sp_repr_css_set_property (css, "font-size", osfs.str().c_str());
232 sp_desktop_set_style (desktop, css, true, true);
241 prefs->mergeStyle("/tools/text/style", css);
248 sp_repr_css_attr_unref (css);
273 SPCSSAttr *css = sp_repr_css_attr_new ();
274 fontlister->fill_css( css );
277 sp_desktop_set_style (desktop, css, true, true);
278 sp_repr_css_attr_unref (css);
333 // Set css properties
334 SPCSSAttr *css = sp_repr_css_attr_new ();
340 sp_repr_css_set_property (css, "font-size", "65%");
342 sp_repr_css_set_property (css, "font-size", "");
345 sp_repr_css_set_property (css, "baseline-shift", "super");
347 sp_repr_css_set_property (css, "baseline-shift", "sub");
349 sp_repr_css_set_property (css, "baseline-shift", "baseline");
352 // Apply css to selected objects.
354 sp_desktop_set_style (desktop, css, true, false);
456 SPCSSAttr *css = sp_repr_css_attr_new ();
461 sp_repr_css_set_property (css, "text-anchor", "start");
462 sp_repr_css_set_property (css, "text-align", "start");
467 sp_repr_css_set_property (css, "text-anchor", "middle");
468 sp_repr_css_set_property (css, "text-align", "center");
474 sp_repr_css_set_property (css, "text-anchor", "end");
475 sp_repr_css_set_property (css, "text-align", "end");
481 sp_repr_css_set_property (css, "text-anchor", "start");
482 sp_repr_css_set_property (css, "text-align", "justify");
495 prefs->mergeStyle("/tools/text/style", css);
498 sp_desktop_set_style (desktop, css, true, true);
504 sp_repr_css_attr_unref (css);
543 // Set css line height.
544 SPCSSAttr *css = sp_repr_css_attr_new ();
552 sp_repr_css_set_property (css, "line-height", osfs.str().c_str());
557 sp_desktop_set_style (desktop, css, true, false);
583 prefs->mergeStyle("/tools/text/style", css);
586 sp_repr_css_attr_unref (css);
701 // Set css line height.
702 SPCSSAttr *css = sp_repr_css_attr_new ();
709 sp_repr_css_set_property (css, "line-height", osfs.str().c_str());
715 sp_desktop_set_style (desktop, css, true, false);
738 prefs->mergeStyle("/tools/text/style", css);
741 sp_repr_css_attr_unref (css);
756 // Set css word-spacing
757 SPCSSAttr *css = sp_repr_css_attr_new ();
760 sp_repr_css_set_property (css, "word-spacing", osfs.str().c_str());
764 sp_desktop_set_style (desktop, css, true, false);
773 prefs->mergeStyle("/tools/text/style", css);
780 sp_repr_css_attr_unref (css);
794 // Set css letter-spacing
795 SPCSSAttr *css = sp_repr_css_attr_new ();
798 sp_repr_css_set_property (css, "letter-spacing", osfs.str().c_str());
802 sp_desktop_set_style (desktop, css, true, false);
811 prefs->mergeStyle("/tools/text/style", css);
820 sp_repr_css_attr_unref (css);
940 SPCSSAttr *css = sp_repr_css_attr_new ();
945 sp_repr_css_set_property (css, "writing-mode", "lr-tb");
951 sp_repr_css_set_property (css, "writing-mode", "tb-rl");
957 sp_repr_css_set_property (css, "writing-mode", "vertical-lr");
970 prefs->mergeStyle("/tools/text/style", css);
973 sp_desktop_set_style (SP_ACTIVE_DESKTOP, css, true, true);
979 sp_repr_css_attr_unref (css);
994 SPCSSAttr *css = sp_repr_css_attr_new ();
999 sp_repr_css_set_property (css, "text-orientation", "auto");
1005 sp_repr_css_set_property (css, "text-orientation", "upright");
1011 sp_repr_css_set_property (css, "text-orientation", "sideways");
1024 prefs->mergeStyle("/tools/text/style", css);
1027 sp_desktop_set_style (SP_ACTIVE_DESKTOP, css, true, true);
1033 sp_repr_css_attr_unref (css);