tdf#126324 Import custom date as custom XTextField
Change-Id: I89f96490a47210e7daa3b21b2399e0dfe0cf3abf Reviewed-on: https://gerrit.libreoffice.org/81513 Tested-by: Jenkins Reviewed-by: Tamás Bunth <btomi96@gmail.com>
This commit is contained in:
@@ -67,6 +67,12 @@ void lclCreateTextFields( std::vector< Reference< XTextField > > & aFields,
|
||||
OString p( s.pData->buffer + 8 );
|
||||
try
|
||||
{
|
||||
if(p.startsWith("'"))
|
||||
{
|
||||
xIface = xFactory->createInstance( "com.sun.star.text.TextField.Custom" );
|
||||
aFields.emplace_back( xIface, UNO_QUERY );
|
||||
return;
|
||||
}
|
||||
bool bIsDate = true;
|
||||
int idx = p.toInt32();
|
||||
sal_uInt16 nNumFmt;
|
||||
|
||||
Reference in New Issue
Block a user