Michael Custer | 2 Jul 18:27

Help please...

I need to know how to download the complete developers guide
to my flash drive.  I hope there is a pdf version somewhere.

Thanks in advance.

--

-- 
----------

M. L. Custer
oorikz <at> gmail.com

Focus window to the view cursor


I move the view cursor in a Write document and then the cursor is no 
longer visible. What is the trick to move the view so that I can see the 
view cursor.  If I manually press a key to move the cursor, then the 
view changes so that I can see the cursor. I just cannot remember how to 
do this from StarBasic.

--

-- 
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
Steffen Boersig | 1 Jul 11:14
Favicon

Inserting GraphicObjects in tablecells in oWriter

Hi,

i'm currently trying to solve my problem with tablecells.
I managed to get my GraphicObjects into my oWriter files with help of 
snippets, mainly with

http://codesnippets.services.openoffice.org/Writer/Writer.EmbedAGraphicIntoATextdocument.snip

To determine the position where to anchor the image, I'm using 
placeholders as normal strings within my oWriter file.
A XTextCursor is placed onto that placeholder and ist used for

 text.insertTextContent(cursor, xTextContent, true);

Runs smoothly except for the fact, that if my placeholder is within a 
table I'm getting a RuntimeException with no further details.
After some research online I've found several approaches to that 
problem. One which suggests using the method

getCellParagraph($cell)

to get an anchor to that specific cell. Problem is, there is no 
getCellParagraph() method in the API of OOo.
Maybe it was an older approach.
The second approach I found suggests using Shapes to add them to 
DrawPages. I couldn't figure out to make that one work, maybe because it 
was suggested for oCalc instead of oWriter. But I don't know if it 
should work in oWriter the same way and I'm just too dumb to use it.
That one was discussed here:

(Continue reading)

Jeremy Trudel | 30 Jun 20:10

changing the order of xdrawpages

I am using the XDrawPageDuplicator to duplicate an XDrawPage in my impress
document. The issue I am having is that when you call the duplicate()
method, the XDrawPageDuplicator adds the new XDrawPage into the XDrawPages
immediately after the index of the XDrawPage that was duplicated. I need the
newly created XDrawPage to be inserted at the end of the XDrawPages. Is
there a way to change the index of an of an XDrawPage within the XDrawPages?

Bradley Bolen | 29 Jun 18:42
Favicon

Advancing Effects in a Slideshow


Hello.

I'm trying to control effects in a slide show.  I have tried using the gotoNextEffect( ) function of the
XSlideShowController interface to advance to the next effect on a slide.  I have also tried using the
nextEffect( ) function of the XSlideShow interface.  Both of these fail in a running slideshow.  I see that
both of these interfaces are marked as unpublished.  Does that also imply that the functionality may be
incomplete, or is it possible that this is just a bug?

I did try looping through the shapes on the slide and calling the startShapeActivity for those having the
"effect" property set, but that did nothing as well.

Can someone verify that I am using these interfaces the way they are intended?  Is there missing/broken
functionality in these unpublished interfaces (I didn't see anything in the issue tracker)?  Are there
any other ideas on how to advance and effect on a slide?

Thanks for any help.
Brad Bolen
Favicon

adding a method to a published interface

Hi,

would adding a method to an existing published interface be considered
too incompatible for a 3.2 release?

In particular, css.awt.XView has a method setZoom, but not a getZoom,
which I'd like to add. I could create a crutch called XView2, deriving
from XView, having only this one said method. However, it would lead to
a better API (IMO), if we would simply add the method to XView.

Now XView is "published", but did't we say that there's a certain type
of incompatible API changes which we should consider to allow for
non-major OOo releases?

In this particular case, I'd say this is such a case: The change makes
the interface more consistent, allows retrieving information which
otherwise cannot be retrieved (via UNO), and touches an interfaces which
is rarely used inside OOo's code base (and probably also rarely outside
of it).

Opinions?

Ciao
Frank

x-post to interface-discuss and dev <at> api, follow-up to dev <at> api

--

-- 
- Frank Schönheit, Software Engineer         frank.schoenheit <at> sun.com -
- Sun Microsystems                      http://www.sun.com/staroffice -
(Continue reading)

Dinesh Sharma | 27 Jun 19:55

New memebr introduction

I am Dinesh , I have been a professional C++ developer for the past 10 years
and it has been mainly on Windows platform. I have an extensive experience
on COM technolgy also. I do have couple of years experience on .net and Java
and the Linux platform. I have handled projects mainly on sever side and
enterprise level.
I would certainly like be a key contributor  the to open office API and
other projects at Open office as I begin to explore various projects at open
office

Thanks
Dinesh

--

-- 
~D
René van Oevelen | 28 Jun 10:22

Re: [dba-dev] DisposedException - EOF reached

Dear Developers,

This problem is still valid. The value passed 
with setPropertyValue does not seem to matter, I 
always get the same error. Currently the string 
looks like "sdbc:flat:file:///C:/Modulas/998", 
but I tried all kinds of variations and even non 
existing values, nothing changes. Questions? Suggestions? Comments?

Thanks,
René

>>>-------- Originele bericht --------
>>>Onderwerp: [dba-dev] DisposedException - EOF reached
>>>Datum: Thu, 25 Jun 2009 09:47:04 +0200
>>>Van: René van Oevelen <r.van.oevelen <at> i-modulas.nl>
>>>Antwoord-naar: dev <at> dba.openoffice.org
>>>Aan: dev <at> dba.openoffice.org
>>>
>>>Dear Developers,
>>>
>>>I'm trying to recode the sample known as
>>>'mailmerge code snippet' and found
at
>>>http://api.openoffice.org/source/browse/api/www/Examples/Snippets/Writer/Writer.MailMerge.snip?rev=1.1&view=markup. 
>>>
>>>
>>>I'm testing my code on a Windows Vista system
>>>with OpenOffice 3.1 Dutch version. As soon as I'm
>>>executing the method setPropertyValue with the
(Continue reading)

Sebastian Patschorke | 27 Jun 16:38

Alignment of TextGraphicObject

Hi,

How can I set the alignment of a TextGraphicObject? Through the ui it is
possible, but I don't find something like a property in the api.

regards
Sebastian
Bc. Jan Hubert | 26 Jun 11:25

new good function in program

Hello,
where to report ideas for new useful functions?

Today I have found good idea: "Single click calculation tool for writer" 
Which can be useful for businessmans and so on,
Imagine this work: I have got text document including many many prices 
(numbers, for example any quotation) and I would like to make discount 
or increase price - is complicated to import this numbers into Calc. I 
would like to change this prices directly in Writer by single click on 
them which will change them with coeficient of my choose (for exaple x1,1)
Just click click click clic and ... done!
Program must be resistat due different formats of the numbers for example:
1.000
1000
1 000
which is all one thousand
(sometimes is using . or , so it must be possible set format is options 
maybe)
after recalculation can be new number highlighted by any color, so user 
can see which numbers are already clicked and recalculated.

BR Jan

--

-- 

Jan Hubert - sales manager
Labtech s.r.o.
Brno - Polní 23/340
Mobil: 733 101 081
Mail:  jan.hubert <at> labtech.eu
(Continue reading)

Hal Vaughan | 26 Jun 08:38
Gravatar

Avoiding Moving The Cursor Before Start of Document

I have a macro collection I've posted about before.  It works like the  
AutoCorrect function, but I've customized it for me.  If I hit Ctrl- 
Shift-T (actually Command-Shift-T since I'm now on an iMac), I get a  
dialog that lets me define a key phrase and the AutoText that goes  
with it.  Then when I'm writing, after any space or at the start of a  
new line, I hit Command-T.  That activates a macro that starts at the  
current cursor position and steps back until it finds a space or a  
control character.  The only problem with this is if I do this at the  
start of a document I end up with a null character or something  
instead and I can't do a comparison on it.  So is there some way,  
after moving the cursor, to check and see if I'm at the start of the  
document?

The code that steps backwards through the characters in the document  
is below.  Notice that all I do is step back, check each new character  
added to the start of the selection and see if the value is that of a  
space or less.  I want to add an If statement before I move the cursor  
left so if I'm trying to move it past the start of the document, I can  
catch it.

Of course, another alternative is to be able to define a variable to  
whatever character I'd find at the start of the document and compare  
sChar to that value to see if I'm at the start.

Sub InsertAutoMacroText

	oDoc = ThisComponent
	oCurs = oDoc.getCurrentController().getViewCursor()
	iEnd = false
	iCount = 0
(Continue reading)


Gmane