native0ext:#161688# rebranding extensions - transplanted from 28f77bc32e70@native0
1
mysqlc/mysqlc
Symbolic link
@@ -0,0 +1 @@
|
||||
../ooo/mysqlc
|
@@ -6,7 +6,7 @@
|
||||
<version value="#VERSION#" />
|
||||
<platform value="UPDATED_SUPPORTED_PLATFORM" />
|
||||
<registration>
|
||||
<simple-license accept-by="admin" default-license-id="lic-en-US" >
|
||||
<simple-license accept-by="admin" default-license-id="lic-en-US" suppress-if-required="true" >
|
||||
<license-text xlink:href="licensefile" lang="isocode" license-id="lic-isocode"/>
|
||||
</simple-license>
|
||||
</registration>
|
||||
@@ -17,7 +17,7 @@
|
||||
<OpenOffice.org-minimal-version value="3.1" d:name="OpenOffice.org 3.1"/>
|
||||
</dependencies>
|
||||
<publisher>
|
||||
<name xlink:href="http://www.sun.com/software/star/staroffice/extensions.jsp?cid=925095" lang="en">Sun Microsystems</name>
|
||||
<name xlink:href="http://www.sun.com/software/star/staroffice/extensions.jsp?cid=925095" lang="en">Oracle</name>
|
||||
</publisher>
|
||||
<icon>
|
||||
<default xlink:href="images/sun_extension.png" />
|
||||
|
@@ -1 +1 @@
|
||||
Connects OpenOffice.org directly with MySQL Servers
|
||||
The MySQL Connector for Oracle Open Office (formerly StarOffice) and OpenOffice.org installs a native MySQL database driver. It is faster, seamless integrated, easier to administrate and there is no need to install and setup a JDBC or ODBC driver separately. It was never easier to use MySQL databases in OpenOffice.org Base.
|
||||
|
@@ -56,10 +56,10 @@ EXTENSION_VERSION_BASE=$(MYSQLC_VERSION_MAJOR).$(MYSQLC_VERSION_MINOR).$(MYSQLC_
|
||||
#---- extension title package name
|
||||
.IF "$(MYSQLC_STATUS)" == "final"
|
||||
EXTENSION_TITLE:=$(MYSQLC_TITLE)
|
||||
EXTENSION_ZIPNAME:=$(EXTENSIONNAME)-$(EXTENSION_VERSION_BASE)-$(RTL_OS:l)-$(RTL_ARCH:l)
|
||||
EXTENSION_ZIPNAME:=$(EXTENSIONNAME)
|
||||
.ELSE
|
||||
EXTENSION_TITLE:=$(MYSQLC_TITLE) ($(MYSQLC_STATUS))
|
||||
EXTENSION_ZIPNAME:=$(EXTENSIONNAME)-$(EXTENSION_VERSION_BASE)-$(MYSQLC_STATUS:s/ /-/:l)-$(RTL_OS:l)-$(RTL_ARCH:l)
|
||||
EXTENSION_ZIPNAME:=$(EXTENSIONNAME)
|
||||
.ENDIF
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
@@ -30,7 +30,7 @@ MYSQLC_VERSION_MINOR=0
|
||||
MYSQLC_VERSION_MICRO=1
|
||||
|
||||
# the title, as displayed in the Extension Manager
|
||||
MYSQLC_TITLE=MySQL Connector for OpenOffice.org
|
||||
MYSQLC_TITLE=MySQL Connector
|
||||
|
||||
# the status of the extension
|
||||
# if this is different from "final", it will be appended to the title displayed in the Extension Manager
|
||||
|
BIN
reportbuilder/images/em42.png
Normal file → Executable file
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.8 KiB |
BIN
reportbuilder/images/em42_hc.png
Normal file → Executable file
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 3.0 KiB |
@@ -1 +1 @@
|
||||
Create with the Sun Report Builder stylish, smart-looking database reports. The flexible report editor can define group and page headers as well as group and page footers and even calculation fields are available to accomplish complex database reports.
|
||||
Create with the Oracle Report Builder stylish, smart-looking database reports. The flexible report editor can define group and page headers as well as group and page footers and even calculation fields are available to accomplish complex database reports.
|
||||
|
@@ -3,11 +3,11 @@
|
||||
xmlns:d="http://openoffice.org/extensions/description/2006"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<display-name>
|
||||
<name lang="en-US">Sun Report Builder</name>
|
||||
<name lang="en-US">Oracle Report Builder</name>
|
||||
<!-- <name lang="en-US">Sun(TM) Report Builder</name> -->
|
||||
</display-name>
|
||||
<registration>
|
||||
<simple-license accept-by="admin" default-license-id="lic-en-US" >
|
||||
<simple-license accept-by="admin" default-license-id="lic-en-US" suppress-if-required="true" >
|
||||
<license-text xlink:href="licensefile" lang="isocode" license-id="lic-isocode"/>
|
||||
</simple-license>
|
||||
</registration>
|
||||
@@ -17,11 +17,14 @@
|
||||
<OpenOffice.org-minimal-version value="3.2" d:name="OpenOffice.org 3.2"/>
|
||||
</dependencies>
|
||||
<publisher>
|
||||
<name xlink:href="http://www.sun.com/software/star/staroffice/extensions.jsp?cid=925095" lang="en">Sun Microsystems, Inc.</name>
|
||||
<name xlink:href="http://www.sun.com/software/star/staroffice/extensions.jsp?cid=925095" lang="en">Oracle, Inc.</name>
|
||||
</publisher>
|
||||
<icon>
|
||||
<default xlink:href="images/em42.png" />
|
||||
<high-contrast xlink:href="images/em42_hc.png" />
|
||||
</icon>
|
||||
<extension-description>
|
||||
<src xlink:href="help/component.txt" lang="en" />
|
||||
</extension-description>
|
||||
</description>
|
||||
|
||||
|
@@ -28,7 +28,7 @@
|
||||
PRJ=..
|
||||
PRJNAME=reportbuilder
|
||||
TARGET=rpt
|
||||
EXTENSION_VERSION_BASE=1.2.0
|
||||
EXTENSION_VERSION_BASE=1.2.1
|
||||
|
||||
.IF "$(CWS_WORK_STAMP)" == ""
|
||||
EXTENSION_VERSION=$(EXTENSION_VERSION_BASE)
|
||||
@@ -41,8 +41,8 @@ EXTENSION_VERSION_BASE=1.2.0
|
||||
.IF "$(L10N_framework)"==""
|
||||
# ------------------------------------------------------------------
|
||||
# calready set in util$/makefile.pmk
|
||||
# EXTENSIONNAME:=sun-report-builder
|
||||
EXTENSION_ZIPNAME:=sun-report-builder
|
||||
# EXTENSIONNAME:=oracle-report-builder
|
||||
EXTENSION_ZIPNAME:=oracle-report-builder
|
||||
|
||||
# create Extension -----------------------------
|
||||
|
||||
|
@@ -3,5 +3,3 @@
|
||||
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
|
||||
<manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=Java"
|
||||
manifest:full-path="sun-report-builder.jar"/>
|
||||
<manifest:file-entry manifest:media-type="application/vnd.sun.star.package-bundle-description"
|
||||
manifest:full-path="help/component.txt"/>
|
||||
|
@@ -4,5 +4,5 @@ mkdir: %_DEST%\bin%_EXT%\pdfimport
|
||||
..\%__SRC%\bin\pdf2xml.* %_DEST%\bin%_EXT%\pdf2xml.*
|
||||
..\%__SRC%\bin\pdfunzip.* %_DEST%\bin%_EXT%\pdfunzip.*
|
||||
..\%__SRC%\bin\pdfimport.oxt %_DEST%\bin%_EXT%\pdfimport\pdfimport.oxt
|
||||
..\%__SRC%\bin\sun-presentation-minimizer.oxt %_DEST%\bin%_EXT%\minimizer\sun-presentation-minimizer.oxt
|
||||
..\%__SRC%\bin\presentation-minimizer.oxt %_DEST%\bin%_EXT%\minimizer\presentation-minimizer.oxt
|
||||
..\%__SRC%\bin\presenter-screen.oxt %_DEST%\bin%_EXT%\presenter\presenter-screen.oxt
|
||||
|
@@ -17,7 +17,7 @@
|
||||
</simple-license>
|
||||
</registration>
|
||||
|
||||
<version value="1.0"/>
|
||||
<version value="1.0.2"/>
|
||||
|
||||
<platform value="UPDATED_SUPPORTED_PLATFORM"/>
|
||||
|
||||
@@ -29,4 +29,9 @@
|
||||
<name lang="en-US">Presentation Minimizer</name>
|
||||
</display-name>
|
||||
|
||||
<icon>
|
||||
<default xlink:href="images/em42.png" />
|
||||
<high-contrast xlink:href="images/em42_hc.png" />
|
||||
</icon>
|
||||
|
||||
</description>
|
||||
|
@@ -1,3 +1 @@
|
||||
The Presentation Minimizer is used to reduce the file size of the current
|
||||
presentation. Images will be compressed, and data that is no longer needed
|
||||
will be removed.
|
||||
The Presentation Minimizer is used to reduce the file size of the current presentation. Images will be compressed, and data that is no longer needed will be removed.
|
||||
|
@@ -27,7 +27,7 @@
|
||||
|
||||
PRJ=..$/..
|
||||
PRJNAME=sdext
|
||||
TARGET=SunPresentationMinimizer
|
||||
TARGET=PresentationMinimizer
|
||||
GEN_HID=FALSE
|
||||
ENABLE_EXCEPTIONS=TRUE
|
||||
|
||||
@@ -38,8 +38,8 @@ ENABLE_EXCEPTIONS=TRUE
|
||||
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
||||
|
||||
# set in minimizer.pmk
|
||||
#EXTENSIONNAME:=SunPresentationMinimizer
|
||||
EXTENSION_ZIPNAME:=sun-presentation-minimizer
|
||||
#EXTENSIONNAME:=PresentationMinimizer
|
||||
EXTENSION_ZIPNAME:=presentation-minimizer
|
||||
|
||||
.IF "$(ENABLE_MINIMIZER)" != "YES"
|
||||
@all:
|
||||
@@ -106,6 +106,10 @@ COMPONENT_BITMAPS= \
|
||||
$(EXTENSIONDIR)$/bitmaps$/minimizepresi_80.png \
|
||||
$(EXTENSIONDIR)$/bitmaps$/minimizepresi_80_h.png
|
||||
|
||||
COMPONENT_IMAGES=\
|
||||
$(EXTENSIONDIR)$/bitmaps$/em42.png \
|
||||
$(EXTENSIONDIR)$/bitmaps$/em42_hc.png
|
||||
|
||||
# rather freestyle or common to all?
|
||||
COMPONENT_HELP= \
|
||||
$(EXTENSIONDIR)$/help$/help_de.odt \
|
||||
@@ -113,7 +117,7 @@ COMPONENT_HELP= \
|
||||
$(EXTENSIONDIR)$/help$/component.txt
|
||||
|
||||
# make sure to add your custom files here
|
||||
EXTENSION_PACKDEPS=$(COMPONENT_BITMAPS) $(COMPONENT_HELP)
|
||||
EXTENSION_PACKDEPS=$(COMPONENT_BITMAPS) $(COMPONENT_IMAGES) $(COMPONENT_HELP)
|
||||
|
||||
# --- Targets ----------------------------------
|
||||
|
||||
@@ -129,6 +133,10 @@ $(COMPONENT_BITMAPS) : $(SOLARSRC)$/$(RSCDEFIMG)$/minimizer$/$$(@:f)
|
||||
@@-$(MKDIRHIER) $(@:d)
|
||||
$(COPY) $< $@
|
||||
|
||||
$(COMPONENT_IMAGES) : images$/$$(@:f)
|
||||
@@-$(MKDIRHIER) $(@:d)
|
||||
$(COPY) $< $@
|
||||
|
||||
$(COMPONENT_HELP) : help$/$$(@:f)
|
||||
@@-$(MKDIRHIER) $(@:d)
|
||||
$(COPY) $< $@
|
||||
|
@@ -11,7 +11,7 @@
|
||||
</dependencies>
|
||||
|
||||
<registration>
|
||||
<simple-license accept-by="admin" default-license-id="lic-en-US">
|
||||
<simple-license accept-by="admin" default-license-id="lic-en-US" suppress-if-required="true" >
|
||||
<license-text xlink:href="licensefile" lang="isocode" license-id="lic-isocode"/>
|
||||
</simple-license>
|
||||
</registration>
|
||||
@@ -21,11 +21,11 @@
|
||||
<platform value="UPDATED_SUPPORTED_PLATFORM" />
|
||||
|
||||
<publisher>
|
||||
<name xlink:href="http://www.sun.com/software/star/staroffice/extensions.jsp?cid=925095" lang="en">Sun Microsystems</name>
|
||||
<name xlink:href="http://www.sun.com/software/star/staroffice/extensions.jsp?cid=925095" lang="en">Oracle</name>
|
||||
</publisher>
|
||||
|
||||
<display-name>
|
||||
<name lang="en-US">PDF Import Extension</name>
|
||||
<name lang="en-US">PDF Import</name>
|
||||
</display-name>
|
||||
|
||||
<icon>
|
||||
|
@@ -1,3 +1 @@
|
||||
PDF documents are imported in Draw and Impress to preserve the layout and to
|
||||
allow basic editing. It is the perfect solution for changing dates, numbers
|
||||
or small portions of text.
|
||||
PDF documents are imported in Draw and Impress to preserve the layout and to allow basic editing. It is the perfect solution for changing dates, numbers or small portions of text.
|
||||
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 3.1 KiB |
@@ -197,6 +197,60 @@ public:
|
||||
void parseLine( const ::rtl::OString& rLine );
|
||||
};
|
||||
|
||||
|
||||
namespace
|
||||
{
|
||||
|
||||
/** Unescapes line-ending characters in input string. These
|
||||
characters are encoded as pairs of characters: '\\' 'n', resp.
|
||||
'\\' 'r'. This function converts them back to '\n', resp. '\r'.
|
||||
*/
|
||||
rtl::OString lcl_unescapeLineFeeds(const rtl::OString& i_rStr)
|
||||
{
|
||||
const size_t nOrigLen(sal::static_int_cast<size_t>(i_rStr.getLength()));
|
||||
const sal_Char* const pOrig(i_rStr.getStr());
|
||||
sal_Char* const pBuffer(new sal_Char[nOrigLen + 1]);
|
||||
|
||||
const sal_Char* pRead(pOrig);
|
||||
sal_Char* pWrite(pBuffer);
|
||||
const sal_Char* pCur(pOrig);
|
||||
while ((pCur = strchr(pCur, '\\')) != 0)
|
||||
{
|
||||
const sal_Char cNext(pCur[1]);
|
||||
if (cNext == 'n' || cNext == 'r' || cNext == '\\')
|
||||
{
|
||||
const size_t nLen(pCur - pRead);
|
||||
strncpy(pWrite, pRead, nLen);
|
||||
pWrite += nLen;
|
||||
*pWrite = cNext == 'n' ? '\n' : (cNext == 'r' ? '\r' : '\\');
|
||||
++pWrite;
|
||||
pCur = pRead = pCur + 2;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Just continue on the next character. The current
|
||||
// block will be copied the next time it goes through the
|
||||
// 'if' branch.
|
||||
++pCur;
|
||||
}
|
||||
}
|
||||
// maybe there are some data to copy yet
|
||||
if (sal::static_int_cast<size_t>(pRead - pOrig) < nOrigLen)
|
||||
{
|
||||
const size_t nLen(nOrigLen - (pRead - pOrig));
|
||||
strncpy(pWrite, pRead, nLen);
|
||||
pWrite += nLen;
|
||||
}
|
||||
*pWrite = '\0';
|
||||
|
||||
rtl::OString aResult(pBuffer);
|
||||
delete[] pBuffer;
|
||||
return aResult;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
::rtl::OString Parser::readNextToken()
|
||||
{
|
||||
OSL_PRECOND(m_nCharIndex!=-1,"insufficient input");
|
||||
@@ -322,7 +376,7 @@ void Parser::readChar()
|
||||
readDouble(aUnoMatrix.m10);
|
||||
readDouble(aUnoMatrix.m11);
|
||||
|
||||
rtl::OString aChars = m_aLine.copy( m_nCharIndex );
|
||||
rtl::OString aChars = lcl_unescapeLineFeeds( m_aLine.copy( m_nCharIndex ) );
|
||||
|
||||
// chars gobble up rest of line
|
||||
m_nCharIndex = -1;
|
||||
@@ -476,7 +530,7 @@ void Parser::readFont()
|
||||
readInt32(nFileLen);
|
||||
|
||||
nSize = nSize < 0.0 ? -nSize : nSize;
|
||||
aFontName = m_aLine.copy( m_nCharIndex );
|
||||
aFontName = lcl_unescapeLineFeeds( m_aLine.copy( m_nCharIndex ) );
|
||||
|
||||
// name gobbles up rest of line
|
||||
m_nCharIndex = -1;
|
||||
@@ -668,8 +722,9 @@ void Parser::readLink()
|
||||
readDouble(aBounds.Y2);
|
||||
|
||||
m_pSink->hyperLink( aBounds,
|
||||
rtl::OStringToOUString( m_aLine.copy(m_nCharIndex),
|
||||
RTL_TEXTENCODING_UTF8 ));
|
||||
rtl::OStringToOUString( lcl_unescapeLineFeeds(
|
||||
m_aLine.copy(m_nCharIndex) ),
|
||||
RTL_TEXTENCODING_UTF8 ) );
|
||||
// name gobbles up rest of line
|
||||
m_nCharIndex = -1;
|
||||
}
|
||||
|
@@ -37,6 +37,8 @@
|
||||
#include <math.h>
|
||||
#include <vector>
|
||||
|
||||
#include <boost/shared_array.hpp>
|
||||
|
||||
#if defined __SUNPRO_CC
|
||||
#pragma disable_warn
|
||||
#elif defined _MSC_VER
|
||||
@@ -78,10 +80,44 @@ inline double normalize( double val )
|
||||
return fabs(val) < 0.0000001 ? 0.0 : val;
|
||||
}
|
||||
|
||||
const char* escapeLineFeed( const char* pStr )
|
||||
namespace
|
||||
{
|
||||
// TODO(Q3): Escape linefeeds
|
||||
return pStr;
|
||||
|
||||
/** Escapes line-ending characters (\n and \r) in input string.
|
||||
*/
|
||||
boost::shared_array<char> lcl_escapeLineFeeds(const char* const i_pStr)
|
||||
{
|
||||
size_t nLength(strlen(i_pStr));
|
||||
char* pBuffer = new char[2*nLength+1];
|
||||
|
||||
const char* pRead = i_pStr;
|
||||
char* pWrite = pBuffer;
|
||||
while( nLength-- )
|
||||
{
|
||||
if( *pRead == '\r' )
|
||||
{
|
||||
*pWrite++ = '\\';
|
||||
*pWrite++ = 'r';
|
||||
}
|
||||
else if( *pRead == '\n' )
|
||||
{
|
||||
*pWrite++ = '\\';
|
||||
*pWrite++ = 'n';
|
||||
}
|
||||
else if( *pRead == '\\' )
|
||||
{
|
||||
*pWrite++ = '\\';
|
||||
*pWrite++ = '\\';
|
||||
}
|
||||
else
|
||||
*pWrite++ = *pRead;
|
||||
pRead++;
|
||||
}
|
||||
*pWrite++ = 0;
|
||||
|
||||
return boost::shared_array<char>(pBuffer);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// for the temp char buffer the header gets snprintfed in
|
||||
@@ -464,12 +500,14 @@ void PDFOutDev::processLink(Link* link, Catalog*)
|
||||
{
|
||||
const char* pURI = static_cast<LinkURI*>(pAction)->getURI()->getCString();
|
||||
|
||||
boost::shared_array<char> pEsc( lcl_escapeLineFeeds(pURI) );
|
||||
|
||||
printf( "drawLink %f %f %f %f %s\n",
|
||||
normalize(x1),
|
||||
normalize(y1),
|
||||
normalize(x2),
|
||||
normalize(y2),
|
||||
escapeLineFeed(pURI) );
|
||||
pEsc.get() );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -634,6 +672,8 @@ void PDFOutDev::updateFont(GfxState *state)
|
||||
printf( " %lld", fontID );
|
||||
|
||||
aFont = it->second;
|
||||
|
||||
boost::shared_array<char> pEsc( lcl_escapeLineFeeds(aFont.familyName.getCString()) );
|
||||
printf( " %d %d %d %d %f %d %s",
|
||||
aFont.isEmbedded,
|
||||
aFont.isBold,
|
||||
@@ -641,7 +681,7 @@ void PDFOutDev::updateFont(GfxState *state)
|
||||
aFont.isUnderline,
|
||||
normalize(state->getTransformedFontSize()),
|
||||
nEmbedSize,
|
||||
escapeLineFeed(aFont.familyName.getCString()) );
|
||||
pEsc.get() );
|
||||
}
|
||||
printf( "\n" );
|
||||
|
||||
@@ -765,7 +805,8 @@ void PDFOutDev::drawChar(GfxState *state, double x, double y,
|
||||
for( int i=0; i<uLen; ++i )
|
||||
{
|
||||
buf[ m_pUtf8Map->mapUnicode(u[i], buf, sizeof(buf)-1) ] = 0;
|
||||
printf( "%s", escapeLineFeed(buf) );
|
||||
boost::shared_array<char> pEsc( lcl_escapeLineFeeds(buf) );
|
||||
printf( "%s", pEsc.get() );
|
||||
}
|
||||
|
||||
printf( "\n" );
|
||||
|
@@ -1,3 +1 @@
|
||||
The @WIKIEXTENSIONPRODUCTNAME@ enables you to create Wiki articles on MediaWiki servers
|
||||
without having to know the syntax of the MediaWiki markup language. Publish
|
||||
your new and existing documents transparently with the Writer to a wiki page.
|
||||
The @WIKIEXTENSIONPRODUCTNAME@ enables you to create Wiki articles on MediaWiki servers without having to know the syntax of the MediaWiki markup language. Publish your new and existing documents transparently with the Writer to a wiki page.
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<description xmlns="http://openoffice.org/extensions/description/2006" xmlns:d="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<version value="1.1"/>
|
||||
<version value="1.1.1"/>
|
||||
<identifier value="@WIKIEXTENSIONID@"/>
|
||||
<display-name>
|
||||
<name lang="en-US">@WIKIEXTENSIONPRODUCTNAME@</name>
|
||||
@@ -14,6 +14,6 @@
|
||||
<OpenOffice.org-minimal-version value="3.0" d:name="OpenOffice.org 3.0 or StarOffice 9"/>
|
||||
</dependencies>
|
||||
<publisher>
|
||||
<name xlink:href="http://www.sun.com/software/star/staroffice/extensions.jsp?cid=925095" lang="en">Sun Microsystems</name>
|
||||
<name xlink:href="http://www.sun.com/software/star/staroffice/extensions.jsp?cid=925095" lang="en">Oracle</name>
|
||||
</publisher>
|
||||
</description>
|
||||
|