[CODE, UNO API] UNO commands .uno:FlipHorizonal and .uno.FlipVertical - behavior corrected

2013-04-18 Thread Oliver-Rainer Wittmann

Hi,

by fixing issue 122026 [1] I have corrected the behavior of the UNO 
commands .uno:FlipHorizontal and .uno.FlipVertical.


Until AOO 3.4.1 UNO command .uno:FlipHorizontal could be used to flip 
_vertically_ a Writer graphic while UNO command .uno:FlipVertical could 
be used to flip _horizontal_ a Writer graphic.
With the integration of sidebar feature these UNO commands are no 
available in Draw/Impress, Calc and Writer for Drawing graphics.

This the changes made for issue 122026 the behavior has been corrected, too:
- .uno:FlipHorizontal can be used to flip a graphic horizontally.
- .uno.FlipVertical can be used to flip a graphic vertically.

Please consider the correction to these UNO commands in case your are 
using them in your extension and/or macro.



[1] https://issues.apache.org/ooo/show_bug.cgi?id=122026


Best regards, Oliver.

-
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org



Re: UNO API

2013-04-18 Thread Ariel Constenla-Haile
Hi k.misha,

On Thu, Apr 18, 2013 at 11:00:00PM +0300, k.misha wrote:
 Hi!
 
  
 
 I have a problem using this code:
 
  
 
 #define S_CURRENCY 106 // DOESN'T WORK =(
 
 #define S_PERCENT_SHORT 10 // 123%
 
 #define S_PERCENT 11 //123.00%
 
 #define S_DEFAULT 0
 
  
 
  
 
   Reference XSpreadsheet  rSpSheet (rSheet, UNO_QUERY);
 
   Reference XCell  rCell = rSpSheet-getCellByPosition(0, 0);
 
   Reference XPropertySet  xPropSet(rCell, UNO_QUERY);
 
  
 
  
 xPropSet-setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM(NumberForma
 t)), makeAny(S_CURRENCY));
 
  
 
  
 
 All other properties(S_PERCENT_SHORT,S_PERCENT,S_DEFAULT) works
 greatly!  Only currency doesn't work =( What I'm doing wrong?

These constants are bad, you should use the number formats API:

http://wiki.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Number_Formats
Number formats are defined on the document level. A document displaying
formatted values has a collection of number formats, each with a unique
index key within that document. Identical formats are not necessarily
represented by the same index key in different documents.

Note the not necessarily. This means, you have to use 
http://www.openoffice.org/api/docs/common/ref/com/sun/star/util/XNumberFormats.html
http://www.openoffice.org/api/docs/common/ref/com/sun/star/util/XNumberFormatTypes.html
as explained here
http://wiki.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Managing_Number_Formats

See the code attached for an example.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina
#**
#
#  Licensed to the Apache Software Foundation (ASF) under one
#  or more contributor license agreements.  See the NOTICE file
#  distributed with this work for additional information
#  regarding copyright ownership.  The ASF licenses this file
#  to you under the Apache License, Version 2.0 (the
#  License); you may not use this file except in compliance
#  with the License.  You may obtain a copy of the License at
#
#http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing,
#  software distributed under the License is distributed on an
#  AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
#  KIND, either express or implied.  See the License for the
#  specific language governing permissions and limitations
#  under the License.
#
#**

# On *nix can be overridden with
# make PRJ=$OO_SDK_HOME
PRJ=../../../..
SETTINGS=$(PRJ)/settings

include $(SETTINGS)/settings.mk
include $(SETTINGS)/std.mk
include $(SETTINGS)/dk.mk

# Define non-platform/compiler specific settings
APP_NAME=NumberFormats
MAINTARGET=$(APP_NAME)_Example

#this should be in odk/settings/std.mk
OUT_DEPLOY=$(OUT)/deploy

OUT_APP_INC=$(OUT_INC)/$(APP_NAME)
OUT_APP_GEN=$(OUT_MISC)/$(APP_NAME)
OUT_APP_OBJ=$(OUT_OBJ)/$(APP_NAME)
OUT_APP_LIB=$(SHAREDLIB_OUT)/$(APP_NAME)
OUT_APP_BIN=$(OUT_BIN)/$(APP_NAME)
OUT_APP_DEPLOY=$(OUT_DEPLOY)/$(APP_NAME)

CXXFILES = main.cxx

OBJFILES = $(patsubst %.cxx,$(OUT_APP_OBJ)/%.$(OBJ_EXT),$(CXXFILES))


ifneq $(DEBUG) 
CC_DEFINES+=-DOSL_DEBUG_LEVEL=3
endif

# Targets
.PHONY: ALL
ALL : \
$(MAINTARGET)

include $(SETTINGS)/stdtarget.mk

$(OUT_APP_OBJ)/%.$(OBJ_EXT) : %.cxx $(SDKTYPEFLAG)
-$(MKDIR) $(subst /,$(PS),$(@D))
$(CC) $(CC_FLAGS) $(STL_INCLUDES) $(CC_INCLUDES) -I$(OUT_APP_INC) 
$(CC_DEFINES) $(CC_OUTPUT_SWITCH)$(subst /,$(PS),$@) $

$(OUT_APP_BIN)/_$(APP_NAME)$(EXE_EXT) : $(OBJFILES)
-$(MKDIR) $(subst /,$(PS),$(@D))
-$(MKDIR) $(subst /,$(PS),$(OUT_APP_GEN))
ifeq $(OS) WIN
$(LINK) $(EXE_LINK_FLAGS) /OUT:$@ /MAP:$(OUT_APP_GEN)/$(basename 
$(@F)).map \
$(OBJFILES) $(CPPUHELPERLIB) $(CPPULIB) $(SALHELPERLIB) 
$(SALLIB) $(STLPORTLIB)
else
$(LINK) $(EXE_LINK_FLAGS) $(LINK_LIBS) -o $@ $(OBJFILES) \
$(CPPUHELPERLIB) $(CPPULIB) $(SALHELPERLIB) $(SALLIB) 
$(STLPORTLIB) $(STDC++LIB) $(CPPUHELPERDYLIB) $(CPPUDYLIB) $(SALHELPERDYLIB) 
$(SALDYLIB)
ifeq $(OS) MACOSX
$(INSTALL_NAME_URELIBS_BIN)  $@
endif
endif

$(OUT_APP_BIN)/$(APP_NAME)$(EXE_EXT) : $(OUT_APP_BIN)/_$(APP_NAME)$(EXE_EXT)
-$(MKDIR) $(subst /,$(PS),$(@D))
$(COPY) $(subst /,$(PS),$(BIN_DIR)/unoapploader$(EXE_EXT)) $(subst 
/,$(PS),$@)
# workaround for touch problem under Windows with full qualified paths
make -t $@

$(MAINTARGET) : $(OUT_APP_BIN)/$(APP_NAME)$(EXE_EXT)
@echo 

@echo Please use the following command to execute the example!
@echo -
@echo $(MAKE) $(APP_NAME).run
@echo 



$(APP_NAME).run: $(OUT_APP_BIN)/$(APP_NAME)$(EXE_EXT)
cd $(subst /,$(PS),$(OUT_APP_BIN))  $(basename $@)

.PHONY: clean
clean :

RE: uno api problem

2013-04-07 Thread k.misha
I already fixed this problem this way:неинеиint nLenOfWideCharStr =неи   
 MultiByteToWideChar(неиCP_ACP,неи
MB_PRECOMPOSED,неиfontName,неи-1,неи
NULL,неи0неи);неинеи wchar_t *cFontName = 
(PWSTR)HeapAlloc(GetProcessHeap(), 0, nLenOfWideCharStr * 
sizeof(WCHAR));неинеи  MultiByteToWideChar(неиCP_ACP,неи
MB_PRECOMPOSED,неиfontName,неи-1,неиcFontName,неи   
 nLenOfWideCharStrнеи);неинеи OUString sstring = 
cFontName;неинеи
rColProps-setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM(CharFontName)),
 makeAny(sstring));неинеиThanks :)неинеинеи-Original 
Message-неиFrom: jg [mailto:j...@jgoettgens.de] неиSent: Saturday, April 
06, 2013 3:15 PMнеиTo: api@openoffice.apache.orgнеиSubject: Re: uno api 
problemнеинеиThis might also 
work:неинеиxPropertySet-setPropertyValue(LCharFontName, 
makeAny(OUString((const неиsal_Unicode *)LCorbel)));неинеиOr, if the value 
is not a constant (MFC):неинеиCStringW value;неи...неиOUString value((const 
sal_Unicode 
*)((LPCWSTR)value));неиxPropertySet-setPropertyValue(LCharFontName, 
Any(value));неинеинеинеиjgнеинеи-неиTo
 unsubscribe, e-mail: api-unsubscr...@openoffice.apache.orgнеиFor additional 
commands, e-mail: api-h...@openoffice.apache.orgнеинеи


Re: uno api problem

2013-04-07 Thread Ariel Constenla-Haile
On Sun, Apr 07, 2013 at 04:06:19PM +0300, k.misha wrote:
 I already fixed this problem this way:
[...]

not portable at all. You may find useful the C++ UNO binding reference:
http://www.openoffice.org/api/docs/cpp/ref/names/index.html


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina


pgpOu55N5lgMb.pgp
Description: PGP signature


Re: uno api problem

2013-04-06 Thread Ariel Constenla-Haile
Hi k. misha,

On Thu, Apr 04, 2013 at 11:20:04AM +0300, k.misha wrote:
 Hi! 
 
  
 
 I have some problems using UNO API! I have this example:
 
  
 
 Int x = 0;
 
 Int y = 1;
 
 Char * fontName = Corbel;

Defined this way, fontName is a pointer

 Reference XSpreadsheet  rSpSheet (rSheet, UNO_QUERY);
 
 Reference XCell  rCell = rSpSheet-getCellByPosition(x, y);
 
 Reference XPropertySet  xPropSet(rCell, UNO_QUERY);
 
  
 
 OUString sstring = OUString(RTL_CONSTASCII_USTRINGPARAM(fontName));

The macro RTL_CONSTASCII_USTRINGPARAM( constAsciiStr ) expands to

constAsciiStr, ((sal_Int32)(sizeof(constAsciiStr)-1)), RTL_TEXTENCODING_ASCII_US

so that

sizeof( pointer ) - 1

is 4 - 1 (in 32 bit arch.) or 8 - 1 (in 64 bit arch.)

 xPropSet-setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM(CharFontNam
 e)), makeAny(sstring));
 
  
 
 But when I look into a cacl document, there is wrong value in cell(0,1). I's
 Cor. But must be Corbel.

Your OS is 32 bits: (sizeof( pointer ) - 1) is 3, thus Cor.

 
 Can you help me and show where I'm wrong?

Define the string literal as an array:

const char fontName[] = Corbel;

or simply avoid all these temporal variables:

xPropSet-setPropertyValue(
OUString(RTL_CONSTASCII_USTRINGPARAM(CharFontName)),
makeAny(OUString(RTL_CONSTASCII_USTRINGPARAM(Corbel;



Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina


pgp8F0gaTmsIz.pgp
Description: PGP signature


Re: UNO API

2013-04-02 Thread Andreas Säger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 02.04.2013 11:45, k.misha wrote:
 Hi!
 
 
 
 Could someone give me some examples for working with UNO API in
 Visual Studio C++!
 
 p.s.: And some documentation if you have.
 
 
 
 Thanks!
 
 

 http://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJRWqsbAAoJEGTlfXWiA5oedlsH/jyuEl8tJAgKZul1MHV9fiF2
cYS/Rf4/+s1v9FT7DkVZvlKhnucxVjGp0Y/1KIya7jX0YHVD5pKd4skglcBws5P/
3kmrbLcmEY+i+wAT9uTzqe+ix0hUrA8ZzFT4BYHmhTCizaQsD7Chrf9BPg/sIzN+
uSCtu0Tsufi3tKrgQbMKi2mjucCYAPzfqmAGm+VngA62uz8E8nkCdBGqzD+1rpiW
J+JxbRI2MSne4nnSmHWiSm9G0jOuy0+UDU0c/HJQGns4K/1CpJz7siGlWOpSY9Kd
H7NMZJ117KTdr8bt2yL0k8pLWXaXZhoUrLkVqeZaEnBytZuGbobk7OMWsiuYojU=
=AhyI
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org



RE: UNO API

2013-04-02 Thread k.misha
http://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_GuideнеинеиThis
 page is empty!неинеи-Original Message-неиFrom: Andreas Säger 
[mailto:ville...@t-online.de] неиSent: Tuesday, April 02, 2013 12:56 PMнеиTo: 
api@openoffice.apache.orgнеиSubject: Re: UNO APIнеинеи-BEGIN PGP SIGNED 
MESSAGE-неиHash: SHA1неинеиAm 02.04.2013 11:45, k.misha wrote:неи 
Hi!неи неи неи неи Could someone give me some examples for working with 
UNO API inнеи Visual Studio C++!неи неи p.s.: And some documentation if 
you have.неи неи неи неи Thanks!неи неи неинеи 
http://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guideнеи-BEGIN
 PGP SIGNATURE-неиVersion: GnuPG v1.4.11 (GNU/Linux)неиComment: Using 
GnuPG with undefined - 
http://www.enigmail.net/неинеиiQEcBAEBAgAGBQJRWqsbAAoJEGTlfXWiA5oedlsH/jyuEl8tJAgKZul1MHV9fiF2неиcYS/Rf4/+s1v9FT7DkVZvlKhnucxVjGp0Y/1KIya7jX0YHVD5pKd4skglcBws5P/неи3kmrbLcmEY+i+wAT9uTzqe+ix0hUrA8ZzFT4BYHmhTCizaQsD7Chrf9BPg/sIzN+неиuSCtu0Tsufi3tKrgQbMKi2mjucCYAPzfqmAGm+VngA62uz8E8nkCdBGqzD+1rpiWнеиJ+JxbRI2MSne4nnSmHWiSm9G0jOuy0+UDU0c/HJQGns4K/1CpJz7siGlWOpSY9KdнеиH7NMZJ117KTdr8bt2yL0k8pLWXaXZhoUrLkVqeZaEnBytZuGbobk7OMWsiuYojU=неи=AhyIнеи-END
 PGP 
SIGNATURE-неинеи-неиTo
 unsubscribe, e-mail: api-unsubscr...@openoffice.apache.orgнеиFor additional 
commands, e-mail: api-h...@openoffice.apache.orgнеинеи


-
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org



Re: UNO API

2013-04-02 Thread Andreas Säger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 02.04.2013 12:00, k.misha wrote:
 http://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_GuideнеинеиThis
 page is empty!неинеи-

This page is far from empty. It contains lots of text with an index to
thousands of documentation pages covering each and every aspect.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJRWq2SAAoJEGTlfXWiA5oe3AYIAIGRa5YHm+15dnarzkZn3PSb
VOM8GiRPLh+TzaXwGixtAgpO9PVgDZumHCEbPNBXMf5yjKOHdqz1NxiF84+HWvmK
8TCOuJg8tuQ2fKjaRALu+cB9/tfHviSFWeKJ3EXx6kMsN3w5fCzGBSuFdklIYSBI
Li2LtVQ1BtIKV6oLUIxZ+rjM9w4CU+5I6Y+s7AnlW1JHGAirGSzehXmUhpdhUNib
xqHjQKQpSfrr5bbKM2dJVRL9a92G6q/bpVhEQnlGvMJtVTb9ccK7sdo9X/2n8aky
JAunOebYotihDNANgAjMX0MUQRpeTSJitIoKhrREZIxo2Pcj0H4wFZb2tub3Oj8=
=Za7H
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org



RE: UNO API

2013-04-02 Thread k.misha
But where can I get some examples in visual studio C++? That documentation 
don't have enough examples =(неинеи-Original Message-неиFrom: 
Andreas Säger [mailto:ville...@t-online.de] неиSent: Tuesday, April 02, 2013 
1:06 PMнеиTo: api@openoffice.apache.orgнеиSubject: Re: UNO 
APIнеинеи-BEGIN PGP SIGNED MESSAGE-неиHash: SHA1неинеиAm 
02.04.2013 12:00, k.misha wrote:неи 
http://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_GuideнеинеиThisнеи
 page is empty!неинеи-неинеиThis page is far from empty. It contains 
lots of text with an index toнеиthousands of documentation pages covering each 
and every aspect.неинеи-BEGIN PGP SIGNATURE-неиVersion: GnuPG 
v1.4.11 (GNU/Linux)неиComment: Using GnuPG with undefined - 
http://www.enigmail.net/неинеиiQEcBAEBAgAGBQJRWq2SAAoJEGTlfXWiA5oe3AYIAIGRa5YHm+15dnarzkZn3PSbнеиVOM8GiRPLh+TzaXwGixtAgpO9PVgDZumHCEbPNBXMf5yjKOHdqz1NxiF84+HWvmKнеи8TCOuJg8tuQ2fKjaRALu+cB9/tfHviSFWeKJ3EXx6kMsN3w5fCzGBSuFdklIYSBIнеиLi2LtVQ1BtIKV6oLUIxZ+rjM9w4CU+5I6Y+s7AnlW1JHGAirGSzehXmUhpdhUNibнеиxqHjQKQpSfrr5bbKM2dJVRL9a92G6q/bpVhEQnlGvMJtVTb9ccK7sdo9X/2n8akyнеиJAunOebYotihDNANgAjMX0MUQRpeTSJitIoKhrREZIxo2Pcj0H4wFZb2tub3Oj8=неи=Za7Hнеи-END
 PGP 
SIGNATURE-неинеи-неиTo
 unsubscribe, e-mail: api-unsubscr...@openoffice.apache.orgнеиFor additional 
commands, e-mail: api-h...@openoffice.apache.orgнеинеи


-
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org



RE: UNO API

2013-04-02 Thread Shukla, Mangesh
Hi Misha,
Have you succeeded in setting up the build environment using the scripts. 
Are you able to build the C++  samples given in the SDK. I ask this, because it 
is important that you follow the steps mentioned in the wiki. 
http://wiki.openoffice.org/wiki/SDKInstallation

Here you will also find instructions to build the C++ samples under VC++ .

Once you are able to do this, let me know if you have any specific query on the 
use of UNO Api's.

Thanks,
Mangesh.

-Original Message-
From: k.misha [mailto:mi...@4k.com.ua] 
Sent: Tuesday, April 02, 2013 4:01 PM
To: api@openoffice.apache.org
Subject: RE: UNO API

But where can I get some examples in visual studio C++? That documentation 
don't have enough examples =(неинеи-Original Message-неиFrom: 
Andreas Säger [mailto:ville...@t-online.de] неиSent: Tuesday, April 02, 2013 
1:06 PMнеиTo: api@openoffice.apache.orgнеиSubject: Re: UNO 
APIнеинеи-BEGIN PGP SIGNED MESSAGE-неиHash: SHA1неинеиAm 
02.04.2013 12:00, k.misha wrote:неи 
http://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_GuideнеинеиThisнеи
 page is empty!неинеи-неинеиThis page is far from empty. It contains 
lots of text with an index toнеиthousands of documentation pages covering each 
and every aspect.неинеи-BEGIN PGP SIGNATURE-неиVersion: GnuPG 
v1.4.11 (GNU/Linux)неиComment: Using GnuPG with undefined - 
http://www.enigmail.net/неинеиiQEcBAEBAgAGBQJRWq2SAAoJEGTlfXWiA5oe3AYIAIGRa5YHm+15dnarzkZn3PSbнеиVOM8GiRPLh+TzaXwGixtAgpO9PVgDZumHCEbPNBXMf5yjKOHdqz1NxiF84+HWvmKнеи8TCOuJg8tuQ2fKjaRALu+cB9/tfHviSFWeKJ3EXx6kMsN3w5fCzGBSuFdklIYSBIнеиLi2LtVQ1BtIKV6oLUIxZ+rjM9w4CU+5I6Y+s7AnlW1JHGAirGSzehXmUhpdhUNibнеиxqHjQKQpSfrr5bbKM2dJVRL9a92G6q/bpVhEQnlGvMJtVTb9ccK7sdo9X/2n8akyнеиJAunOebYotihDNANgAjMX0MUQRpeTSJitIoKhrREZIxo2Pcj0H4wFZb2tub3Oj8=неи=Za7Hнеи-END
 PGP 
SIGNATURE-неинеи-неиTo
 unsubscribe, e-mail: api-unsubscr...@openoffice.apache.orgнеиFor additional 
commands, e-mail: api-h...@openoffice.apache.orgнеинеи


-
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org



Re: UNO API

2013-04-02 Thread Alexandro Colorado
There is some specializied pages on C++/Visual STudio. I suggest this
page for C++ related tutorials.

Unfortuantely some moderation needs to be done to verify these
tutorials are still up to date and if not they should be either
labeled or updated.

http://wiki.openoffice.org/wiki/Using_Cpp_with_the_OOo_SDK

On 12/31/12, k.misha mi...@4k.com.ua wrote:
 Hi! I build C++ project and connected to OpenOffice service. I used a code
 from example DocumentLoader!неиI wrote some functions like SetText(),
 SetBold(), GetText() which are working with OO Calc. I used examples in wiki
 to build my project and write functions. But I can't find more examples or
 documentations to work with more interfaces and write more useful functions
 =(неинеи-Original Message-неиFrom: Shukla, Mangesh
 [mailto:mangesh.shu...@siemens.com] неиSent: Tuesday, April 02, 2013 1:39
 PMнеиTo: api@openoffice.apache.orgнеиSubject: RE: UNO APIнеинеиHi
 Misha,неиHave you succeeded in setting up the build environment using
 the scripts. Are you able to build the C++  samples given in the SDK. I ask
 this, because it is important that you follow the steps mentioned in the
 wiki. http://wiki.openoffice.org/wiki/SDKInstallationнеинеиHere you will
 also find instructions to build the C++ samples under VC++ .неинеиOnce you
 are able to do this, let me know if you have any specific query on the use
 of UNO Api's.неинеиThanks,неиMangesh.неинеи-Original
 Message-неиFrom: k.misha [mailto:mi...@4k.com.ua] неиSent: Tuesday,
 April 02, 2013 4:01 PMнеиTo: api@openoffice.apache.orgнеиSubject: RE: UNO
 APIнеинеиBut where can I get some examples in visual studio C++? That
 documentation don't have enough examples =(неинеи-Original
 Message-неиFrom: Andreas Säger [mailto:ville...@t-online.de] неиSent:
 Tuesday, April 02, 2013 1:06 PMнеиTo: api@openoffice.apache.orgнеиSubject:
 Re: UNO APIнеинеи-BEGIN PGP SIGNED MESSAGE-неиHash:
 SHA1неинеиAm 02.04.2013 12:00, k.misha wrote:неи
 http://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_GuideнеинеиThisнеи
 page is empty!неинеи-неинеиThis page is far from empty. It contains
 lots of text with an index toнеиthousands of documentation pages covering
 each and every aspect.неинеи-BEGIN PGP SIGNATURE-неиVersion:
 GnuPG v1.4.11 (GNU/Linux)неиComment: Using GnuPG with undefined -
 http://www.enigmail.net/неинеиiQEcBAEBAgAGBQJRWq2SAAoJEGTlfXWiA5oe3AYIAIGRa5YHm+15dnarzkZn3PSbнеиVOM8GiRPLh+TzaXwGixtAgpO9PVgDZumHCEbPNBXMf5yjKOHdqz1NxiF84+HWvmKнеи8TCOuJg8tuQ2fKjaRALu+cB9/tfHviSFWeKJ3EXx6kMsN3w5fCzGBSuFdklIYSBIнеиLi2LtVQ1BtIKV6oLUIxZ+rjM9w4CU+5I6Y+s7AnlW1JHGAirGSzehXmUhpdhUNibнеиxqHjQKQpSfrr5bbKM2dJVRL9a92G6q/bpVhEQnlGvMJtVTb9ccK7sdo9X/2n8akyнеиJAunOebYotihDNANgAjMX0MUQRpeTSJitIoKhrREZIxo2Pcj0H4wFZb2tub3Oj8=неи=Za7Hнеи-END
 PGP
 SIGNATURE-неинеи-неиTo
 unsubscribe, e-mail: api-unsubscr...@openoffice.apache.orgнеиFor additional
 commands, e-mail:
 api-h...@openoffice.apache.orgнеинеинеинеинеи-неиTo
 unsubscribe, e-mail: api-unsubscr...@openoffice.apache.orgнеиFor additional
 commands, e-mail:
 api-h...@openoffice.apache.orgнеинеинеи---неи ssi,-i
 inbrepoi.aerнеиrdtn mn,-i ie@efcac.gнеи


 -
 To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
 For additional commands, e-mail: api-h...@openoffice.apache.org




-- 
Alexandro Colorado
Apache OpenOffice Contributor
http://es.openoffice.org

-
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org



Re: UNO API

2013-04-02 Thread jg
A couple of weeks ago I had a UNO project that required using Visual 
Studio/MFC. Despite the fact that there not a lot of information about 
this setup, Visual Studio (2012 in my case) works nicely with the UNO 
API. I did not read the old docs Alexandro Colorado referred to in the 
other reply.


To get started I would suggest the following steps:

(1) Download and install Java/Netbeans/OO Plugin to learn NO using Java.
(2) Then go to C++. There is a simple mapping from the Java to C++ syntax.
(3) Decide whether you want to support the current method of 
bootstrapping (you don't have to).


The old message 
http://markmail.org/message/gzzv3we42b36aavn?q=list:org%2Eapache%2Eincubator%2Eooo-api+from:%22jg%22page=1 
has some more details on what to look for.


jg

-
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org