View Issue Details

IDProjectCategoryView StatusLast Update
0003089JEDI VCL00 JVCL Componentspublic2006-03-31 06:22
ReporteranonymousAssigned Toobones 
Status resolvedResolutionfixed 
Product Version3.00 
Target VersionFixed in Version3.30 
Summary0003089: Justify Alignment in JvRichEdit
DescriptionLet me explain the problem.
If I change the Paragraph's alignment to justify... when I save to file and reload the file again (using Lines.SaveToFile and Lines.LoadFromFile), the Paragraph comes back without justifing alignment.
Well, looking the JvRichEdit.pas file, I saw in the TJvParaAttributes.SetAlignment procedure this command:

if Value = paJustify then

I just found one ocurrence with this command. In debug mode, the SetAlignment isn't called when I Lines.LoadFromFile is used.
I did a "poor" test... What I did was to put this command:


... in LoadFromFile procedure. After this change it worked.

As I said, this is just a "poor" change. I don't know if this is the rigth way to correct this issue.
The same thing happens when LoadFromStream is called!

Could somebody with more experience take a look in this issue, please ?

Best Regards
Thiago A. Flessak
TagsNo tags attached.



2005-07-12 12:54

developer   ~0007555

Workaround is to set property AutoAdvancedTypography to False and AdvancedTypography to True (both are properties of TJvRichEdit)


2006-03-31 06:22

administrator   ~0008794

Well, that seems enough to me.
If not, please create a NEW issue with a demo application.

Issue History

Date Modified Username Field Change
2005-07-12 10:46 anonymous New Issue
2005-07-12 12:54 remkobonte Note Added: 0007555
2006-03-31 06:22 obones Status new => resolved
2006-03-31 06:22 obones Resolution open => fixed
2006-03-31 06:22 obones Assigned To => obones
2006-03-31 06:22 obones Note Added: 0008794