![]() ▪ MS Word does not implement all options of vertical alignment relative to a table cell, so it works differently in TRichView and MS Word, see BoxPosition. ▪ when a line is chosen as an anchor object, MS Word aligns a text box not relative to a whole line but relative to a line top, so a center and a bottom alignment relative to a line are different in TRichView and in MS Word ▪ MS Word does not support a relative (percent) positioning to a line or paragraph, so it is saved as an absolute positioning (with zero offset) ▪ MS Word does not support a vertical alignment relative to a paragraph, so it saved as an alignment relative to a line Some combinations of box positioning properties are not supported by Microsoft Word*, so TRichView converts them: A bookmark named '_sidenoteN' (where N is an index of this sidenote) is added around NoteText, to allow saving note references as references to this bookmark. They are imported as NoteText followed by a text box containing Document. Sidenotes can be exported in RTF and DocX. Sidenotes are saved as hyperlinks to this anchor. Before each subdocument, is inserted, where N is an index of this sidenote (in the list of all numbered sequences and notes). Subdocuments for all sidenotes are saved after the main document. Accessing them in this way allows changing them in editing operations. These properties are also accessible as rveipcFloatHorizontalAnchor, rveipcFloatHorizontalPositionKind, rveipcFloatHorizontalOffset, rveipcFloatHorizontalAlign, rveipcFloatVerticalAnchor, rveipcFloatVerticalPositionKind, rveipcFloatVerticalOffset, rveipcFloatVerticalAlign, rveipcFloatRelativeToCell, rveipcFloatPositionInText, rveipcBoxWidth, rveipcBoxHeight, rveipcBoxWidthType, rveipcBoxHeightType, rveipcBoxBorderColor, rveipcBoxBorderWidth, rveipcBoxBorderInternalWidth, rveipcBoxBorderStyle, rveipcBoxBorderVisibleBorders_Left, rveipcBoxBorderVisibleBorders_Top, rveipcBoxBorderVisibleBorders_Right, rveipcBoxBorderVisibleBorders_Bottom, rveipcBoxBorderBorderOffsets_Left, rveipcBoxBorderBorderOffsets_Top, rveipcBoxBorderBorderOffsets_Right, rveipcBoxBorderBorderOffsets_Bottom, rveipcBoxColor, rveipcBoxPadding_Left, rveipcBoxPadding_Top, rveipcBoxPadding_Right, rveipcBoxPadding_Bottom, rveipcBoxVAlign properties. ▪ BoxProperties – size, border, background, content alignment of a text box. ▪ BoxPosition – properties relative to the position of a text box ▪ SeqName = ' and must not be changed.Īdditionally, it has the following properties: ▪ NumberType is read-only it always returns TRVStyle. Sidenotes have all properties of numbered sequences. The following methods change properties of items as editing operations: The following method returns TRVSidenoteItemInfo object at the position of caret: ▪ InsertItem (create TRVSidenoteItemInfo object, insert it using InsertItem) The following editor-style method inserts item of this type at the position of caret: The following method returns TRVSidenoteItemInfo object ▪ AddItem (create TRVSidenoteItemInfo object, add it using AddItem) The following viewer-style method adds item of this type to the end of the document: The following items are inherited from numbered sidenotes: Style of this item type: rvsSidenote (-206) ![]() ![]() ScaleRichView note: TSRichViewEdit displays and allows editing sidenotes.Ĭlass for this item type is TRVSidenoteItemInfo (see for detailed information). This subdocument is not displayed in TCustomRichView where the sidenote is inserted, but it can be printed inside a floating box. If FormatString is defined, a number is displayed formatted according to this string. ![]() ![]() A sidenote looks like a number (numbering type is specified in TRVStyle. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |