Stephan,
first thanks for the replay, i already notice that, and inlude my Jar_calendar.mk and check it in
Repository.mk after that my LO build ok. I already has the point of entrance in
Writer(wizards/Calendar...) but when i click on it, it does nothing.. so it seems that my
CallWizard class its not declared somewhere. What should i do to declare it?
best regards
jorge luis
----- Mensaje original -----
De: "Stephan Bergmann" <sbergman@redhat.com>
Para: "Jorge Luis Roque Alvarez" <jlalvarez@uci.cu>
CC: libreoffice@lists.freedesktop.org
Enviados: Miércoles, 8 de Mayo 2013 4:32:46
Asunto: Re: Wizard Integration
On 05/02/2013 05:49 PM, Jorge Luis Roque Alvarez wrote:
Sorry, to bother you again, once i run "make dev-install" i get this
cannot process
/mnt/Work/LOGIT/core/solver/unxlngi6.pro/xml/component/wizards/com/sun/star/wizards/calendar/calendar.component
make[1]: *** [/mnt/Work/LOGIT/core/workdir/unxlngi6.pro/Rdb/services.rdb] Error 10
make[1]: *** Se borra el archivo «/mnt/Work/LOGIT/core/workdir/unxlngi6.pro/Rdb/services.rdb»
make[1]: *** Se espera a que terminen otras tareas....
make: *** [build] Error 2
In your new wizards/Jar_calendar.mk (or whatever you called it), do you
have a gb_Jar_set_componentfile line (similar to the one in
wizards/Jar_web.mk)? That should cause the generation of the
presumably-missing-above
/mnt/Work/LOGIT/core/solver/unxlngi6.pro/xml/component/wizards/com/sun/star/wizards/calendar/calendar.component
from your new calendar.component file.
Stephan
Here is a description of the steps i follow before running make dev-install
1- Edit the file officecfg/registry/data/org/openoffice/Office/Common.xcu, here i include my code
within the Wizard space:
<node oor:name="m15" oor:op="replace" install:module="writer">
<prop oor:name="URL" oor:type="xs:string">
<value >service:com.sun.star.wizards.calendar.CallWizard?insert</value>
</prop>
<prop oor:name="Title">
<value xml:lang="en-US">~Calendar...</value>
</prop>
<prop oor:name="TargetName" oor:type="xs:string">
<value >_self</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value >private:image/3216</value>
</prop>
</node>
2- Then on wizards/com/sun/star/wizards/ put the source of my wizard wich is call calendar and
rewrite the my component calendar.component:
<component loader="com.sun.star.loader.Java2"
xmlns="http://openoffice.org/2010/uno-components">
<implementation
name="com.sun.star.wizards.calendar.CallWizard$WizardImplementation">
<service name="com.sun.star.wizards.calendar.CallWizard"/>
</implementation>
</component>
3- Include it in postprocess/Rdb_services.mk, right below this line
"wizards/com/sun/star/wizards/web/web \" i put mine
"wizards/com/sun/star/wizards/calendar/calendar \"
4- In wizards/com/sun/star/wizards/calendar/CallWizard.java i call my wizard.
http://www.uci.cu
http://www.uci.cu
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.