To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=30490





------- Additional comments from [EMAIL PROTECTED] Mon Oct 31 00:45:52 -0700 
2005 -------
I would like to requalify in view of some additional complementary
information (but I don't know how to do it directly on the issue page).
This issue is of much importance for us as we use OpenOffice for music
edition which requires multiple fonts, complicated formating and page
models.

So far, experience with OpenOffice convinced us that we made the right
choice. However, we are still blocked on this problem.

Here's a quote of our project leader playing with this issue:

" The Writer enginer perfectly handles fixed line spacing down to 0.001
cm (0 cm is refused, the paragraph is refused or doesn't appear on
screen). Still 0.001 cm because it is an offset which we can manage on
our printouts, if we could overule the 0.1 inch limit.

Here are the test conditions:
- create a style (null_interline)
- apply it to two paragraphs
- save document
- edit the .odt file as a .zip
- look for the "null_interline" style and update the interline limit to
0.005 inch
  (lower than that block paragraph display)
- reopen document and we have right interline

This test shows that downgrading the fixed line spacing limit to minimum
value is a low-cost correction.

Please see the attached pdf file for example of such a test: series of
1, 2, 3 and 4 are different paragraphs.
Between 1 and 2, the limit is 0.1 in as in OOo 2. Betwee, 2 and 3, 4 the
limit is 0.005 in set directly into document.

I confirm that OO2 engine handles perfectly the 0,001cm line space : I
have used it on several pages without any problem.

Here is another proof : I recorded a macro which sets the line spacing
to the minimum allowed (0,25cm). Here is the code generated :

sub test_interligne2
rem ----------------------------------------------------------------------
rem define variables
dim document   as object
dim dispatcher as object
rem ----------------------------------------------------------------------
rem get access to the document
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

rem ----------------------------------------------------------------------
dim args1(1) as new com.sun.star.beans.PropertyValue
args1(0).Name = "LineSpacing.Mode"
args1(0).Value = 3
args1(1).Name = "LineSpacing.Height"
args1(1).Value = 250

dispatcher.executeDispatch(document, ".uno:LineSpacing", "", 0, args1())


end sub

Now I change the value from 250 to 1, and runs the macro, it works
perfectly.
And in the content.xml code I find for this paragraph :
<style:paragraph-properties fo:line-height="0.002cm"/>
0.002cm appears to be the minimum value really allowed. (or 0.0008",
which is equal).

The conclusion is that the limit of 0.25cm is purely arbitrary. A
programmer has decided one day that the user is not allowed to set a
lower value. Why ? 

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to