Search found 52 matches
- Sat Dec 21, 2019 5:16 pm
- Forum: Support
- Topic: Borders and table on each page of the document
- Replies: 6
- Views: 22775
Re: Borders and table on each page of the document
I also thought about the background with the option "bsTiled". But in this case, the image of the frame (table) needs to be prepared somewhere... Maybe let the user create a table, then make it a bitmap and use this image as a background? The case with the image instead of the table seems ...
- Sat Dec 21, 2019 3:36 pm
- Forum: Support
- Topic: Borders and table on each page of the document
- Replies: 6
- Views: 22775
Re: Borders and table on each page of the document
At first I thought that the table is not the best solution... Or is it possible to "rigidly" fix the indentation of the table from the edges of the sheet, for example, 5 mm each? And is it possible to repeat this table on each sheet without copying?
- Sat Dec 21, 2019 1:15 pm
- Forum: Support
- Topic: Borders and table on each page of the document
- Replies: 6
- Views: 22775
Borders and table on each page of the document
Hi there! I want to ask advice. Our clients often want to see a document with a frame that is made according to a certain rule (standard). The frame can have mini-tables located at the edges of the document (left, right, top, and bottom). Usually, this frame is repeated on all pages or except the fi...
- Sat Sep 28, 2019 7:35 pm
- Forum: Support
- Topic: Equation font in TfrmRVMathEditor: strange behavior
- Replies: 15
- Views: 47795
- Sat Sep 28, 2019 6:50 am
- Forum: Support
- Topic: Equation font in TfrmRVMathEditor: strange behavior
- Replies: 15
- Views: 47795
Re: Equation font in TfrmRVMathEditor: strange behavior
'Arial' cannot be used as font for equations. Only special math fonts can be used Yeah, I know that, but the original code in RVMathEditorFrm.pas just confused me) procedure TfrmRVMathEditor.FormCreate(Sender: TObject); begin ... cmbFontSize.FontName := 'Arial'; cmbDefFontSize.FontName := 'Arial'; ...
- Fri Sep 27, 2019 8:09 am
- Forum: Support
- Topic: Equation font in TfrmRVMathEditor: strange behavior
- Replies: 15
- Views: 47795
Re: Equation font in TfrmRVMathEditor: strange behavior
Thanks, Sergey!
I try to create my own form to set default equation settings and see that in TfrmRVMathEditor.FormCreate comboboxes initiates with 'Arial' font. Is this correct or I need to set init values 'Cambria Math'?
I try to create my own form to set default equation settings and see that in TfrmRVMathEditor.FormCreate comboboxes initiates with 'Arial' font. Is this correct or I need to set init values 'Cambria Math'?
- Thu Sep 26, 2019 8:42 am
- Forum: Support
- Topic: Equation font in TfrmRVMathEditor: strange behavior
- Replies: 15
- Views: 47795
Re: Equation font in TfrmRVMathEditor: strange behavior
Sergey, one more question. When loading a document from a stream using InsertRVFFromStream (not LoadRVFFromStream) equations are rolled back to the original formatting. I read the help about DocObjects and the idea is clear, but I need to use InsertRVFFromStream due to working with styles templates....
- Wed Sep 25, 2019 7:38 pm
- Forum: Support
- Topic: Equation font in TfrmRVMathEditor: strange behavior
- Replies: 15
- Views: 47795
Re: Equation font in TfrmRVMathEditor: strange behavior
Ok, in the next update, it will be possible to get and set erroneous text in TRVMathItemInfo, without exceptions. it will be great! Sergey, I want to ask also about TrvActionInsertEquation: this action does not call the methods SetItem/GetItem, only Init method? If "Font > This equation" ...
- Mon Sep 23, 2019 8:39 pm
- Forum: Support
- Topic: Equation font in TfrmRVMathEditor: strange behavior
- Replies: 15
- Views: 47795
Re: Equation font in TfrmRVMathEditor: strange behavior
Hmm, but if the user wants to return to editing equation later? Maybe I need to create descendant class of TRVMathItemInfo, save equation text in a separate property and use it in the TfrmRVMathEditor?
- Mon Sep 23, 2019 5:53 pm
- Forum: Support
- Topic: Equation font in TfrmRVMathEditor: strange behavior
- Replies: 15
- Views: 47795
Re: Equation font in TfrmRVMathEditor: strange behavior
Thanks Sergey, the situation cleared up a bit. Indeed, instead of TrvActionItemProperties I used TrvActionInsertEquation. Action TrvActionItemProperties works fine, but there is one problem: if equation contained an error symbol, editor form will show an empty string. This happens in method SetItem,...
- Sun Sep 22, 2019 7:39 pm
- Forum: Support
- Topic: Equation font in TfrmRVMathEditor: strange behavior
- Replies: 15
- Views: 47795
Equation font in TfrmRVMathEditor: strange behavior
Hi, a question about TfrmRVMathEditor. If I get you right, method Init after opening this form sets values of the "Font > Default values" section. But what about values in "Font > This equation" section? If I just set individual properties, then OK — these properties apply to the...
- Sun Sep 08, 2019 11:32 am
- Forum: Support
- Topic: Update formatting in multiple editors with a single style
- Replies: 10
- Views: 28918
Re: Update formatting in multiple editors with a single style
Oh, thank you so much, Sergey!
Clear + InsertRVFFromStream that's what I need)
Clear + InsertRVFFromStream that's what I need)
- Sat Sep 07, 2019 7:28 pm
- Forum: Support
- Topic: Update formatting in multiple editors with a single style
- Replies: 10
- Views: 28918
Re: Update formatting in multiple editors with a single style
Interesting observation. If I use clipboard, then everything good: copy data from the "old" RVF (with individual styles) and paste it into empty sheet in the "new" document (with common styles). When paste, text correctly refers to existing styles or just a new style is added to ...
- Sat Sep 07, 2019 4:57 pm
- Forum: Support
- Topic: Update formatting in multiple editors with a single style
- Replies: 10
- Views: 28918
Re: Update formatting in multiple editors with a single style
It seems that I can’t write a working converter. I successfully collected all the styles from separate RVF files (as you said), but when saving to a common RVST file there are different IDs. In "old" version of our program RVF styles can be at different levels of nesting, maybe this is the...
- Fri Sep 06, 2019 4:44 am
- Forum: Support
- Topic: Update formatting in multiple editors with a single style
- Replies: 10
- Views: 28918
Re: Update formatting in multiple editors with a single style
Thanks for the answers, Sergey. Another question. If there are several RVFs saved in the "old" version of the program (each with its own styles), how to assemble a common collection of styles, and then switch all the RVFs (TRichViewEdit) to this common collection in the "new" ver...