Hi,
according to mba in
http://openoffice.org/projects/api/lists/dev/archive/2006-09/message/209
it seems, that you can't prevent the document from closing by throwing a
CloseVetoException, if once a OnPrepareUnload-event is fired.
Is this still true for OpenOffice 3.2?
Is there another way
Am 01.06.2011 20:30, schrieb Oliver Brinzing:
Hi Peter,
but the document is frozen (no cursor, no scrolling, etc.)
Working with oo is possible with other documents furthermore.
this sounds pretty much like my problem we were talking about some weeks ago:
i print a document with my custom prin
Hi,
me migrated from OpenOffice 2.2 to 3.2 and have trouble with textdocuments.
The scenario is the following:
A user action is intercepted and a new document from a template created.
This OnNew event triggers a synced XJob. Some user interactions (via
OLE-bridge) have to be done, after all the
Hi Fernand,
Am 14.04.2011 14:14, schrieb Fernand Vanrie:
Where an how can i plaid to have PDF as graphic format, like Jpg, Tif
etc So we can place a PDF as a picture in our OO documents
api is not the appropriate list...
Nevertheless, you can insert pdf either as plugin or as object (at
Hi,
if you use a concordance file, store and reload the writer document,
then you can't update the index anymore
(http://openoffice.org/bugzilla/show_bug.cgi?id=61096 UNCONFIRMED, btw).
As os wrote in http://openoffice.org/bugzilla/show_bug.cgi?id=57008#c25,
there's a missing "automatic" attr
Hi,
the Basic code in
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Ftabcontrol
doesn't work for me in m101 (General Error).
Can anybody confirm?
Regards
Peter
--
-
To unsubscribe send email to dev-unsubscr.
Am 09.03.2011 15:44, schrieb underscore:
I was setting the background image as follows :
(xSectionProps is the XPropertySet of a XTextSection )
Object bitmapTable =
createInstance("com.sun.star.drawing.BitmapTable");
XNameContainer nameContainer = ooQueryInterface.XNameContainer(bitma
Am 10.02.2011 16:40, schrieb Andreas Säger:
Am 10.02.2011 15:30, Peter Eberlein wrote:
Just tested with 3.2 and m95 (3.4), no problems.
Which OS, please?
WinXP SP 2
Peter
-
To unsubscribe, e-mail: dev-unsubscr
Hi Andreas,
Am 09.02.2011 14:55, schrieb Andreas Säger:
Hello API experts,
Initial problem: first post in
http://www.oooforum.org/forum/viewtopic.phtml?t=45971
Satisfactory solution as of Nov. 2006:
http://www.oooforum.org/forum/viewtopic.phtml?t=47340
Today's problem (versions 3.3 and 2.4.3):
Hi Zbigniew,
Am 26.01.2011 10:28, schrieb Zbigniew Szot:
Hello
I have problem in finding relation between placement of a text section
and a text range .
Things are easy when section and range are placed in main document,
and get complicated when at least one of them is "nested" inside text table
Hi,
is there any chance to transfer redline portions to another (new)
document without getting lost the tracked changes?
XTransferable seems not appropriate here.
Regards
Peter
-
To unsubscribe, e-mail: dev-unsubscr...@api
Peter Eberlein schrieb:
Am 01.07.2010 14:15, schrieb Daniel Rentz:
Hi,
Peter Eberlein schrieb:
the interface is marked as deprecated, though many examples in the
wiki refer to it.
So which is the recommended approach to access controls in a calc sheet?
The XDrawPagesSupplier isn
Am 06.07.2010 15:03, schrieb Niklas Nebel:
On 07/06/10 14:06, Peter Eberlein wrote:
XNumberFormatPreviewer seems only to work, if the XNumberFormatsSupplier
is attached to an (unused) XNumberFormatter, otherwise a
RuntimeException is thrown. Is this the intended behavior?
Yes, it's int
Hi,
XNumberFormatPreviewer seems only to work, if the XNumberFormatsSupplier
is attached to an (unused) XNumberFormatter, otherwise a
RuntimeException is thrown. Is this the intended behavior?
Object formatter =
xMcf.createInstanceWithContext("com.sun.star.util.NumberFormatter",this.contex
Am 01.07.2010 14:15, schrieb Daniel Rentz:
Hi,
Peter Eberlein schrieb:
the interface is marked as deprecated, though many examples in the
wiki refer to it.
So which is the recommended approach to access controls in a calc sheet?
The XDrawPagesSupplier isn't supported by the sheet, on
Hi,
the interface is marked as deprecated, though many examples in the wiki
refer to it.
So which is the recommended approach to access controls in a calc sheet?
The XDrawPagesSupplier isn't supported by the sheet, only by the
spreadsheet document.
Regards
Peter
Hi,
though xSheetCellRanges.getCount() gives the correct answer,
xEnumeration.hasMoreElements() is false:
XCellRangesQuery xCellRangesQuery = (XCellRangesQuery)
UnoRuntime.queryInterface(XCellRangesQuery.class,xRange);
XSheetCellRanges xSheetCellRanges = xCellRangesQuery.queryEmptyCells();
Hi,
Am 20.05.2010 14:07, schrieb Fernand Vanrie:
Johannes Öberg wrote:
Thanks!
What is the call I make to perform the same action as when pushing the
Save
Record button?
Starts making a "save" macro ("record" the save action with the macro
recorder or write your own basic code) and place a but
Hi Fernand,
Am 21.04.2010 10:14, schrieb Fernand Vanrie:
Mathias ,
THanks for the reply, i know how to use the "Windows" stuf to sen emails
from Basic-code, but it complicate things as OO is not aware if Windows
has effective send the message... ) I was told that the OO-developpers
choose not t
Hi Fernand,
Fernand Vanrie schrieb:
Peter, Drew,
Just wondering: can we directly store parts of a Writterdoc ( text +
underlyingOOformating) --without the html workaround-- into a database
and instert it back with the original OOformating ?
Storing of course yes (in Basic too):
Select the p
Hi Fernand,
seems I have to stand corrected, never tried the pipe stuff before.
Am 10.03.2010 12:33, schrieb Fernand Vanrie:
i forgot to fill the oTextOutputStream.with the content of a Dbases record
oTextOutputStream.writeString(oRowset.Columns(nc).String
Peter ,
Not so sure I use a technic
Hi,
Am 10.03.2010 11:16, schrieb Fernand Vanrie:
rf,
I think it depends on the complexity off the content, I use a technic,
where we store some simple formated text as "html" in a datbase and then
import this "thml" coded text in a exiting OO writerdoc. The OO html
import filterrebuild the text
Hi Jürgen,
Am 12.02.2010 07:08, schrieb Juergen Schmidt:
i can confirm this problem also, please submit an 3.2.1 issue for this
problem.
Juergen
Done,
http://www.openoffice.org/issues/show_bug.cgi?id=109183
Peter
-
To unsubs
Hi,
the following snippet has worked in OpenOffice 2 (and IIRC in an early
OpenOffice 3 320m).
(mba in
http://api.openoffice.org/servlets/ReadMsg?listName=dev&msgNo=19765 )
A new hidden window of the xTextDocument has been loaded:
XModel xModel = (XModel) xTextDocument;
Hi Niklas,
Niklas Nebel schrieb:
On 01/06/10 16:03, Peter Eberlein wrote:
the following snippet (I left out the callback functions for the
listeners) gives an error:
xSaxParser =
CreateUnoListener("SaxParser","com.sun.star.xml.sax.XParser")
xDocumentHandler =
CreateUno
Hi,
the following snippet (I left out the callback functions for the
listeners) gives an error:
Sub SaxTest()
Dim aInputSource, xSaxParser, xDocumentHandler
on local Error Goto ErrorHandler
aInputSource = CreateUnoStruct("com.sun.star.xml.sax.InputSource")
xSaxParser = CreateUnoListener("Sa
Hi Laurent,
Am 18.12.2009 15:27, schrieb Laurent Godard:
Hi Franck
thanks a lot
it works, at least i can define a callback :)
btw, seems to me that i can not depend in the callback on a public
variable change
public myDummy
Sub Main
oASync = CreateUnoService("com.sun.star.awt.AsyncCallback")
o
Hi Vil,
Vil schrieb:
Hi,
short question:
I want to change the amount of input (editFields) in a Dialog after a
listerner hits on an event.
The change of the dialogs model works ok, but the effect of appearing new
edit fields in a dialog only shows up if I use a roadmapitem to go to
another step
Hi Perry,
Perry Werneck schrieb:
Hi,
My code is in C++, but, it is designed to be called from a OOo Basic macro.
The netork stuff is running in a separated thread but it would be nice to
the starbasic developers if I can implement some kind of "waitfor" method.
The "wait" call mencioned is a gr
Hi Wei Min
Am 24.08.2009 10:01, schrieb Wei Min Teo:
>
> I am trying to open and read the different headers of different pages on a
> document in order to sort them. So far, my code works fine for openoffice
> files, i'm able to access each page and get their relevant pagestyle names to
> get
Hi Devin,
Devin Bayer schrieb:
Peter Eberlein wrote:
The xTextRange has a property by name "TextTable". Query for it.
If the XTextTable is null, then your xTextRange is outside a table,
otherwise inside and you get your XTextTable interface.
Thanks Peter and Fernard:
The
Hi Devin,
Devin Bayer schrieb:
Hello. I'm using pyuno and writer documents. I want to duplicate rows
that contain certain words. Currently I'm doing this by looking at each
cell and searching it for the text, ignoring results past the end of the
cell's XTextRange.
This would be a lot easie
Peter Eberlein schrieb:
Hi,
the interface above is deprecated. So how can I evaluate, if a
XTextCursor is in a header resp. footer?
for the records answering myself: use (Basic)
EqualUnoObjects(cursor.getText(),myPageStyle.HeaderText
Hi,
the interface above is deprecated. So how can I evaluate, if a
XTextCursor is in a header resp. footer?
Regards
Peter
-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h..
Morten Omholt Alver schrieb:
There is only one problem remaining - when trying the technique of
using a hidden window, it seems like I lose connection to OpenOffice
when calling the
xComponentLoader.loadComponentFromURL("private:factory/swriter",
"_blank", 0, props);
method. I Acquired the xC
Morten Omholt Alver schrieb:
So, when I find a citation within a footnote, what I'm actually
looking for is the location reference to this footnote in the text.
So, xFootnote.getAnchor() should do that,
Peter
-
To unsub
Hi Morten,
Morten Omholt Alver schrieb:
2009/3/2 Peter Eberlein :
Hi Morten,
Morten Omholt Alver schrieb:
You can can query for the XText of the XTextRange of your citation. If
xText.supportsService("com.sun.star.text.FootNote") then you're in a footer.
The field has a prope
Hi Morten,
Morten Omholt Alver schrieb:
2009/2/26 Peter Eberlein :
I got a similar problem some time ago and solved it as follows (in Java):
The XTextViewCursor jumps to all relevant XTextRanges. The found
positions(X,Y) and the page number can you store in a new class, which
implements the
Hi Morten,
first, the api or the d...@sw mailing lists seems to be a better place to
ask, so I took the freedom to f'up.
Morten Omholt Alver schrieb:
Hi,
I am working on a plugin for interfacing JabRef and OpenOffice. This
involves inserting citation markers in a Writer text (representing a
Peter Eberlein schrieb:
Hi,
seems there's no API for the subject, am I right?
Regards
Peter
obviously this was too short...
If you have two consecutive XTextTables in writer, you can merge them
with the context menu.
Is this possible with API too?
Regards
Hi,
seems there's no API for the subject, am I right?
Regards
Peter
-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org
/Documentation/DevGuide/Config/Updating_Configuration_Data
Regards
Peter
-Original Message-
From: Peter Eberlein [mailto:pet@refofd.verwalt-berlin.de]
Sent: 14 January 2009 13:11
To: dev@api.openoffice.org
Subject: Re: [api-dev] Export to HTML, wrong IMG path
Hi,
Marian Roselló
Hi,
Marian Roselló Bennassar schrieb:
Hi everyone,
I have java program to convert my odt files to HTML, it seems to work only all
the references to images are wrong they point to the parent directory:
Tools/Options/Load-Save/General/save URLs relativ?
Regards
Peter
---
Arthur van Dorp schrieb:
Hi Peter
Peter Eberlein wrote:
Hi,
Shreyas Ganesh schrieb:
Hi,
I have a word document which I have converted to ODT format, using java
converter api (jodconverter).
I want to retrieve the text, from content.xml and also the positional
information of the different
Hi,
Shreyas Ganesh schrieb:
Hi,
I have a word document which I have converted to ODT format, using java
converter api (jodconverter).
I want to retrieve the text, from content.xml and also the positional
information of the different words in the document.
I am able to retrieve the text but the co
Hi Fernand,
Fernand Vanrie schrieb:
Frank,
You made my day :-) it works like a charme
Sub Test1
frame1 = thiscomponent.CurrentController.Frame
Dim aProps(5) as New com.sun.star.beans.PropertyValue
aProps(0).Name = "DataSourceName"
aProps(0).Value = "Bibliography"
aProp
Hi,
From: Jan Füssel [mailto:[EMAIL PROTECTED]
Sent: Friday, October 31, 2008 11:57 AM
To: dev@api.openoffice.org
Subject: Re: [api-dev] Using an Xframe as a parent for a Java dialog
Hi,
i've currently a solution to open a modless java-dialog, which need SWT and
only works on a windows machin
Hi,
Agnisys schrieb:
Hi,
%<
All I need is to detect that a cell value in a table has changed in a Writer
document.
For that case it would be enough to use the
com.sun.star.chart.XChartDataChangeEventListener, but be aware of issue
http://qa.openoffice.org/issues/show_bug.cgi?id=79127.
Fernand Vanrie schrieb:
Bernard, Michael
Maybe this situation is not so unfortunate at all. Now I uses my own doc
info's to store stuff via the API who better can not been changed by the
user :-). So I proposes that there is in the future an option where we
can chooche when storing via the AP
Hi Fernand,
Fernand Vanrie schrieb:
OK: when using OObasic the openend odt file is "thiscomponent" and
access to custom-userfields is done like:
oDocument = thiscomponent
oDocuInfo = oDocument.DocumentInfo()
the Service
http://api.openoffice.org/docs/common/ref/com/sun/star/d
Hi Mathias,
That's the easy part - call setComponent(). The problem is creating it,
we currently don't have an API for that. You can do the following: a
frame implements the XComponentLoader interface and so you can call the
loadComponentFromURL() method on it. If you pass the document as "Model
Hi Mathias,
Mathias Bauer schrieb:
Peter Eberlein wrote:
Hi Fernand,
Fernand Vanrie schrieb:
Peter Eberlein wrote:
Hi,
I have to scan an XTextDocument for some patterns and to sort the
found XTextRanges by their visual representation.
So the XViewCursor's point (getPosition()) see
Hi Fernand,
Fernand Vanrie schrieb:
Peter Eberlein wrote:
Hi,
I have to scan an XTextDocument for some patterns and to sort the
found XTextRanges by their visual representation.
So the XViewCursor's point (getPosition()) seem the only way to do
this (because the anchor of the textrang
Hi,
I have to scan an XTextDocument for some patterns and to sort the found
XTextRanges by their visual representation.
So the XViewCursor's point (getPosition()) seem the only way to do this
(because the anchor of the textrange may differ).
For the user the moving of the cursor is annoying.
Hi Oliver,
Oliver Specht schrieb:
Hi,
In other words: I want to get the result of the right corner of the
status bar, when the XTextViewCursor is placed in a read-only area.
There is no direct access to the protection/readonly status using the API.
It shouldn't be too hard to add this at leas
Hi,
in a writer document you have many possibilities to protect a XTextRange
against writing, one example:
Section -> ChildSection -> TextFrame -> TextTable -> Cell
You can protect one of the sections, the content of the frame, a cell in
the table..., and you can nest and combine many of th
Hi Martin,
Martin Klar schrieb:
Hi there,
How can I use 2 different fonts in a TextTable?
I tried:
table = doc.createInstance( "com.sun.star.text.TextTable" )
tableText = table.getCellByName( cellName )
cursor.setPropertyValue( "CharFontName", "Webdings" )
tableText.setString(" r ")
cursor.se
For the records:
http://www.openoffice.org/issues/show_bug.cgi?id=87023
Peter Eberlein schrieb:
So, just a little reminder, because tra didn't react:
Perhaps Jürgen as the project lead can answer Stephans question, if the
documented service com.sun.star.mail.MailMessage is available i
So, just a little reminder, because tra didn't react:
Perhaps Jürgen as the project lead can answer Stephans question, if the
documented service com.sun.star.mail.MailMessage is available in any
OpenOffice.org installation, if not, what's the reason?
Regards
Peter
Peter Eberle
Tino, any comments are appreciated.
Regards
Peter
Stephan Bergmann schrieb:
Peter Eberlein wrote:
Hi Stephan,
Stephan Bergmann schrieb:
Assuming your code is in Java, then
XMailMessage xMailMessage = com.sun.star.mail.MailMessage.create(
xComponentContext, "[EMAIL PROT
Hi Stephan,
Stephan Bergmann schrieb:
Assuming your code is in Java, then
XMailMessage xMailMessage = com.sun.star.mail.MailMessage.create(
xComponentContext, "[EMAIL PROTECTED]", "[EMAIL PROTECTED]",
"Subject", new TextTransferable("Body"));
would be the right way to do it. (Howe
Hi,
I stumbled over Services, which (so I guess) have to be created with the
ServiceManager.createInstanceWithArguments(AndContext)() method.
for example:
http://api.openoffice.org/docs/common/ref/com/sun/star/mail/MailMessage.html
So the following should work:
Object[] args = new Object[4]
Peter Eberlein schrieb:
Hi Andre,
Andre Heine schrieb:
Ok, the next problem...
Am Montag, 11. Februar 2008 15:37 schrieb Andre Heine:
Am Montag, 11. Februar 2008 13:41 schrieb Andre Heine:
Reference
object(fac->createInstance("com.sun.star.text.TextEmbeddedObject"),
UNO_Q
Hi Andre,
Andre Heine schrieb:
Ok, the next problem...
Am Montag, 11. Februar 2008 15:37 schrieb Andre Heine:
Am Montag, 11. Februar 2008 13:41 schrieb Andre Heine:
Reference
object(fac->createInstance("com.sun.star.text.TextEmbeddedObject"),
UNO_QUERY);
Using XTextContent for XTextEmbeddedO
Hi,
copying files with the SimpleFileAccess-Service works fine with
oo-documents.
With pdf-files I got the exception in the header (general error during
transfer command).
This occurs, when source and destination are on a W2K-Server.
On my local drive (WinXP and oo 2.2) I have no problems.
An
Peter Eberlein schrieb:
Hi,
like in Calc, a XCellRange in a writer table supports the XChartData
Interface.
Contrary to Calc, I don't get notified, when I add a
ChartDataChangeEventListener to a range and a value changes.
filed http://qa.openoffice.org/issues/show_bug.cgi?id=79127 for
Hi,
like in Calc, a XCellRange in a writer table supports the XChartData
Interface.
Contrary to Calc, I don't get notified, when I add a
ChartDataChangeEventListener to a range and a value changes.
Any hints about this?
Regards
Peter
-
Hi Mathias
Mathias Röllig schrieb:
(2) How can i test that the form is fully loaded?
No idea, sorry. What does that mean?
Try to create an UNO-Listener,
http://api.openoffice.org/docs/common/ref/com/sun/star/form/XLoadListener.html
I tried this, but it doesn't work if i do nothing wrong.
S
Hi,
Mathias Bauer schrieb:
(2) How can i test that the form is fully loaded?
No idea, sorry. What does that mean?
Try to create an UNO-Listener,
http://api.openoffice.org/docs/common/ref/com/sun/star/form/XLoadListener.html
Peter
--
Hi,
in doc1 there's a Masterfield.User with name "name1".
in doc 2 there's a userfield with the same name, but another content.
If I insert doc2 into doc1 with insertDocumentFromURL(), then the
content of name1 in doc1 gets overwritten by the value of the field of doc2.
Is this behavior inten
Anh-Tuan Le schrieb:
Ok, so I got this...
xCell.setFormula("=DATE(1980;12;24;)"); // for example
but what I'd like to do is have a date forumat column that looks like
Apr 20, 2007 4:19:00 PM
Anyone have any ideas?
http://api.openoffice.org/docs/DevelopersGuide/OfficeDev/OfficeDev.xhtml#1_2
Hi Bernard, hi Bart,
Bart Aimar schrieb:
Bernard Marcelly ha scritto:
Hi Bernard
As an alternative, there is another way to display (quickly) an help
text ?
did you read this one:
http://wiki.services.openoffice.org/wiki/Framework/WorkInProgress/Easy_To_Use_Message_Boxes?
There is a Basi
Hi Dominique,
Dominique De Munck schrieb:
Hi,
Thx for the lead.
However, I don't find any indication how to use this
XTransferableSupplier interface.
Unfortunatly, the "currentController" does not support this interface,
as you thought in
the following thread:
ok, let's try:
If you have sel
Hi Dominique,
Dominique De Munck schrieb:
Hi list,
I 'm looping through a document, and I want to "merge" some
paragraphs, ie past the contents of a paragraph in anothor. I want to
keep the markup (italic, bold etc).
maybe the com.sun.star.datatransfer.XTransferableSupplier is the best
fittin
Hi,
comparing to VBA, tabs are a very missed feature in basic. Which
services do support this interface, so that it can be used in a
programming way? Or is it something different at all?
Regards
Peter
-
To unsubscribe, e-ma
Carsten Driesner schrieb:
Could please write me (owner must be set to
"cd") an issue as enhancement to distinguish between custom and custom
document toolbars. This would allow me to support state information for
custom document toolbars.
Done, http://qa.openoffice.org/issues/show_bug.cgi?id=
Hi Frank,
Frank Schönheit - Sun Microsystems Germany schrieb:
The good news is that the online documentation is not up-to-date:
http://api.openoffice.org/source/browse/api/offapi/com/sun/star/graphic/MediaProperties.idl?rev=1.5&view=markup
tells you that "private:graphicrepository/sw/imglst/lc20
Hi Carsten,
Carsten Driesner schrieb:
That's the drawback of the current solution and not possible. You can
set a title for the document toolbar, but nothing more. The users have
to change the settings via "Tools - Options" themselves.
You meant "tools-customize"
We discussed
the current so
Hi Carsten,
thanks for your fast answer and the example.
Carsten Driesner schrieb:
...
2. Can be accessed via the window state configuration. You have to
create the service "com.sun.star.ui.WindowStateConfiguration" and
retrieve the window states for a specific module (via getByName(
ModuleId
Hi,
The MediaProperties allow private URLs with the syntax (e.g.)
"private:resource/projectshortname/imagelist/12345".
It seems, that this does not refer to the zip-archive, because (e.g.)
"private:resource/sw/imagelist/lc20556.png" or
"private:resource/sw/imglst/lc20556.png" are no valid URLs
Hi,
Carsten showed an example of inserting a toolbar with StarBasic.
If it is extended with a graphic, the UI has the possibilities to show
icon, text or icon and text.
How to handle this with api?
Inspecting the settings of the toolbar, I found a property "Style" as a
PropertyValue, but this
Hi Andreas,
Andreas Bregas schrieb:
<..snip..>
Documents support a property "BasicLibraries" referencing
the document's Basic library container.
But a corresponding "DialogLibraries" property is missing.
The reason is that there's nearly no use in accessing dia-
log libraries by API because the
Hi Tobias,
Tobias Krais schrieb:
Hi Matthias,
I know this is not the right list, but I need a OpenOffice Chart
document (application name: com.sun.star.chart.ChartDocument) with the
extension ".odc". How can I create such a document? Or can you send me
one per PM?
The answer to this problem:
Hi Oliver,
Oliver Specht - Sun Germany -Hamburg schrieb:
Hi,
you probably need the service "com.sun.star.text.TextField.DropDown"(see
below).
I don't know why it's not listed in the Developers Guide.
Thanks for the fast response.
Yes, the DevGuide is not up to date.
For another example see
Hi Alamo,
Tobias Krais schrieb:
Hi Alamo,
I'm trying to insert an Input List through XDispatchHelper... Does anyone know which
".uno:..." code is it?
I looked for it in a macro and it says it's ".uno:InsertField", but that's the
Input Field, isn't it?
I don't know the answer. But here you
Oliver Brinzing schrieb:
Hi Peter,
this will copy the outline numbering ... :-)
%< --- %<
Thx
Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Oliver,
Oliver Brinzing schrieb:
what we do is to copy the user input text section from a document to a
draft/copy template
for printing purpose only ... the drafts/copyies have different page styles ...
how do you handle the problem, when the user works with headlines and
has made change
Hi,
Bjoern Milcke schrieb:
Hi Berend,
That's really a cool tool! Very good work. You can use this tool for
getting familiar with the structure of OOo documents, but also for
debugging. The first real UNO debugger available :-)
For Basic, I would say no. Many people like Bernards XRay.
An
Hi Laurent,
Laurent Godard schrieb:
Hi Peter
btw:
oRange = ThisComponent.Sheets(0).GetCellRangeByName("a1:a3")
oData = oRange.GetDataArray()
msgBox uBound(oData()) ' gives me 2.
If I substitute the range with "a1:c1" the uBound of the array gives
me 0.
Any ideas?
yes
you'll have a variant
Hi Niklas,
Niklas Nebel schrieb:
Laurent Godard wrote:
merging a cell range is quite easy
activeSheet = thiscomponent.currentController.activeSheet
range = activeSheet.getCellRangeByName("A3:B3")
range.merge(true)
btw, how can i merge also the datas of all merged cells so that they
are displa
Hi Kent,
Kent Gibson schrieb:
Is there any way to do a search using XSearchable in
writer and set the scope to something other than the
document, for example a table or a cell range?
I am pretty sure it works in calc with cell ranges,
but I can't get it work in the writer for anything but
a doc
Hi Alex,
Alex Thurgood schrieb:
Peter Eberlein wrote:
Hi,
I can connect to SMTP (thanks to ms777) with the following snippet,
but found no way to instanciate a com.sun.star.mail.MailMessage
(CreateUNOService("com.sun.star.mail.MailMessage") gives me a
null-object).
Is this
Hi Mathias,
Mathias Bauer schrieb:
Peter Eberlein wrote:
Hi,
I would like to use the subject module for mailing, because
com.sun.star.system.SimpleSystemMail has some restrictions (no access to
body).
IIRC there is no implementation for this service in OOo at all. OOo's
strateg
Hi,
Tom Schindl schrieb:
Hi,
if you don't show us the error you are getting we are lost. But if need
a example of how one can convert documents this codesnippet does exactly
that. You simply have to code the loop fetching all documents in a given
directory.
http://codesnippets.services.openoff
Hi,
I would like to use the subject module for mailing, because
com.sun.star.system.SimpleSystemMail has some restrictions (no access to
body).
I can connect to SMTP (thanks to ms777) with the following snippet, but
found no way to instanciate a com.sun.star.mail.MailMessage
(CreateUNOServi
Hi Steffen,
thx for the fast answer,
Peter
Steffen Grund schrieb:
Hi Peter,
add the following lines to the end of the macro that is executed when
the button is pressed:
xWindow = ThisComponent.currentController.Frame.ContainerWindow
xWindow.setFocus()
This sets the focus back to the docum
Hi
Andreas,
loading the document
in hidden modus is not possible, when exporting to pdf. The issue is fixed in
2.0.3.
Peter
-Original Message-From: Andreas Bröker
[mailto:[EMAIL PROTECTED]Sent: Wednesday, March 22, 2006 1:00
PMTo: dev@api.openoffice.orgSubject: [api-dev] (Jav
Hi,
to reproduce the problem:
Create a text document with two pages; on page one a xTextRange and on page
two a push button which triggers the following snippet:
oViewCursor.GotoRange(xTextRange, False) 'or
'oDoc.CurrentController.Select(xTextRange)
oViewCursor.SetVisible(true)
The xTextRange is
Hi, Cristian,
Cristian Fonti schrieb:
Hi to all,
I see in the developer's guide how create an index in a writer document
with the JAVA API.
i would add at every page number in the index (or eventually in the
title) a hyperlink to the right section..
I think you have to use the PropertyValue
Hi Laurent,
I assume you're talking about a dialog (or a form?).
Why don't you use the event-register in the property-dialog and catch
the click & doubleclick-events in a function? Scrolling is not
triggered there.
Peter
Laurent Godard schrieb:
Hi all
in a macro i define a clik mouse even
1 - 100 of 115 matches
Mail list logo