notebookbar: send uno items state update

Change-Id: I56b9c64f11631bd28520b9294aef7d6db8da5733
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93700
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96525
Tested-by: Jenkins
This commit is contained in:
Szymon Kłos 2020-05-08 09:25:13 +02:00
parent 987c0f4926
commit 27381dc1b7
2 changed files with 53 additions and 1 deletions

View file

@ -2695,7 +2695,32 @@ static void doc_iniUnoCommands ()
OUString(".uno:TransformPosX"),
OUString(".uno:TransformPosY"),
OUString(".uno:TransformWidth"),
OUString(".uno:TransformHeight")
OUString(".uno:TransformHeight"),
OUString(".uno:ObjectBackOne"),
OUString(".uno:SendToBack"),
OUString(".uno:ObjectForwardOne"),
OUString(".uno:BringToFront"),
OUString(".uno:WrapRight"),
OUString(".uno:WrapThrough"),
OUString(".uno:WrapLeft"),
OUString(".uno:WrapIdeal"),
OUString(".uno:WrapOn"),
OUString(".uno:WrapOff"),
OUString(".uno:UpdateCurIndex"),
OUString(".uno:InsertCaptionDialog"),
OUString(".uno:FormatGroup"),
OUString(".uno:SplitTable"),
OUString(".uno:MergeCells"),
OUString(".uno:DeleteNote"),
OUString(".uno:AcceptChanges"),
OUString(".uno:FormatPaintbrush"),
OUString(".uno:SetDefault"),
OUString(".uno:ParaLeftToRight"),
OUString(".uno:ParaRightToLeft"),
OUString(".uno:ParaspaceIncrease"),
OUString(".uno:ParaspaceDecrease"),
OUString(".uno:AcceptTrackedChange"),
OUString(".uno:RejectTrackedChange")
};
util::URL aCommandURL;

View file

@ -1085,6 +1085,33 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra
aEvent.FeatureURL.Path == "SortDescending" ||
aEvent.FeatureURL.Path == "AcceptAllTrackedChanges" ||
aEvent.FeatureURL.Path == "RejectAllTrackedChanges" ||
aEvent.FeatureURL.Path == "AcceptTrackedChange" ||
aEvent.FeatureURL.Path == "RejectTrackedChange" ||
aEvent.FeatureURL.Path == "NextTrackedChange" ||
aEvent.FeatureURL.Path == "PreviousTrackedChange" ||
aEvent.FeatureURL.Path == "FormatGroup" ||
aEvent.FeatureURL.Path == "ObjectBackOne" ||
aEvent.FeatureURL.Path == "SendToBack" ||
aEvent.FeatureURL.Path == "ObjectForwardOne" ||
aEvent.FeatureURL.Path == "BringToFront" ||
aEvent.FeatureURL.Path == "WrapRight" ||
aEvent.FeatureURL.Path == "WrapThrough" ||
aEvent.FeatureURL.Path == "WrapLeft" ||
aEvent.FeatureURL.Path == "WrapIdeal" ||
aEvent.FeatureURL.Path == "WrapOn" ||
aEvent.FeatureURL.Path == "WrapOff" ||
aEvent.FeatureURL.Path == "UpdateCurIndex" ||
aEvent.FeatureURL.Path == "InsertCaptionDialog" ||
aEvent.FeatureURL.Path == "MergeCells" ||
aEvent.FeatureURL.Path == "SplitTable" ||
aEvent.FeatureURL.Path == "DeleteNote" ||
aEvent.FeatureURL.Path == "AcceptChanges" ||
aEvent.FeatureURL.Path == "FormatPaintbrush" ||
aEvent.FeatureURL.Path == "SetDefault" ||
aEvent.FeatureURL.Path == "ParaLeftToRight" ||
aEvent.FeatureURL.Path == "ParaRightToLeft" ||
aEvent.FeatureURL.Path == "ParaspaceIncrease" ||
aEvent.FeatureURL.Path == "ParaspaceDecrease" ||
aEvent.FeatureURL.Path == "TableDialog" ||
aEvent.FeatureURL.Path == "FormatCellDialog" ||
aEvent.FeatureURL.Path == "FontDialog" ||