Andrew Douglas Pitonyak wrote:
These types of questions are usually better answered on the
[email protected] mailling list, or on the oooForum in the macro
section (there are more macro programmers there)
Bartolomeo Mastromarco wrote:
I've got a question concerning the line width fields in the
com::sun::star::table::BorderLine struct.
For values 0.05, 0.50 and 1.00 it' s right,
but values as 1.50 or 5.00 it's impossible a matching with the
graphic interface.
Probably there is any table for conversion, or there is another
solution?
that's my code :
BorderLine borderLine = new BorderLine();
borderLine.Color = bordercolor;
short line=(short)(width*36);
borderLine.OuterLineWidth = (short)(line);
borderLine.LineDistance = (short)0;
What language is this code?
You never indicated what you are setting to 0.05, 0.5, 1.0, 1.50, and
5.00.
Never mind, I see taht you did post to the dev list as well.
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info: http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]