Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Blogs
User Name



OOo/LibreOffice Calc BASIC: cell display orientation/rotation

Posted 05-18-2012 at 02:45 AM by catkin

There are incorrect examples on the internet of using OOo/LibreOffice BASIC to set Calc cell contents to display vertically, the same as can be done interactively via Format Cell -> Alignment -> Text Orientation and setting the angle to 90 degrees.

The problem is that they show 90 but the units are 1/100ths of a degree so vertical requires 9000.

This works
oCell.setPropertyValue( "RotateAngle", 9000 )
This does not work (it is here to...
LQ 5k Club
Posted in Uncategorized
Views 1823 Comments 0 catkin is offline

JFS error "dbAlloc: the hint is outside the map"

Posted 05-06-2012 at 06:10 AM by catkin

This error seems to be rare. Netsearching for "the hint is outside the map" found only source code repositories and a message database with no information beyond the message itself. No pages were found reporting the message occurring in the wild.

The original patch which introduced the message ( has this comment:
# 03/10/14 shaggy <at> 1.1155
# JFS: Improved error
LQ 5k Club
Posted in Uncategorized
Views 1165 Comments 0 catkin is offline

VBS equivalents of some Linux date command format sequences

Posted 02-27-2012 at 11:13 PM by catkin

Here are some Visual Basic Script statements that generate the effect of the Linux date command used with format sequences %y, %Y, %b, %B, %n, %a, %A, %d, %H, %I, %p, %M and %S
Dim strValue

' %y for year, two digit
strValue = Right(DatePart( "yyyy", Now), 2)

' %Y for year, four digit
strValue = DatePart( "yyyy", Now))

' %b for month name, example Jan
LQ 5k Club
Posted in Uncategorized
Views 1187 Comments 0 catkin is offline

Configuring Opera 10 with a more classic/cleaner interface

Posted 02-14-2012 at 11:38 AM by catkin
Updated 02-14-2012 at 11:39 AM by catkin (Fixed double quote in wrong place)

Disabling Speed Dial (allows a blank page at Start-up)
  1. In the Opera address bar, type in about:config or opera:config.
  2. User Prefs → Speed Dial State and set it to 3 (disabled).
  3. Save (bottom of page).
Now can get a blank page at start-up by Preferences → General and setting Start-up to "Start with Speed Dial".

Panel at top with text instead of icons
  1. Make the panel bar visible (F4 toggles visibility).
  2. Menu → Appearance (F12) → Toolbars
  3. Click
LQ 5k Club
Posted in Uncategorized
Views 4392 Comments 2 catkin is offline
Rating: 3 votes, 5.00 average.

Hero Honda Splendor fork oil change

Posted 02-11-2012 at 01:36 AM by catkin

The easiest way to do this job is to remove the drain plugs but the part that they screw into within the slider may turn. If that happens a special tool is required to hold it. The procedure described here avoids that danger; it does not need any special tools.

Note on terms: the fork tube (a.k.a. stanchion) is attached to the yokes (a.k.a. triple tree) which pivot in the frame while the slider (a.k.a tube) holds the wheel. The least ambiguous terms, "stanchion" and "slider",...
LQ 5k Club
Posted in Uncategorized
Views 3141 Comments 0 catkin is offline


All times are GMT -5. The time now is 10:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration