Rosies Notes highlighting reminded me of a issue which has been unaddressed from the beginning of L4 notes, which now I have a cap on uploads I would like addressed, as its an all round win/win for everyone..
Original imported text from word:: This is a test of how things could be in the future – if only..
All formatting except font size & weight stripped out so this should read:
Stripped: This is a test of how things should be in the future - if only..
However when we look under the hood, the imported text is stored in note database as:
<Paragraph FontFamily="Calibri" FontSize="11" TextAlignment="Left" Margin="0,0,0,13.33" BorderThickness="0,0,0,0"><Span Language="en-GB"><Run Text="This " /></Span><Span Language="en-GB"><Run Text="is" /></Span><Span Language="en-GB"><Run Text=" " /></Span><Span Language="en-GB"><Run Text="a" /></Span><Span Language="en-GB"><Run Text=" " /></Span><Span Language="en-GB"><Run Text="test" /></Span><Span Language="en-GB"><Run Text=" " /></Span><Span Language="en-GB"><Run Text="of" /></Span><Span Language="en-GB"><Run Text=" " /></Span><Span Language="en-GB"><Run Text="how" /></Span><Span Language="en-GB"><Run Text=" " /></Span><Span Language="en-GB"><Run Text="things" /></Span><Span Language="en-GB"><Run Text=" " /></Span><Span Language="en-GB"><Run Text="could" /></Span><Span Language="en-GB"><Run Text=" " /></Span><Span Language="en-GB"><Run Text="be in" /></Span><Span Language="en-GB"><Run Text=" the " /></Span><Span Language="en-GB"><Run Text="future" /></Span><Span Language="en-GB"><Run Text=" " /></Span><Span Language="en-GB" FontBold="True"><Run Text="– If only.." /></Span></Paragraph>
when it should/could be stored as:
<Paragraph FontFamily="Calibri" FontSize="11" TextAlignment="Left" Margin="0,0,0,13.33" BorderThickness="0,0,0,0"><Span Language="en-GB"><Run Text="This is a test of how things could be in the future " /></Span><Span Language="en-GB" FontBold="True"><Run Text="– If only.." /></Span></Paragraph>
I am sorry but as a developer I find this wasted space criminal, all for a simple additional pass in the import routine to merge identical spans..
Why should you implement it:
it would definitely reduce cloud traffic by up to 60% based on this example alone.. and this note is not unique.. multiply that by your users database and thats a huge saving to be made.
optimised notes may also have a benefit in making the software more responsive