[Libreoffice] iOS and convert to PDF

BrianS brians99 at bellsouth.net
Fri Nov 11 08:30:00 PST 2011


I think I've read everything on this topic that Mr Google helped me to find.


// This succeeded
./autogen.sh --with-distro=LibreOfficeiOS CXX="ccache
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2 -arch armv7
-isysroot
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk"
CC="ccache /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2
-arch armv7 -isysroot
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk"
CC_FOR_BUILD="ccache /Xcode3.2.6/usr/bin/gcc-4.0" CXX_FOR_BUILD="ccache
/Xcode3.2.6/usr/bin/g++-4.0" --with-num-cpus=1 --with-max-jobs=1
--with-macos-version-min-required=10.6 --with-macos-version-max-allowed=10.6
--with-macosx-sdk=10.6 

I get this build error:

###
Entering
/Users/brians/develop/libreOffice/libo/bridges/source/cpp_uno/gcc3_ios_arm

Compiling: bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno.cxx
/Users/brians/develop/libreOffice/libo/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno.cxx:
In static member function 'static unsigned char*
bridges::cpp_uno::shared::VtableFactory::addLocalFunctions(bridges::cpp_uno::shared::VtableFactory::Slot**,
unsigned char*, const typelib_InterfaceTypeDescription*, sal_Int32,
sal_Int32, sal_Int32)':
/Users/brians/develop/libreOffice/libo/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno.cxx:491:
error: 'arm' has not been declared
/Users/brians/develop/libreOffice/libo/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno.cxx:513:
error: jump to case label
/Users/brians/develop/libreOffice/libo/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno.cxx:484:
error:   crosses initialization of
'typelib_InterfaceAttributeTypeDescription* pAttrTD'
/Users/brians/develop/libreOffice/libo/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno.cxx:522:
error: 'arm' has not been declared
/Users/brians/develop/libreOffice/libo/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno.cxx:530:
error: jump to case label
/Users/brians/develop/libreOffice/libo/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno.cxx:515:
error:   crosses initialization of 'typelib_InterfaceMethodTypeDescription*
pMethodTD'
/Users/brians/develop/libreOffice/libo/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno.cxx:484:
error:   crosses initialization of
'typelib_InterfaceAttributeTypeDescription* pAttrTD'
dmake:  Error code 1, while making '../../../unxiosr.pro/slo/cpp2uno.obj'

###

I have Xcode 4.2 in /Developer on Lion.

I had tried a lot of different variations on the above but that's where I am
now.

>  >  Finally some small amount of wrapper logic to run the moral equivalent
> of: 
>  > 
>  >        ./soffice --convert-to pdf foo.docx 

>  Yup. Something like that should be doable relatively soon, as the 
>  LibreOffice code obviously for such usage doesn't display anything or 
>  require any interactive input. But all the C++ and UNO stuff still 
>  needs to work, of course, and there is lots to do there. 

How do you imagine something like that working? As you probably know IPC on
iOS is restricted in some ways. PasteBoard, custom URLs,
UIDocumentInteractionController, and maybe sockets are ways that might work
for this.

I might be interested in including some LO source in my app, if that can be
made to work technically and within License restrictions. Since I'm mainly
interested in converting documents is it possible to isolate that code to a
small part of the codebase?

Thanks,

Brian






--
View this message in context: http://nabble.documentfoundation.org/iOS-and-convert-to-PDF-tp3498093p3500192.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list