Bug 112573 - Improve insert field uno commands to work in non-edit mode
Summary: Improve insert field uno commands to work in non-edit mode
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.0.0.0.alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fields
  Show dependency treegraph
 
Reported: 2017-09-22 13:32 UTC by Yousuf Philips (jay) (retired)
Modified: 2017-09-24 20:26 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2017-09-22 13:32:20 UTC
If you are not in edit mode (f2) then Insert > Field > Date (.uno:InsertFieldDateVariable), Sheet Name (.uno:InsertFieldSheet), and Document Title (.uno:InsertFieldDocTitle) arent enabled and they should work in non-edit mode by first jumping into edit mode, inserting the field and then jumping out of edit mode if you werent previously in edit mode. If the cell already has text in it, then it should also append a space to the cell contents.
Comment 1 Cor Nouws 2017-09-24 15:48:01 UTC
(In reply to Yousuf Philips (jay) from comment #0)
> If you are not in edit mode (f2) then ...
> .... If the
> cell already has text in it, then it should also append a space to the cell
> contents.

Usually when in non edit mode, any data entered replaces possible current cell content.
Comment 2 Yousuf Philips (jay) (retired) 2017-09-24 20:26:34 UTC
(In reply to Cor Nouws from comment #1)
> Usually when in non edit mode, any data entered replaces possible current
> cell content.

yes i guess that is the better option to be consistent.