gaozm wrote: > Hello all: > Here is a new question that because the cells hold high-default value is > too small(0.45cm), so our team changed the cells hold high-default value to > 0.53cm, the changed code like this: > > // ppPoolDefaults[ ATTR_FONT_HEIGHT - ATTR_STARTINDEX ] = new > SvxFontHeightItem( 200 ); > ppPoolDefaults[ ATTR_FONT_HEIGHT - ATTR_STARTINDEX ] = new > SvxFontHeightItem( 250 ); > > and > > // ppPoolDefaults[ ATTR_CTL_FONT_HEIGHT - ATTR_STARTINDEX ] = new > SvxFontHeightItem( 200, 100, ATTR_CTL_FONT_HEIGHT ); > ppPoolDefaults[ ATTR_CTL_FONT_HEIGHT - ATTR_STARTINDEX ] = new > SvxFontHeightItem( 240, 100, ATTR_CTL_FONT_HEIGHT ); > > the file path is: sc/source/core/data/docpool.cxx > > Howerer,these corrections may cause some graph drawing problems at the > bottom of the table. > I hope you can give us some suggestions telling where can we change to > obtain the cell's high-default value rightly, I'm looking forward to your > reply.
That would change the default font height for Latin and CTL text. When you say the row height is too small, do you mean CJK text doesn't fit into the cell? Maybe ScGlobal::InitTextHeight has to be changed, but in a way that doesn't affect Latin-only users, for whom the current height is good. Niklas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]