sc lok: add toolbar item wrap text and merge cells
Change-Id: I266b7171ee0a8a324ee8f71680f76c132b5c5fbd Reviewed-on: https://gerrit.libreoffice.org/26985 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
This commit is contained in:
@@ -1009,7 +1009,9 @@ static void doc_iniUnoCommands ()
|
|||||||
OUString(".uno:SelectionMode"),
|
OUString(".uno:SelectionMode"),
|
||||||
OUString(".uno:PageStatus"),
|
OUString(".uno:PageStatus"),
|
||||||
OUString(".uno:LayoutStatus"),
|
OUString(".uno:LayoutStatus"),
|
||||||
OUString(".uno:Context")
|
OUString(".uno:Context"),
|
||||||
|
OUString(".uno:WrapText"),
|
||||||
|
OUString(".uno:ToggleMergeCells")
|
||||||
};
|
};
|
||||||
|
|
||||||
util::URL aCommandURL;
|
util::URL aCommandURL;
|
||||||
|
@@ -1051,7 +1051,9 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
|
|||||||
aBuffer.append(aString);
|
aBuffer.append(aString);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (aEvent.FeatureURL.Path == "InsertMode")
|
else if (aEvent.FeatureURL.Path == "InsertMode" ||
|
||||||
|
aEvent.FeatureURL.Path == "WrapText" ||
|
||||||
|
aEvent.FeatureURL.Path == "ToggleMergeCells")
|
||||||
{
|
{
|
||||||
sal_Bool aBool;
|
sal_Bool aBool;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user