Commits

Author Commit Message Labels Comments Date
fs
don't maintain the exception files twice, base SLOFILES on EXCEPTIONSFILES
fs
moved the code for initializing a new control model\'s font from the FormControlFactory to the ControlLayouter
fs
getProperty( RefDevice ) implemented now
fs
#b6875455# try another heuristics for the default control font
fs
enable UseDocumentTextMetrics in all document types except spreadsheets - there it doesn't really work reliably, since Calc does not properly pass its own reference device to the drawing layer
fs
make the 'use document font for form controls' dependent on some conditions ...
fs
#b6875455# introduce lcl_initializeControlFont: set an explicit font at the control. Previously, we relied on the implicit font used by the underlying VCL controls, which could differ heavily when you changed the platform or even only the desktop theme. Now, we use the default font of the document we live in, taken from the proper style family.
fs
#b6875455# make reference device usage for form controls depend on a configuration setting (per document type)
fs
#b6875455# added Forms/ControlLayout/UseDocumentTextMetrics, controlling whether form controls should use the document's reference device for text rendering
fs
#b6875455# allow OutputDevice::DrawText to "decompose" the MetaTextRectAction. That is, if the given ITextLayout says that "decomposition" should be used, then do not add a MetaTextRectAction, but delegate creation/adding of MetaActions to ImplDrawText. Effectively, this means that if a Control is painted to a virtual device with output disabled, the proper meta actions - those for the DrawTextArray - are ge…
fs
#b6875455# always use TWIP as target device map unit during drawing text, this saves us some rounding errors
fs
DrawText( Rect, ...): properly calculate the to-be-returned text rect even in edge cases ...
fs
#i10000#
fs
#i10000#
fs
#b6875455# - introduced (static) ImplGetEllipsesString, taking an OutputDevice and an ITextLayout - introduced ITextLayout::GetTextBreak => with this change, all text-related operations in OutputDevice::ImplDrawText and OutputDevice::ImplGetTextLines should be routed through the ITextLayout interface
fs
#b6875455# - made ImplDrawText and ImplGetTextLines static This way, we find all places where both methods access the target device (which is now explicit instead of implicit), and can make sure that everything is routed through the ITextLayout interface, if necessary. - also, made both methods take ITextLayout& instead of a ITextLayout* - added a default implementation for ITextLayout, which simply de…
fs
consolidate DrawText and GetText - we do need versions with and without ITextLayout parameter
fs
#b6875455# refactor the Control's "draw with reference device" functionality In particular, use the existing DrawText/ImplGetTextLines methods, but provide them with an optional ITextLayout interface, which replaces the usage of GetTextWidth and DrawText( Point, ... ) This way, the ref-device-rendering benefits from the existing implementations in DrawText( Rectangle, ... ), in particular, it now respects al…
fs
setZoom: care for rounding errors which occur during implicit conversion from float to double
fs
ooops, DrawControlText of course needs to merge the actual ControlFont into the canonical font
fs
#b6875455# impl-data for Control instances
fs
#cr6875455# introduce a ReferenceDevice property for various control types
fs
#cr6875455# properly pass the reference device to the SdrModel (patch approved by od)
fs
#cr6875455^# pass the SdrModel's reference device to UnoControlModels
fs
#cr6875455# mpLayoutData not directly accessible anymore
fs
#cr6875455# - introduce impl-data (ControlData) for a control - move Control::mpLayoutData to an impl structure - introduce Control::GetCanonicalFont/TextColor - introduce Control::ImplInitSettings, which collects the duplicated code in all kind of derived classes, relying on GetCanonical* now - introduce a reference device for a Control, which can be used to render text - introduce Control::DrawControlText, which delegates to DrawText if no reference device is set, or renders the text using the reference device - let static (i.e. non-input) Control classes use DrawControlText instead of DrawText missing items (at least): - text layout data in DrawControlText (needed for A11Y) - respect vertical and horizontal alignments - respect various other TEXT_DRAW_* flags - word breaks
Vladimir Glazunov
CWS-TOOLING: integrate CWS jl133_DEV300
ihi
CWS-TOOLING: integrate CWS jl133 2009-10-20 11:47:23 +0200 jl r277045 : CWS-TOOLING: rebase CWS jl133 to branches/OOO320@276942 (milestone: OOO320:m2) 2009-09-30 12:23:43 +0200 jl r276551 : #i103747# added dependency to local filesystem service 2009-09-14 14:12:18 +0200 jl r276113 : #i103747# 2009-09-14 14:09:41 +0200 jl r276112 : #i103747# 2009-09-14 13:24:20 +0200 jl r276108 : #i103747# 2009-09-11 08:27:43 +0200 jl r27604…
Vladimir Glazunov
CWS-TOOLING: integrate CWS calc32stopper4_DEV300
nn
#i101139# MoveTable: nDestTab must be target position, not APPEND
  1. Prev
  2. Next