LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

OOo/LibreOffice Calc BASIC: cell display orientation/rotation

Posted 05-18-2012 at 01: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
Code:
oCell.setPropertyValue( "RotateAngle", 9000 )
This does not work (it is here to...
LQ 5k Club
Posted in Uncategorized
Views 1709 Comments 0 catkin is offline
Old

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

Posted 05-06-2012 at 05: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 (http://permalink.gmane.org/gmane.com...jfs.patches/49) has this comment:
Quote:
# 03/10/14 shaggy <at> shaggy.austin.ibm.com 1.1155
# JFS: Improved error
...
LQ 5k Club
Posted in Uncategorized
Views 1108 Comments 0 catkin is offline
Old

VBS equivalents of some Linux date command format sequences

Posted 02-27-2012 at 10: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
Code:
Const DATE_PART_ABBREVIATE = True
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
strValue
...
LQ 5k Club
Posted in Uncategorized
Views 1133 Comments 0 catkin is offline
Old

Configuring Opera 10 with a more classic/cleaner interface

Posted 02-14-2012 at 10:38 AM by catkin
Updated 02-14-2012 at 10: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 4273 Comments 2 catkin is offline
Old
Rating: 3 votes, 5.00 average.

Hero Honda Splendor fork oil change

Posted 02-11-2012 at 12: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 2790 Comments 0 catkin is offline

  



All times are GMT -5. The time now is 06:25 PM.

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