Hello,
I made a design for FORMATTED DOCUMENT (Picture-1, Picture-2). But I'm recording like picture-3. When I recall it after recording, its format is broken (Picture-4). Can you help me?
Save operation;
& AtServer
Procedure HSY_OnReadAtServerBefore (CurrentObject)
FormattedDocument = CurrentObject.HSY_ContentHTML.Get ();
EndProcedure
Reading process;
& AtServer
Procedure HSY_BeforeWriteAtServerAfter (Cancel, CurrentObject, WriteParameters)
CurrentObject.HSY_ContentHTML = New ValueStorage (FormattedDocument);
EndProcedure
Note: Screenshots are in word document.
The 1C:Enterprise developers forum