Issue 49463 - Fontsize of additional inserted Titles after save and reload are too small
Summary: Fontsize of additional inserted Titles after save and reload are too small
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-18 15:57 UTC by kla
Modified: 2013-02-24 21:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description kla 2005-05-18 15:57:39 UTC
Insert any Title in a before saved and reloaded chart.
The Title are nearly hidden.
(Fontsize are 2 pt.)
Comment 1 bjoern.milcke 2005-05-19 11:01:49 UTC
The default size for charts (8x7 cm) is the reference size for which in the
ChartModel CTOR all font sizes are set (e.g. sub-title 11pt). For some reason on
load, the page size is initially (0,0), and a BuildChart is performed which
changes font sizes according to the page size ("view"). As a result, all font
sizes become 0. Naturally, later resizes do never again change the font
sizes. (The UI displays 2pt because this is defined as the minimum size for
fonts).

In SchDocShell::Load the method Construct is called. There, the default size
(vis-area, page size) is now set.  This fixes the bug, but of course this is
only fighting symptoms.
Comment 2 kla 2005-05-19 12:10:41 UTC
Target approved by tz
Comment 3 bjoern.milcke 2005-05-19 14:10:24 UTC
please verify

re-open issue and reassign to kla@openoffice.org
Comment 4 bjoern.milcke 2005-05-19 14:10:28 UTC
reassign to kla@openoffice.org
Comment 5 bjoern.milcke 2005-05-19 14:10:36 UTC
reset resolution to FIXED
Comment 6 kla 2005-05-19 16:05:07 UTC
verified
Comment 7 kla 2005-05-23 09:22:27 UTC
ok in master