When have made some changes to a Dialog (stored in a Librarie) I trye to
make this changes persitent for future use.
The secrets are in the methods off the dialog.model
odialog.model.read( ???)
odialog.model.write(???)
found a confusing explaination in the DSK but nullware any examples how
to
Andor,
Yes you can do it , using the connection provideror using the UCB.
Go to the OpenOffice unofficial forum and try http or https and you
will find some code you can use to acces a website adress.
Gave also look a some Translater extentions, they use Google Translate
and send and get back
Ariel,
The stuff you did with a dialog's an menu's inside, could be a
alternative in basic ?
the examples made by Ariel i found here
http://hermione.s41.xrea.com/pukiwiki/pukiwiki.php?OOoBasic%2FDialog%2FExample15
Hope it helps
Fernand
Hello Hal,
On Wednesday 15 June 2011, 02:05,
Hal ,
Y ou can set a Dialogcontrol visible or not , but we need a timeloop to
keep it visible
i use 2 sub's for open and closing
Sub Opendialog
bEnd = false
oDialogcontrol.setvisible(true)
Do
Wait 100 ' keep computer running (should use wait for key event if
existed)
Loop while not bEnd
a
cancelbuton who call a sub who close the dialog and do someting more...
Thanks!
Hal
On Jun 16, 2011, at 3:30 AM, Fernand Vanrie wrote:
Hal ,
Y ou can set a Dialogcontrol visible or not , but we need a timeloop to keep it
visible
i use 2 sub's for open and closing
Sub Opendialog
bEnd = false
On 16/06/2011 09:52, Hal Vaughan wrote:
On Jun 16, 2011, at 3:30 AM, Fernand Vanrie wrote:
Hal ,
Y ou can set a Dialogcontrol visible or not , but we need a timeloop to keep it
visible
Am I right, then, in assuming that the time loop is there because once that
particular instance
Hal ,
when using a Listner the Listener subroutine is called with a EventObject
the EventObject.source is the ButtonControl
the EventObject.source.context is the DialogControl
oDialogControl = oEvent.source.context
On Jun 16, 2011, at 4:59 AM, Fernand Vanrie wrote:
On 16/06/2011 10:20
Can i fill a Dialog RichTextControl with (formated) text from a Writer
Doc. ?
Ariel learned us to format a text in aRichTextcontrol , but how can i
copy some text from a writerDoc to a RichTextControl without losing the
text formating ?
Thanks for any hint
Fernand
--
Stephan,
it can: using the UCB, but i am still confused about the posting part
of it
have a look at the forum
http://www.oooforum.org/forum/viewtopic.phtml?t=88980
Greetz
Fernand
On Wed, May 25, 2011 at 5:46 PM, Fernand Vanrie s...@pmgroup.be
mailto:s...@pmgroup.be wrote:
Thanks
Hallo,
I trie to connect to Googleapis using OO and https ?
Code:
oConnector = createUnoService(com.sun.star.connection.Connector)
oConnection = oConnector.connect(socket,host=www.googleapis.com,port=80)
oConnection.write( StringToByteArray( GET
Christian ,
Thanks for your valuable help.
After i succeeded to use the OO connection stuff to use Google
Translations i was tempted to use the newest Google Tasks API too.
Using port 443 i get no respons at all ?
I left my API_Key out for security reasons.
But
In my working code for
Christian ,
Thanks again, BTW do you know who can give me more info about OO - SSL
connections ?
Greetz
Fernand
On Wed, May 25, 2011 at 4:01 PM, Fernand Vanries...@pmgroup.be wrote:
Christian ,
Thanks for your valuable help.
After i succeeded to use the OO connection stuff to use Google
hope it works
Fernand
Hi Fernand,
Il 11/05/2011 19:52, Fernand Vanrie ha scritto:
Paolo ,
I think you need refresh your textfields,
when needed i can send you some code tomorrow
Thank you for the suggestion.
Actually I forgot to mention that I did already experimented the
refresh method
Paolo ,
I think you need refresh your textfields,
when needed i can send you some code tomorrow
Greetz
Fernand
Hallo,
I need to change (via API) the database bound to a given document.
In practice I need to perform via API the same operation that you
normally do via the menu Modify-Change
us to show a EPS without ratserized preview and
the tranformation to a PDF go's well also.
The problem with a OBJECT is that it have some properties like a
graphic but not all ( a object can not been cropped ).
Greetz
Fernand
Hi Fernand,
Am 14.04.2011 14:14, schrieb Fernand Vanrie:
Where
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
Thanks for any consideration
Fernand
--
-
To unsubscribe send email to
Seva,
Most probably this validation message is comming due to Pictures in your
document who has not the right meta data
greetz
Fernand
Hi all,
when I convert a text document in PDF/A-1a using OOo (3.x) and open it
with Reader I see the info message File is compatible with PDF/A
standard.
Mathias,
Any idea, who is working on or in what version we can do some testing ?
thanks
Fernand
Hi Fernand,
On 09.03.2011 14:24, Fernand Vanrie wrote:
Hallo
Sinds 3.3 (windows) all PrinterSettings except the Printer Name are no
longer persistent and not stored anywhere not in the profile
Peter,
can confirm:
OOO330m20 -Windows
model.Createinstance(com.sun.star.awt.tab.UnoControlTabPageContainerModel)
gives a null object
Greetz
Fernand
Hi,
the Basic code in
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Ftabcontrol
doesn't work for me in m101 (General
Stupid me :-) have overlooked DEV300
have not downloaded this version yet
sorry
sory
Peter,
can confirm:
OOO330m20 -Windows
model.Createinstance(com.sun.star.awt.tab.UnoControlTabPageContainerModel)
gives a null object
Greetz
Fernand
Hi,
the Basic code in
Hallo
Sinds 3.3 (windows) all PrinterSettings except the Printer Name are no
longer persistent and not stored anywhere not in the profile, not in
the document. Within the settings we have the options who are not
Printer specific and we have Settings who are bound to a specific
printer.
Joe,
Andrew Pitonyack has a excelent Book and Base Document with lot of macro's
Google also for Roberto Benitez , he wrote a Base book and have also
lots of macro's an information on the web (www.lulu.com)
Andrew Pitonyack has also a excelent Book and Base Document with lot of
macro's
Hope
cdfleischmann ,
in OO or LO the Keep Ratio must been active before you start the
export to MS word. When nothing is set i supose the Converting go's
back to the original ratio's who are this we find back in MS word.
I supose this can been done with the API to ?
Hope it Helps
Fernand
Hello
Dietmar,
I found that the API using the Borderline Structure is broken in LO, but
so far everyting is still working in OO
LO trie to make Borderline more compatible with MSword.
Greetz
Fernand
Current investigations indicate, that it is an issue of this particular
Openoffice.org
Bernard , Frank, Oliver,
Folowed this thread with great interest, because i believe that Dialogs
are the way to make a controllable Frontend to our databases. One remark:
We can also implement a DatasourceBrowser in a dialog, less coding with
more functionality (for the moment).
My hope
Zbigniew ,
a Viewcursor tell's you if you are in a TextTable, cell , TextFrame,
Textsection
the Viewcursor.position is the position in the document.
Witht this ellements you always know where you are in the document, no ?
Say you have a Table2 in a cell of Table1
If you know the start
Bernard ,
could that also been the reason why
oCfgManager = oDoc.getUIConfigurationManager()
oToolbarSettings = oCfgManager.getSettings( xResourceURL, True)
no longer works ?
Greetz
Fernand
Hi,
Running a code that works in previous versions (up to 1.1.5 !) I found
that it throws an
OK found it myself:
a ContourPolyPolygon is a bouble Array, with a Array of plygons and
Arrays of Point structures based on the size of the original graphic
oGraphicobject.graphic) who are needed to build the controur Polygon.
oPoly(Polypoints())
now it's easy to change the Polygon points
Hallo,
I Trie to preserve the Graphicobject ContourPolyPolygon after i changed
the Graphic behind this object. The original Contour is still there but
with the size , position off the old Graphic.
How can i using BASIC, change this ContourPolyPolygon also named
gintare,
Alot off questions, i think you must trie to understand the use off a
viewcursor and textcusors to place content in a document. Every where on
the net you can find code to work with viewcursor etc..
Hope it helps
Fernand
*
Q – uno.RuntimeException
*
1) Phylosophuc question:
Is
to
use ascii characters for type and name.
here $type = toolbar and $name = standardbar
smiles like a bug (i run OOO330m17 on Windows)
Fernand
Hello Fernand,
On Tuesday 21 December 2010, 16:42, Fernand Vanrie wrote:
Ariel ,
Stupit me :-)
not a typo, just the wrong copy of one of my
must
meet the following syntax: private:resource/$type/$name. It is only
allowed to
use ascii characters for type and name.
here $type = toolbar and $name = standardbar
smiles like a bug (i run OOO330m17 on Windows)
Fernand
Hello Fernand,
On Tuesday 21 December 2010, 16:42, Fernand Vanrie
I trie to remove some buttons on the standard Toolbar
I found some BASIC code made by Andrew Pitonyack, but i run in a error,
saying that private:resource/toolbar/standardbar is no valid element
for settings in the UIConfigurationManager
Please try this simple code from in a writerdoc
Herter,
don't sea your exact problem but please find the correct way to print in
Basic
oDocument.setModified(false)
Dim mPrinter(1) As New com.sun.star.beans.PropertyValue
mPrinter(0).Name=wait
mPrinter(0).value=true
mPrinter(1).Name = IsBusy
dim bIsBusy as boolean
bIsBusy = True
, schrieb Fernand Vanrie:
please find the code here:
'-FILEPICKER
START--
...
'--FILEPICKER
END--
Hi Fernand, I got it working. There are some questions left.
After I
Volker,
I uses for years a handmade picker dialog who shows in the left
preview the content off all grahic files , PDF, txt and al Opendocument
types.
I can send you the code in Basic, just says where to drop
Fernand
I have a file picker as a dialog control. The file name is to be used
as
Volker
please find the code here:
'-FILEPICKER
START--
sub runPicker
UseSystemFileDialogs(false)
'sPath = FileNameoutofPath(ThisComponent.Url , /)
If (Not GlobalScope.BasicLibraries.isLibraryLoaded(Tools)) Then
Somewhere on the web (http://hermione.s41.xrea.com/pukiwiki/) i found
finaly the correct Basic code to copy a text to the clipboard without
opening ghidden docs etc...
I hope its usefull for others as well
Fernand
|Global sTxtCString AsString
Sub clipboard_1
sText =123456
,
Steffen
Am 02.12.2010 12:15, schrieb Fernand Vanrie:
Somewhere on the web (http://hermione.s41.xrea.com/pukiwiki/) i found
finaly the correct Basic code to copy a text to the clipboard without
opening ghidden docs etc...
I hope its usefull for others as well
Fernand
|Global sTxtCString
Johnny ,
have a look in the Gimicks library of the OO-basic-macro's, maybe a bit
complicated but you will find what you are looking for.
Hope it helps
Fernand
If I know the name of a directory, let's say ~/MyImages, how can I
easily read the names of all the files in that directory? Let's
Johnny ,
ConvertToURL all path's ?
Den 2010-12-01 14:53:01 skrev Clayton ccorn...@openoffice.org:
On 12/01/2010 02:38 PM, Johnny Rosenberg wrote:
2010/12/1 Johnny Rosenberg:
If I know the name of a directory, let's say ~/MyImages, how can I
easily read the names of all the files in that
to use the latest 3.2
or 3.3 ?
For the record, the ImageControls are no longer leaking sinds 3.2 :-)
Fernand
Chris
On 11/02/2010 11:12 AM, Fernand Vanrie wrote:
Chris ,
I have no experience with server applications but in the past, i
found some leaks when using ImageControls, its
Chris ,
gives 3.3 a trie ?
FYI, we are using 3.2.1
Chris
On 11/02/2010 12:02 PM, Fernand Vanrie wrote:
Chris ,
Thanks for the comment/insight... I'll try to investigate, but not
hopeful.
It happens once a document is closed, seemingly (could be on open,
too)... and each subsequent
and then trie to uses Cor's idea, open and closing 2 OO-services
On 2/11/2010 17:39, Fernand Vanrie wrote:
Chris ,
gives 3.3 a trie ?
FYI, we are using 3.2.1
Chris
On 11/02/2010 12:02 PM, Fernand Vanrie wrote:
Chris ,
Thanks for the comment/insight... I'll try to investigate
Hallo all,
I tried to implement a com.sun.star.lang.XEventListener on a
code-created Dialog, the Listener is not working. I used the same
Listener on loading a manuel created Dialog from a library, here the
listener works a expected.
Please test my code if we have a iussue or a fault in
11:44, schrieb Fernand Vanrie:
When opening the Basic IDE the Macro Toolbar is no longer present and
can no langer been choosen from the viewtoolbar menu ?
Checked on other forum's , same problem is signaled but no answers ?
Where can i alter some settings to have again a Macro Toolbar in de
When opening the Basic IDE the Macro Toolbar is no longer present and
can no langer been choosen from the viewtoolbar menu ?
Checked on other forum's , same problem is signaled but no answers ?
Where can i alter some settings to have again a Macro Toolbar in de
basic IDE ?
Thanks for any
Hal ,
You can always trye to use the custumation events by opening or saving
a document where you can put a macro who checks where or from where a
document is openend or saved.
Maybe you can save' this custumation under the default template who
is used to open an new document ?
Greetz
Martin ,
You must have a look at the exellent BasicAddonBuilder extention made by
Paolo Mantovani.
In the code you can compare with your work
Hope it helps
Fernand
hi
and don't forget to change oor:name=WriterWindowState to
oor:name=CalcWindowState
Thanks i haven't seen that
But i'm
Thomas,
Do not look for a frame your dialog is opened in a window
oWin = GetWindowOpen(Dialog1)
this gives you yes or no a a window object containing Dialog1
hope it helps
Fernand
Hey,
I do have some macros, which will start on events (for example document
close) or with user-action
(oWin, com.sun.star.awt.XDialog) then
if left(oWin.Title, len(sTitle)) = sTitle then '
GetWindowOpen = oWin
exit function
endif
endif
next k
end function
Fernand Vanrie schrieb:
Thomas,
Do not look for a frame your dialog is opened in a window
oWin = GetWindowOpen
Joaquin ,
have you also tryed StoreToStream ?
Greetz
Fernand
Hi Bernard,
in Python when you do:
def foo(**args):
for k, v in args.items():
print %s: %s % (k, v)
foo(arg1='val1', arg2='val2')
arg1: val1
arg2: val2
The **args part means collect all the
Joaquin ,
Have you tryed storeAsURL ?
greetz
Fernand
I forgot to include a link to the code I'm using:
http://pastebin.com/Xusn0XR2
On Tue, Jul 27, 2010 at 9:11 PM, Joaquin Cuenca Abela
e98cu...@gmail.com wrote:
Hi,
I'm trying to convert some files from .odt to .pdf using a modified
depending on the actual
ViewLayout ?
I comback with the hard figures.
Thanks for the routines
Fernand
Message de Fernand Vanrie date 2010-07-13 12:15 :
Hello,
I tried to change the multiple pageview (2 page side by side) and
the according zoom factor with the apI.
I tried
Hello,
I tried to change the multiple pageview (2 page side by side) and the
according zoom factor with the apI.
I tried Thiscomponent.currentController.ViewSettings, I Found a
property to change the zoom factor , but nothing to show 2 page side by
side on the screen
Thanks for any hint
Rony ,
i use for years a routine for printing maybe it can help ?
Fernand
If (Not GlobalScope.BasicLibraries.isLibraryLoaded(Tools)) Then
GlobalScope.BasicLibraries.LoadLibrary(Tools)
End If
oDocument.setModified(false)
'Printen naar Default printer
Dim PrinterProps(1) As New
Patrick,
you need here a Tablecursor or use viewcursor.cell.string
' Get The view cursor
oViewCursor = thisComponent.getCurrentController().getViewCursor()
' Get Table and the Cell where the View cursor is
oTable = oViewCursor.TextTable
oCurrentCell = oViewCursor.Cell
' create a
Madhur ,
trie to set Max and Min in the control
Fernand
Hi,
I am using OOO 3.2. I do not know the max value of the numeric field inputs
I get from user. So, in other words I wan to leave it to the highest value
supported by the precision of the field (double I believe).
While creating the
Madhur ,
Forget mi stupid remark your are working with the control, do wath
Bernard saied: use the model :-) ;-)
trie to set Max and Min in the control
Fernand
Hi,
I am using OOO 3.2. I do not know the max value of the numeric field
inputs
I get from user. So, in other words I wan to
Johannes ,
I was troubled with same problems, we finaly decided NOT to uses the OO
buttons for Editing only for Viewing, and keeping the Gui-users as
far as posible from or Tables
We avoid to open OO-DBase-DOC (infact the Gui-user do not know of the
exitens of this DbaseDoc) we only open
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 button who calls this
macro
/J
2010/5/20 Fernand
Johannes ,
I think you need to use a event who fire some macro's to change the SQL
statement behind the comboboxes depending on the content of the others
hope it helps
Fernand
I'm trying to make a selection form for selecting a single customer from a
database that contains quite a lot of
I filed a issue 111542
http://www.openoffice.org/issues/show_bug.cgi?id=111542about the fact
that saving a SRB report takes as long as running the same report with a
possible memory leakage .
In the mean time i found also a workaround: installing a tempory filter
who makes the data-gathering
Johannes,
I am not sure
0 = white
-1 = tranparent
Fernand
How can I set the BackgroundColor of a label to transparent from a macro?
When I Xray BackgroundColor after setting it to Default from the Form
designer, it says it is of type Empty. Should i remove the property? How do
I do that?
Johannes Öberg wrote:
Ah, the beauty of Basic! :-)
Thanks!
/J
2010/4/29 Bernard Marcelly marce...@club-internet.fr
Hi Johannes,
Message de Johannes Öberg date 2010-04-29 15:11 :
How can I set the BackgroundColor of a label to transparent from a macro?
When I Xray BackgroundColor
Fernand Vanrie wrote:
Johannes Öberg wrote:
Ah, the beauty of Basic! :-)
Thanks!
/J
2010/4/29 Bernard Marcelly marce...@club-internet.fr
Hi Johannes,
Message de Johannes Öberg date 2010-04-29 15:11 :
How can I set the BackgroundColor of a label to transparent from a
macro?
When I
Johannes ,
On very FormControl or on the Form itself, you can put events who call
a macro. Thre are a lot of available events who can are covering all
your needs as Prior to reset, After reset, Before updating,
After Updating ..
Hope it helps
Fernand
Hi! (Sorry if this doesn't fit
Patrick ,
Why not using com.sun.star.configuration.ConfigurationProvider to
store your global variables ?
I learned from Danny B. and uses it mostyl to store some Pathsettings
who must een remembered by opening and closing some Dialogs.
Your new exention can check if the data writen by the
Oliver,
Have you any idea if in the future we could have acces to the body
using the published API stuff.
Is it true that STAROFFICE can do the job ?
Fernand
On 22.04.2010 15:03, Peter Eberlein wrote:
The API has not only the XSimpleMailMessage interface, but a complete
module
with the OO-API where no further responses are needed from the
receiver.
Fernand
Hi,
Fernand Vanrie wrote:
Paolo , Andrew, all
Can i have hope to set also the body of a email message ?
This is not possible by intent, as (at least to my knowledge) the
mailto:; protocol we are using
ignore
the second part of the script. Also if you want to
On Wed, Apr 21, 2010 at 1:58 AM, Mathias Bauer nospamfor...@gmx.de wrote:
Hi,
Fernand Vanrie wrote:
Paolo , Andrew, all
Can i have hope to set also the body of a email message ?
This is not possible by intent
Laurent ,
I know but a attachment for a simple message is
- a bit rediculous and time consuming when send to our own workflow
organisation
- and always -spam- suspicious for outsiders
fernand
Hi
just a thought
if OOo Api can attach a file, create a plain-text file and write your
body in
Paolo , Andrew, all
Can i have hope to set also the body of a email message ?
Fernand
Andrew Douglas Pitonyak ha scritto:
When I looked at the service definitions, I thought that I should be
able to send an email message to multiple people at one time. The
setCCRecipient, for example,
Jeremy ,
We have sam problems with Writerdocs, after placing some pictures
StoreToURL gives somtimes a IO exception. I supose due to the fact
that the embeded picture houshold is not
totaly in order.
There for we check if the URL is existent if not we use StoreToURL else
we do Doc.store who
Thomas ,
To avoid problems like you desribed we nowadays uses the
com.sun.star.sdb.DatabaseContext as a binding point to our MySQL server.
So we place a OO-DB-document where all OO- users can acces the document
with the lowest posible rights ( to avoid unwanted acces to the MySQL
Tables)
The
peaces of
data (what most OO-aplications do...) all goes at a low cost and very
speedy.
When writing data to the MySQL server we always uses Dialogs and
Statements instead off using formsso we have a better control over
the data-integrity
How are you doing this job?
best regards
Thomas
Fernand
Paolo,
Ading a submenu to Tools and made your proper Dialog and doing all the
stuff with the API ?
Hi all,
I'm trying to add a new named path into the options dialog
(Openoffice.org - paths)
Of course I'm able to add a new nodes in the org.openoffice.Office.Paths
registry component but
Steffen ,
thats pretty simple: I use some basic code to find out if the Cursor in
a Table, Frame or Document
oViewCursor = oDocument.getCurrentController().getViewCursor()
If Not isEmpty(oViewCursor.TextTable) then ' Cursor is in een Tabel
sFrameofTabel = TABEL
' rather complex
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 with his formating.
If wanted then is can post
( , oProps())
opipe.flush
opipe.closeinput
ostorage.dispose
ostream = nothing
end sub
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
wat = Doc then
oInsertCursor = oVC.text.createTextCursorByRange(oVC,false)
endif
oInsertCursor.InsertDocumentFromURL( , oProps())
opipe.flush
opipe.closeinputostorage.dispose ostream = nothing
end sub
Hi,
Am 10.03.2010 11:16, schrieb Fernand Vanrie:
rf,
I think it depends
ostorage.dispose ostream = nothing
end sub
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
Rony ,
For doing things when opening Formdocs i use 2 BASIC subs, maybe they
can help you ?
Sub setDocPosSize(Doc As Object , X As long, Y as long , Width as long,
Height as long )
Dim Window As Object ' CONTAINER WINDOW
If IsNull(Doc) Or IsEmpty(Doc) Then Exit Sub
Rony ,
maybe
ContainerWindow.Toolkit
can do the job
Fernand,
thank you! Unfortunately, this does not help solve the problem.
On 3/3/2010 9:19 AM, Fernand Vanrie wrote:
For doing things when opening Formdocs i use 2 BASIC subs, maybe they
can help you ?
Sub setDocPosSize(Doc
Hallo Frank ,
oReport.OpenDesign craches OO (3.2 with windows XP)
Do i fill a issue or is it related with the Hidden opening issue ?
further i found that
aArguments(i).Value = _
com.sun.star.document.MacroExecMode.ALWAYS_EXECUTE
must be
aArguments(i).Value =
Frank ,
I doesn't crash indeed ! as long the DBdoc is open on the desktop :-)
I Fill a issue
Greetz
Hi Fernand,
oReport.OpenDesign craches OO (3.2 with windows XP)
Do i fill a issue or is it related with the Hidden opening issue ?
Hmm, doesn't crash here with 3.2 on WinXP, so
Frank ,
I was a bit to hasty yesterday, there is still a problem: oreport =
oreports.getbyname(Jobbons1)
oReport has no component !
then i do oReport.load wath result in trow Exception
but with using on local error resume Next
the system ask if its ok with the macro's in the DB doc
and i endup
Hallo Frank,
Thanks again for your extendet explenation, as a says before there is
to match knowledge who's only in your brain and not somewhere else to
find :-)
My goal is indeed to run (open) forms and reports with additional change
in the source and the filters and have no toolbars etc...
Just load a extention name Visible Bookmarks
it will give you a Basic Library with the same name who has all the code
to place Notes in a doc
Hope it helps
Fernand
Hi all,
I need to insert Note/Comment to an Openoffice document(swriter) using java api. I could find the api from class
Hi Frank,
Do this means that we now can load a Form starting from the
connection and not obligatory from a open DBDocument ?
so yes, ten then please a hint to do it with the API and Basic
Greetz
Fernand
css.sdb.application.XDatabaseDocumentUI, the interface providing
programmatic access to
Frank Schoenheit, Sun Microsystems Germany wrote
If you have a connection, and *know* that it comes from a DataSource,
then getParent of this connection will give you the data source. A data
source, then, can be asked for its associated database document
Frank,
Sorry i had the solution right before my nose :-)
its not load , but loadcomponentfromURL
Sub Main
dim Arguments(2) as New com.sun.star.beans.PropertyValue
context = createUnoService(com.sun.star.sdb.DatabaseContext)
oDataBase = context.getByName(mysql_native)
oDBDoc =
Tiago Lourenco,
the secret is in the vieuwcursor !
trye this code to find out the aligments of tablecells
oText = oDocument.text
If Not isEmpty(oViewCursor.TextTable) then ' Cursor is in een Tabel
if CurRow.IsAutoHeight = True then
print Cell is autohight
endif
if
Hallo all,
All users who wish to create documents who has to been printed by a
professional Printer (high resoltuion) struggles with the same problem:
the size/resolution off the graphics inside a OOdocument.
In general OO uses a kind of strange way to define the size and/off
resolution
Franz ,
Very easly: copy your text into a drawpage, then export the
drawpage( and here shapes) as png
hope it helps
Fernand
Hi all,
I am working on an application which allows the user to generate
syntax-diagrams from different BNF-versions in/with OpenOffice.
the diagrams are made
Joseph,
Fine Job, but you can avoid the copy with Dispatcher using the Picture
properties found in the writer doc, to avoid flickering you also can
open the drwadoc in hiden mode
please find my code i use to to this jobs feel free to use the parts you
are interseted;
SUB
Marc ,
You sayed: dangerous security hole ?
Every user can do exactly the same with the GUI no ?
greetz
Fernand
Am Donnerstag, den 28.01.2010, 10:29 +0100 schrieb Fernand Vanrie:
Lee ,
Security is part of the Document settings
so i use in basic by openiong the document:
Dim
Lee ,
Security is part of the Document settings
so i use in basic by openiong the document:
Dim mFileProperties(0) As New com.sun.star.beans.PropertyValue
mFileProperties(0).Name=MacroExecutionMode
mFileProperties(0).Value=4 ' see documentations for more value's
oDocument =
Philippe ,
have a look at this
http://www.oooforum.org/forum/viewtopic.phtml?t=52661 forum discusion
hope it helps
Fernand
Hi all,
So the bell didn't ring :-)
I'll try to rephrase my question.
I copy/paste a row in a TextTable using XDispatchHelper. It works
multiple times in several
a connection, but then repeatedly asks for a password. Seems
like a bug there.
What Office version did you use on which platform? I tried 3.1.1 on
Solaris x86. Perhaps the reason are the proxy settings on your system.
Does it work if you use no proxy at all?
Regards, Steffen
Fernand Vanrie wrote
1 - 100 of 349 matches
Mail list logo