summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography/bibconfig.cxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2001-01-25 10:41:22 +0000
committerOliver Specht <os@openoffice.org>2001-01-25 10:41:22 +0000
commit56f0fc32ce0e5bdcb4d5c794aac3e4462b9e6765 (patch)
tree6602b472fc1cda6bbf030f6af5039c07e442b006 /extensions/source/bibliography/bibconfig.cxx
parent46449aa291790250717a446834af7c7873f19984 (diff)
#81140# UI-parameters added to the configuration
Diffstat (limited to 'extensions/source/bibliography/bibconfig.cxx')
-rw-r--r--extensions/source/bibliography/bibconfig.cxx18
1 files changed, 15 insertions, 3 deletions
diff --git a/extensions/source/bibliography/bibconfig.cxx b/extensions/source/bibliography/bibconfig.cxx
index 84b1a361fbec..7307d9856425 100644
--- a/extensions/source/bibliography/bibconfig.cxx
+++ b/extensions/source/bibliography/bibconfig.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: bibconfig.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: os $ $Date: 2001-01-10 16:26:20 $
+ * last change: $Author: os $ $Date: 2001-01-25 11:41:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -97,11 +97,15 @@ Sequence<OUString>& BibConfig::GetPropertyNames()
static Sequence<OUString> aNames;
if(!aNames.getLength())
{
- aNames.realloc(3);
+ aNames.realloc(7);
OUString* pNames = aNames.getArray();
pNames[0] = C2U("CurrentDataSource/DataSourceName");
pNames[1] = C2U("CurrentDataSource/Command");
pNames[2] = C2U("CurrentDataSource/CommandType");
+ pNames[3] = C2U("BeamerHeight");
+ pNames[4] = C2U("ViewHeight");
+ pNames[5] = C2U("QueryText");
+ pNames[6] = C2U("QueryField");
}
return aNames;
}
@@ -162,6 +166,10 @@ BibConfig::BibConfig() :
case 0: pValues[nProp] >>= sDataSource; break;
case 1: pValues[nProp] >>= sTableOrQuery; break;
case 2: pValues[nProp] >>= nTblOrQuery; break;
+ case 3: pValues[nProp] >>= nBeamerSize; break;
+ case 4: pValues[nProp] >>= nViewSize ; break;
+ case 5: pValues[nProp] >>= sQueryText ; break;
+ case 6: pValues[nProp] >>= sQueryField; break;
}
}
}
@@ -288,6 +296,10 @@ void BibConfig::Commit()
case 0: pValues[nProp] <<= sDataSource; break;
case 1: pValues[nProp] <<= sTableOrQuery; break;
case 2: pValues[nProp] <<= nTblOrQuery; break;
+ case 3: pValues[nProp] <<= nBeamerSize; break;
+ case 4: pValues[nProp] <<= nViewSize; break;
+ case 5: pValues[nProp] <<= sQueryText; break;
+ case 6: pValues[nProp] <<= sQueryField; break;
}
}
PutProperties(aNames, aValues);