Clipboard Monitor for Quotations

Registered by Prunus dulcis

Implement a clipboard monitor so that quotations can be written in external applications and will automatically be inserted as new quotes, if the monitor is activated.

Blueprint information

Status:
Complete
Approver:
Prunus dulcis
Priority:
Medium
Drafter:
None
Direction:
Approved
Assignee:
Prunus dulcis
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Prunus dulcis
Completed by
Prunus dulcis

Related branches

Sprints

Whiteboard

Implemented first draft, a toggle button has been implemented into the QuotationEditorPanel, that enables or disables (default) the clipboard monitor. This should enable writing quotations in external programs, if one feels more comfortable in them or uses features there not available within BibCite (e.g. error correction).

The clipboard monitor looks for FlavorChanged Events in the clipboard and if they are of the flavor text, they are checked for pattern. If the pattern is
numbers - numbers "some text"
this is interpreted as startpage - endpage "quotation content"
If only one number is given, as in
numbers "some text"
startpage equals endpage.

Important is the use of the " as delimiter of the content. If there is no beginning-" directly after the first whitespace after the numbers or no end-" the quote is not recognized by the matcher and nothing happens.

Several quotations can be added to the clipboard at the same time and will be automatically separated and inserted, if following the above pattern scheme.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.