[Libreoffice-commits] core.git: Branch 'private/kohei/formula-opencl-work' - 275 commits - android/Bootstrap android/CustomTarget_android_desktop.mk android/CustomTarget_docloader.mk android/CustomTarget_lo4android.mk android/experimental android/Module_android.mk android/sdremote apple_remote/README avmedia/source basic/README basic/source bridges/source chart2/source codemaker/source comphelper/Library_comphelper.mk comphelper/source config_host/config_features.h.in config_host.mk.in configmgr/CppunitTest_configmgr_unit.mk configmgr/Library_configmgr.mk configmgr/Module_configmgr.mk configmgr/qa configmgr/source configure.ac connectivity/Library_firebird_sdbc.mk connectivity/Rdb_postgresql-sdbc.mk connectivity/source cppuhelper/README cppu/README cui/AllLangResTarget_cui.mk cui/source cui/uiconfig cui/UIConfig_cui.mk dbaccess/CppunitTest_dbaccess_firebird_test.mk dbaccess/Module_dbaccess.mk dbaccess/qa dbaccess/uiconfig desktop/Module_desktop.mk desktop/Package_pagein_install.mk desktop /Package_soffice_bin.mk desktop/Package_soffice_sh.mk desktop/source desktop/test desktop/unx drawinglayer/source editeng/source extras/source filter/source formula/source fpicker/Library_fps.mk fpicker/source framework/inc framework/README framework/source helpcontent2 i18npool/source i18nutil/source icon-themes/README include/comphelper include/cppu include/formula include/oox include/osl include/rtl include/sal include/sfx2 include/svtools include/svx include/tools include/uno include/vcl instsetoo_native/config instsetoo_native/CustomTarget_setup.mk instsetoo_native/Module_instsetoo_native.mk instsetoo_native/Package_config.mk instsetoo_native/Package_rdb.mk instsetoo_native/Package_setup.mk instsetoo_native/util ios/iosremote jvmfwk/Module_jvmfwk.mk jvmfwk/Package_jreproperties_install.mk jvmfwk/Package_jreproperties.mk jvmfwk/Package_rcfiles_install.mk jvmfwk/Package_rcfiles.mk lcms2/ExternalPackage_lcms2.mk librelogo/source libxml2/ExternalPackage_xml2.mk libxmlsec/Ex ternalPackage_xmlsec.mk libxslt/ExternalPackage_xslt.mk Makefile.in odk/docs odk/examples odk/index.html odk/Module_odk.mk odk/pack odk/Package_lib.mk odk/Package_share_readme.mk odk/util offapi/com offapi/type_reference offapi/UnoApi_offapi.mk officecfg/registry oovbaapi/README oovbaapi/UnoApi_oovbaapi.mk oox/README oox/source openssl/ExternalPackage_openssl.mk postprocess/CustomTarget_registry.mk postprocess/Module_postprocess.mk postprocess/Package_images_install.mk postprocess/Package_images.mk postprocess/Rdb_services.mk postprocess/signing pyuno/Module_pyuno.mk pyuno/Package_python_scripts_install.mk pyuno/Package_python_scripts.mk pyuno/Package_python_shell.mk pyuno/Package_pyunorc.mk pyuno/Rdb_pyuno.mk pyuno/source readlicense_oo/CustomTarget_readme.mk readlicense_oo/html readlicense_oo/Module_readlicense_oo.mk readlicense_oo/Package_files.mk readlicense_oo/Package_license.mk readlicense_oo/txt RepositoryExternal.mk Repository.mk sal/osl scaddins/README sc/inc scp2/i nc scp2/InstallModule_ooo.mk scp2/source sc/qa scripting/Rdb_scriptproviderforbeanshell.mk scripting/Rdb_scriptproviderforjavascript.mk sc/source sd/inc sd/Package_xml.mk sd/qa sd/source sd/uiconfig sd/xml sfx2/inc sfx2/source solenv/bin solenv/gbuild solenv/Module_solenv.mk solenv/Package_gdb_install.mk solenv/Package_gdb.mk starmath/inc starmath/qa starmath/source svx/source svx/uiconfig sw/AllLangResTarget_sw.mk sw/CppunitTest_sw_rtfimport.mk sw/inc sw/qa sw/source sw/uiconfig sw/UIConfig_swriter.mk test/Package_unittest.mk test/user-template tools/source udkapi/com udkapi/UnoApi_udkapi.mk unotools/source unusedcode.easy ure/Module_ure.mk ure/Package_distribution.mk ure/Package_install.mk ure/Rdb_ure.mk ure/source uui/source vcl/aqua vcl/generic vcl/inc vcl/source vcl/unx vcl/win wizards/com writerfilter/qa writerfilter/source xmloff/source xmlsecurity/source
Kohei Yoshida
kohei.yoshida at collabora.com
Tue Sep 10 11:57:54 PDT 2013
Rebased ref, commits from common ancestor:
commit 2bc6a5d74ede6c00ee6ccfbaa17e791a64ffff19
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date: Tue Sep 10 14:36:13 2013 -0400
We can use plain char array for these, only to avoid C++11 construct.
Hopefully this will keep our tinderboxes happy.
Change-Id: I3f7d398407fea2da858a1567c264f4c9bc35ff7b
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index bd806ee..6e21aef 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -850,16 +850,23 @@ void SdPage::CreateTitleAndLayout(sal_Bool bInit, sal_Bool bCreate )
}
}
-static const std::vector<rtl::OUString> PageKindVector = {"PK_STANDARD","PK_NOTES" , "PK_HANDOUT"};
-static const std::vector<rtl::OUString> PresObjKindVector = {"PRESOBJ_NONE", "PRESOBJ_TITLE", "PRESOBJ_OUTLINE",
- "PRESOBJ_TEXT" ,"PRESOBJ_GRAPHIC" , "PRESOBJ_OBJECT",
- "PRESOBJ_CHART", "PRESOBJ_ORGCHART", "PRESOBJ_TABLE",
- "PRESOBJ_IMAGE", "PRESOBJ_PAGE", "PRESOBJ_HANDOUT",
- "PRESOBJ_NOTES","PRESOBJ_HEADER", "PRESOBJ_FOOTER",
- "PRESOBJ_DATETIME", "PRESOBJ_SLIDENUMBER", "PRESOBJ_CALC",
- "PRESOBJ_MEDIA", "PRESOBJ_MAX" };
-
-void getPresObjProp( SdPage rPage, const rtl::OUString& sObjKind, const rtl::OUString& sPageKind, double presObjPropValue[])
+namespace {
+
+const char* PageKindVector[] = {
+ "PK_STANDARD","PK_NOTES" , "PK_HANDOUT"
+};
+
+const char* PresObjKindVector[] = {
+ "PRESOBJ_NONE", "PRESOBJ_TITLE", "PRESOBJ_OUTLINE",
+ "PRESOBJ_TEXT" ,"PRESOBJ_GRAPHIC" , "PRESOBJ_OBJECT",
+ "PRESOBJ_CHART", "PRESOBJ_ORGCHART", "PRESOBJ_TABLE",
+ "PRESOBJ_IMAGE", "PRESOBJ_PAGE", "PRESOBJ_HANDOUT",
+ "PRESOBJ_NOTES","PRESOBJ_HEADER", "PRESOBJ_FOOTER",
+ "PRESOBJ_DATETIME", "PRESOBJ_SLIDENUMBER", "PRESOBJ_CALC",
+ "PRESOBJ_MEDIA", "PRESOBJ_MAX"
+};
+
+void getPresObjProp( SdPage rPage, const char* sObjKind, const char* sPageKind, double presObjPropValue[] )
{
bool bNoObjectFound = true; //used to break from outer loop
@@ -873,7 +880,7 @@ void getPresObjProp( SdPage rPage, const rtl::OUString& sObjKind, const rtl::OUS
Reference<XNode> objectattr = objectattrlist->getNamedItem("type");
rtl::OUString sObjType = objectattr->getNodeValue();
- if(sObjType == sObjKind)
+ if (sObjType.equalsAscii(sObjKind))
{
Reference<XNodeList> objectChildren = objectNode->getChildNodes();
const int objSize = objectChildren->getLength();
@@ -890,7 +897,7 @@ void getPresObjProp( SdPage rPage, const rtl::OUString& sObjKind, const rtl::OUS
Reference<XNode> ObjPageKind = ObjAttributes->getNamedItem("pagekind");
rtl::OUString sObjPageKind = ObjPageKind->getNodeValue();
- if(sObjPageKind == sPageKind)
+ if (sObjPageKind.equalsAscii(sPageKind))
{
Reference<XNode> ObjSizeHeight = ObjAttributes->getNamedItem("relative-height");
rtl::OUString sValue = ObjSizeHeight->getNodeValue();
@@ -920,6 +927,8 @@ void getPresObjProp( SdPage rPage, const rtl::OUString& sObjKind, const rtl::OUS
}
}
+}
+
SdrObject* SdPage::CreateDefaultPresObj(PresObjKind eObjKind, bool bInsert)
{
double propvalue[] = {0,0,0,0};
@@ -941,8 +950,8 @@ SdrObject* SdPage::CreateDefaultPresObj(PresObjKind eObjKind, bool bInsert)
}
else if( (eObjKind == PRESOBJ_FOOTER) || (eObjKind == PRESOBJ_DATETIME) || (eObjKind == PRESOBJ_SLIDENUMBER) || (eObjKind == PRESOBJ_HEADER ) )
{
- rtl::OUString sObjKind = PresObjKindVector[eObjKind];
- rtl::OUString sPageKind = PageKindVector[mePageKind];
+ const char* sObjKind = PresObjKindVector[eObjKind];
+ const char* sPageKind = PageKindVector[mePageKind];
// create footer objects for standard master page
if( mePageKind == PK_STANDARD )
{
@@ -1026,7 +1035,7 @@ Rectangle SdPage::GetTitleRect() const
Size aTitleSize ( GetSize() );
aTitleSize.Width() -= GetLftBorder() + GetRgtBorder();
aTitleSize.Height() -= GetUppBorder() + GetLwrBorder();
- rtl::OUString sPageKind = PageKindVector[mePageKind];
+ const char* sPageKind = PageKindVector[mePageKind];
if (mePageKind == PK_STANDARD)
{
@@ -1107,7 +1116,7 @@ Rectangle SdPage::GetLayoutRect() const
Size aLayoutSize ( GetSize() );
aLayoutSize.Width() -= GetLftBorder() + GetRgtBorder();
aLayoutSize.Height() -= GetUppBorder() + GetLwrBorder();
- rtl::OUString sPageKind = PageKindVector[mePageKind];
+ const char* sPageKind = PageKindVector[mePageKind];
if (mePageKind == PK_STANDARD)
{
commit d697ba10a5fd3da26912c29116aff90c3be64640
Author: Jelle van der Waa <jelle at vdwaa.nl>
Date: Tue Sep 10 17:50:22 2013 +0200
remove old unit tests
Change-Id: I83619c47d435b9ee7bd0de3121832f84046a6d18
Reviewed-on: https://gerrit.libreoffice.org/5903
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/writerfilter/qa/cppunittests/qname/export.map b/writerfilter/qa/cppunittests/qname/export.map
deleted file mode 100644
index 06b6a4a..0000000
--- a/writerfilter/qa/cppunittests/qname/export.map
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# This file incorporates work covered by the following license notice:
-#
-# 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 .
-#
-
-UDK_3_0_0 {
- global:
- registerAllTestFunction;
-
- local:
- *;
-};
diff --git a/writerfilter/qa/cppunittests/qname/testQName.cxx b/writerfilter/qa/cppunittests/qname/testQName.cxx
deleted file mode 100644
index 4b8a943..0000000
--- a/writerfilter/qa/cppunittests/qname/testQName.cxx
+++ /dev/null
@@ -1,7527 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * 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 .
- */
-
-#include <testshl/simpleheader.hxx>
-#include <odiapi/qname/QName.hxx>
-#include <stdio.h>
-#include <rtl/string.hxx>
-#include <rtl/random.h>
-#include <osl/time.h>
-#include <boost/unordered_set.hpp>
-#include <stdexcept>
-
-
-using namespace writerfilter;
-
-
-class TestQName : public CppUnit::TestFixture
-{
-public:
- void testAdd(const sal_Char* namespaceUri, const sal_Char *localName)
- {
- QName_t t=QName::tokenizer().insert(namespaceUri, localName);
- const sal_Char *ln=QName::serializer().getLocalName(t);
- const sal_Char *ns=QName::serializer().getNamespaceUri(t);
- CPPUNIT_ASSERT(rtl_str_compare(localName, ln)==0);
- CPPUNIT_ASSERT(rtl_str_compare(namespaceUri, ns)==0);
- }
-
- void test()
- {
- rtlRandomPool rndPool=rtl_random_createPool();
- int numOfIterations=100000; //int numOfIterations=5000000;
- for(int i=0;i<numOfIterations;i++)
- {
- unsigned int id;
- rtl_random_getBytes(rndPool, &id, sizeof(id));
- id%=QName::tokenizer().getQNames();
- const sal_Char *ln=QName::serializer().getLocalName((QName_t)id);
- const sal_Char *ns=QName::serializer().getNamespaceUri((QName_t)id);
- testAdd(ns, ln);
- }
- rtl_random_destroyPool(rndPool);
- }
-
- void testperf()
- {
- rtlRandomPool rndPool=rtl_random_createPool();
- int numOfIterations=5000000;
- TimeValue t1; osl_getSystemTime(&t1);
- for(int i=0;i<numOfIterations;i++)
- {
- unsigned int id;
- rtl_random_getBytes(rndPool, &id, sizeof(id));
- id%=QName::tokenizer().getQNames();
- const sal_Char *ln=QName::serializer().getLocalName((QName_t)id);
- const sal_Char *ns=QName::serializer().getNamespaceUri((QName_t)id);
- QName::tokenizer().insert(ns, ln);
- }
- TimeValue t2; osl_getSystemTime(&t2);
- printf("Events=%i time=%is time/event=%0.10fs\n", numOfIterations, t2.Seconds-t1.Seconds, (double)(t2.Seconds-t1.Seconds)/(double)numOfIterations);
- rtl_random_destroyPool(rndPool);
- }
-
-
- void testinsert()
- {
- testAdd("myns", "myname");
- }
-
- void testdos()
- {
- bool flag=false;
- try {
- int i=0;
- for(;;)
- {
- char buf[100];
- sprintf(buf, "name%i", i++);
- testAdd("myns", buf);
- }
- } catch (const std::logic_error &)
- {
- // only way to exit this function
- flag=true;
- }
- CPPUNIT_ASSERT_MESSAGE("dos test failed", flag);
- }
-
-
- void test_anium(){
- bool flag=true;
- static const char ns[] = "urn:oasis:names:tc:opendocument:xmlns:animation:1.0";
- flag&=QName::tokenizer().insert(ns, "animate") == NS_anium::LN_animate;
- flag&=QName::tokenizer().insert(ns, "set") == NS_anium::LN_set;
- flag&=QName::tokenizer().insert(ns, "animateMotion") == NS_anium::LN_animateMotion;
- flag&=QName::tokenizer().insert(ns, "animateColor") == NS_anium::LN_animateColor;
- flag&=QName::tokenizer().insert(ns, "color-interpolation") == NS_anium::LN_color_interpolation;
- flag&=QName::tokenizer().insert(ns, "color-interpolation-direction") == NS_anium::LN_color_interpolation_direction;
- flag&=QName::tokenizer().insert(ns, "animateTransform") == NS_anium::LN_animateTransform;
- flag&=QName::tokenizer().insert(ns, "transitionFilter") == NS_anium::LN_transitionFilter;
- flag&=QName::tokenizer().insert(ns, "id") == NS_anium::LN_id;
- flag&=QName::tokenizer().insert(ns, "sub-item") == NS_anium::LN_sub_item;
- flag&=QName::tokenizer().insert(ns, "formula") == NS_anium::LN_formula;
- flag&=QName::tokenizer().insert(ns, "par") == NS_anium::LN_par;
- flag&=QName::tokenizer().insert(ns, "seq") == NS_anium::LN_seq;
- flag&=QName::tokenizer().insert(ns, "iterate") == NS_anium::LN_iterate;
- flag&=QName::tokenizer().insert(ns, "iterate-type") == NS_anium::LN_iterate_type;
- flag&=QName::tokenizer().insert(ns, "iterate-interval") == NS_anium::LN_iterate_interval;
- flag&=QName::tokenizer().insert(ns, "audio") == NS_anium::LN_audio;
- flag&=QName::tokenizer().insert(ns, "audio-level") == NS_anium::LN_audio_level;
- flag&=QName::tokenizer().insert(ns, "command") == NS_anium::LN_command;
- flag&=QName::tokenizer().insert(ns, "param") == NS_anium::LN_param;
- flag&=QName::tokenizer().insert(ns, "name") == NS_anium::LN_name;
- flag&=QName::tokenizer().insert(ns, "value") == NS_anium::LN_value;
- CPPUNIT_ASSERT_MESSAGE("test for namespace anium failed", flag);}
- void test_math(){
- bool flag=true;
- static const char ns[] = "http://www.w3.org/1998/Math/MathML";
- flag&=QName::tokenizer().insert(ns, "math") == NS_math::LN_math;
- CPPUNIT_ASSERT_MESSAGE("test for namespace math failed", flag);}
- void test_w10(){
- bool flag=true;
- static const char ns[] = "urn:schemas-microsoft-com:office:word";
- flag&=QName::tokenizer().insert(ns, "bordertop") == NS_w10::LN_bordertop;
- flag&=QName::tokenizer().insert(ns, "borderleft") == NS_w10::LN_borderleft;
- flag&=QName::tokenizer().insert(ns, "borderright") == NS_w10::LN_borderright;
- flag&=QName::tokenizer().insert(ns, "borderbottom") == NS_w10::LN_borderbottom;
- flag&=QName::tokenizer().insert(ns, "wrap") == NS_w10::LN_wrap;
- flag&=QName::tokenizer().insert(ns, "anchorlock") == NS_w10::LN_anchorlock;
- CPPUNIT_ASSERT_MESSAGE("test for namespace w10 failed", flag);}
- void test_chart(){
- bool flag=true;
- static const char ns[] = "urn:oasis:names:tc:opendocument:xmlns:chart:1.0";
- flag&=QName::tokenizer().insert(ns, "scale-text") == NS_chart::LN_scale_text;
- flag&=QName::tokenizer().insert(ns, "three-dimensional") == NS_chart::LN_three_dimensional;
- flag&=QName::tokenizer().insert(ns, "deep") == NS_chart::LN_deep;
- flag&=QName::tokenizer().insert(ns, "symbol-type") == NS_chart::LN_symbol_type;
- flag&=QName::tokenizer().insert(ns, "symbol-name") == NS_chart::LN_symbol_name;
- flag&=QName::tokenizer().insert(ns, "symbol-image") == NS_chart::LN_symbol_image;
- flag&=QName::tokenizer().insert(ns, "symbol-width") == NS_chart::LN_symbol_width;
- flag&=QName::tokenizer().insert(ns, "symbol-height") == NS_chart::LN_symbol_height;
- flag&=QName::tokenizer().insert(ns, "vertical") == NS_chart::LN_vertical;
- flag&=QName::tokenizer().insert(ns, "connect-bars") == NS_chart::LN_connect_bars;
- flag&=QName::tokenizer().insert(ns, "gap-width") == NS_chart::LN_gap_width;
- flag&=QName::tokenizer().insert(ns, "overlap") == NS_chart::LN_overlap;
- flag&=QName::tokenizer().insert(ns, "japanese-candle-stick") == NS_chart::LN_japanese_candle_stick;
- flag&=QName::tokenizer().insert(ns, "interpolation") == NS_chart::LN_interpolation;
- flag&=QName::tokenizer().insert(ns, "spline-order") == NS_chart::LN_spline_order;
- flag&=QName::tokenizer().insert(ns, "spline-resolution") == NS_chart::LN_spline_resolution;
- flag&=QName::tokenizer().insert(ns, "pie-offset") == NS_chart::LN_pie_offset;
- flag&=QName::tokenizer().insert(ns, "lines") == NS_chart::LN_lines;
- flag&=QName::tokenizer().insert(ns, "solid-type") == NS_chart::LN_solid_type;
- flag&=QName::tokenizer().insert(ns, "stacked") == NS_chart::LN_stacked;
- flag&=QName::tokenizer().insert(ns, "percentage") == NS_chart::LN_percentage;
- flag&=QName::tokenizer().insert(ns, "link-data-style-to-source") == NS_chart::LN_link_data_style_to_source;
- flag&=QName::tokenizer().insert(ns, "visible") == NS_chart::LN_visible;
- flag&=QName::tokenizer().insert(ns, "logarithmic") == NS_chart::LN_logarithmic;
- flag&=QName::tokenizer().insert(ns, "maximum") == NS_chart::LN_maximum;
- flag&=QName::tokenizer().insert(ns, "minimum") == NS_chart::LN_minimum;
- flag&=QName::tokenizer().insert(ns, "origin") == NS_chart::LN_origin;
- flag&=QName::tokenizer().insert(ns, "interval-major") == NS_chart::LN_interval_major;
- flag&=QName::tokenizer().insert(ns, "interval-minor") == NS_chart::LN_interval_minor;
- flag&=QName::tokenizer().insert(ns, "tick-marks-major-inner") == NS_chart::LN_tick_marks_major_inner;
- flag&=QName::tokenizer().insert(ns, "tick-marks-major-outer") == NS_chart::LN_tick_marks_major_outer;
- flag&=QName::tokenizer().insert(ns, "tick-marks-minor-inner") == NS_chart::LN_tick_marks_minor_inner;
- flag&=QName::tokenizer().insert(ns, "tick-marks-minor-outer") == NS_chart::LN_tick_marks_minor_outer;
- flag&=QName::tokenizer().insert(ns, "display-label") == NS_chart::LN_display_label;
- flag&=QName::tokenizer().insert(ns, "text-overlap") == NS_chart::LN_text_overlap;
- flag&=QName::tokenizer().insert(ns, "label-arrangement") == NS_chart::LN_label_arrangement;
- flag&=QName::tokenizer().insert(ns, "data-label-number") == NS_chart::LN_data_label_number;
- flag&=QName::tokenizer().insert(ns, "data-label-text") == NS_chart::LN_data_label_text;
- flag&=QName::tokenizer().insert(ns, "data-label-symbol") == NS_chart::LN_data_label_symbol;
- flag&=QName::tokenizer().insert(ns, "error-category") == NS_chart::LN_error_category;
- flag&=QName::tokenizer().insert(ns, "error-percentage") == NS_chart::LN_error_percentage;
- flag&=QName::tokenizer().insert(ns, "error-margin") == NS_chart::LN_error_margin;
- flag&=QName::tokenizer().insert(ns, "error-lower-limit") == NS_chart::LN_error_lower_limit;
- flag&=QName::tokenizer().insert(ns, "error-upper-limit") == NS_chart::LN_error_upper_limit;
- flag&=QName::tokenizer().insert(ns, "error-upper-indicator") == NS_chart::LN_error_upper_indicator;
- flag&=QName::tokenizer().insert(ns, "error-lower-indicator") == NS_chart::LN_error_lower_indicator;
- flag&=QName::tokenizer().insert(ns, "series-source") == NS_chart::LN_series_source;
- flag&=QName::tokenizer().insert(ns, "regression-type") == NS_chart::LN_regression_type;
- flag&=QName::tokenizer().insert(ns, "chart") == NS_chart::LN_chart;
- flag&=QName::tokenizer().insert(ns, "class") == NS_chart::LN_class;
- flag&=QName::tokenizer().insert(ns, "column-mapping") == NS_chart::LN_column_mapping;
- flag&=QName::tokenizer().insert(ns, "row-mapping") == NS_chart::LN_row_mapping;
- flag&=QName::tokenizer().insert(ns, "style-name") == NS_chart::LN_style_name;
- flag&=QName::tokenizer().insert(ns, "title") == NS_chart::LN_title;
- flag&=QName::tokenizer().insert(ns, "subtitle") == NS_chart::LN_subtitle;
- flag&=QName::tokenizer().insert(ns, "footer") == NS_chart::LN_footer;
- flag&=QName::tokenizer().insert(ns, "legend") == NS_chart::LN_legend;
- flag&=QName::tokenizer().insert(ns, "legend-position") == NS_chart::LN_legend_position;
- flag&=QName::tokenizer().insert(ns, "legend-align") == NS_chart::LN_legend_align;
- flag&=QName::tokenizer().insert(ns, "plot-area") == NS_chart::LN_plot_area;
- flag&=QName::tokenizer().insert(ns, "data-source-has-labels") == NS_chart::LN_data_source_has_labels;
- flag&=QName::tokenizer().insert(ns, "wall") == NS_chart::LN_wall;
- flag&=QName::tokenizer().insert(ns, "floor") == NS_chart::LN_floor;
- flag&=QName::tokenizer().insert(ns, "axis") == NS_chart::LN_axis;
- flag&=QName::tokenizer().insert(ns, "dimension") == NS_chart::LN_dimension;
- flag&=QName::tokenizer().insert(ns, "name") == NS_chart::LN_name;
- flag&=QName::tokenizer().insert(ns, "grid") == NS_chart::LN_grid;
- flag&=QName::tokenizer().insert(ns, "series") == NS_chart::LN_series;
- flag&=QName::tokenizer().insert(ns, "values-cell-range-address") == NS_chart::LN_values_cell_range_address;
- flag&=QName::tokenizer().insert(ns, "label-cell-address") == NS_chart::LN_label_cell_address;
- flag&=QName::tokenizer().insert(ns, "attached-axis") == NS_chart::LN_attached_axis;
- flag&=QName::tokenizer().insert(ns, "domain") == NS_chart::LN_domain;
- flag&=QName::tokenizer().insert(ns, "categories") == NS_chart::LN_categories;
- flag&=QName::tokenizer().insert(ns, "data-point") == NS_chart::LN_data_point;
- flag&=QName::tokenizer().insert(ns, "repeated") == NS_chart::LN_repeated;
- flag&=QName::tokenizer().insert(ns, "mean-value") == NS_chart::LN_mean_value;
- flag&=QName::tokenizer().insert(ns, "error-indicator") == NS_chart::LN_error_indicator;
- flag&=QName::tokenizer().insert(ns, "regression-curve") == NS_chart::LN_regression_curve;
- flag&=QName::tokenizer().insert(ns, "stock-gain-marker") == NS_chart::LN_stock_gain_marker;
- flag&=QName::tokenizer().insert(ns, "stock-loss-marker") == NS_chart::LN_stock_loss_marker;
- flag&=QName::tokenizer().insert(ns, "stock-range-line") == NS_chart::LN_stock_range_line;
- CPPUNIT_ASSERT_MESSAGE("test for namespace chart failed", flag);}
- void test_sc12(){
- bool flag=true;
- static const char ns[] = "http://schemas.microsoft.com/office/excel/2005/8/singlecells";
- flag&=QName::tokenizer().insert(ns, "singleCells") == NS_sc12::LN_singleCells;
- flag&=QName::tokenizer().insert(ns, "table") == NS_sc12::LN_table;
- CPPUNIT_ASSERT_MESSAGE("test for namespace sc12 failed", flag);}
- void test_odc12(){
- bool flag=true;
- static const char ns[] = "urn:schemas-microsoft-com:office:odc";
- flag&=QName::tokenizer().insert(ns, "OfficeDataConnection") == NS_odc12::LN_OfficeDataConnection;
- flag&=QName::tokenizer().insert(ns, "Connection") == NS_odc12::LN_Connection;
- flag&=QName::tokenizer().insert(ns, "ConnectionString") == NS_odc12::LN_ConnectionString;
- flag&=QName::tokenizer().insert(ns, "CommandType") == NS_odc12::LN_CommandType;
- flag&=QName::tokenizer().insert(ns, "CommandText") == NS_odc12::LN_CommandText;
- flag&=QName::tokenizer().insert(ns, "Parameter") == NS_odc12::LN_Parameter;
- flag&=QName::tokenizer().insert(ns, "SourceFile") == NS_odc12::LN_SourceFile;
- flag&=QName::tokenizer().insert(ns, "HeaderFile") == NS_odc12::LN_HeaderFile;
- flag&=QName::tokenizer().insert(ns, "MailMerge") == NS_odc12::LN_MailMerge;
- flag&=QName::tokenizer().insert(ns, "Version") == NS_odc12::LN_Version;
- flag&=QName::tokenizer().insert(ns, "AlwaysUseConnectionFile") == NS_odc12::LN_AlwaysUseConnectionFile;
- flag&=QName::tokenizer().insert(ns, "CredentialsMethod") == NS_odc12::LN_CredentialsMethod;
- flag&=QName::tokenizer().insert(ns, "SSOApplicationID") == NS_odc12::LN_SSOApplicationID;
- flag&=QName::tokenizer().insert(ns, "Name") == NS_odc12::LN_Name;
- flag&=QName::tokenizer().insert(ns, "DataType") == NS_odc12::LN_DataType;
- CPPUNIT_ASSERT_MESSAGE("test for namespace odc12 failed", flag);}
- void test_c11(){
- bool flag=true;
- static const char ns[] = "urn:schemas-microsoft-com:office:component:spreadsheet";
- flag&=QName::tokenizer().insert(ns, "OWCVersion") == NS_c11::LN_OWCVersion;
- flag&=QName::tokenizer().insert(ns, "worksheetoptions") == NS_c11::LN_worksheetoptions;
- flag&=QName::tokenizer().insert(ns, "displaycustomheaders") == NS_c11::LN_displaycustomheaders;
- flag&=QName::tokenizer().insert(ns, "ComponentOptions") == NS_c11::LN_ComponentOptions;
- flag&=QName::tokenizer().insert(ns, "Toolbar") == NS_c11::LN_Toolbar;
- flag&=QName::tokenizer().insert(ns, "HideOfficeLogo") == NS_c11::LN_HideOfficeLogo;
- flag&=QName::tokenizer().insert(ns, "SpreadsheetAutoFit") == NS_c11::LN_SpreadsheetAutoFit;
- flag&=QName::tokenizer().insert(ns, "Label") == NS_c11::LN_Label;
- flag&=QName::tokenizer().insert(ns, "Caption") == NS_c11::LN_Caption;
- flag&=QName::tokenizer().insert(ns, "MaxHeight") == NS_c11::LN_MaxHeight;
- flag&=QName::tokenizer().insert(ns, "MaxWidth") == NS_c11::LN_MaxWidth;
- flag&=QName::tokenizer().insert(ns, "NextSheetNumber") == NS_c11::LN_NextSheetNumber;
- CPPUNIT_ASSERT_MESSAGE("test for namespace c11 failed", flag);}
- void test_rng(){
- bool flag=true;
- static const char ns[] = "http://relaxng.org/ns/structure/1.0";
- flag&=QName::tokenizer().insert(ns, "anyName") == NS_rng::LN_anyName;
- flag&=QName::tokenizer().insert(ns, "grammar") == NS_rng::LN_grammar;
- flag&=QName::tokenizer().insert(ns, "define") == NS_rng::LN_define;
- flag&=QName::tokenizer().insert(ns, "optional") == NS_rng::LN_optional;
- flag&=QName::tokenizer().insert(ns, "attribute") == NS_rng::LN_attribute;
- flag&=QName::tokenizer().insert(ns, "ref") == NS_rng::LN_ref;
- flag&=QName::tokenizer().insert(ns, "start") == NS_rng::LN_start;
- flag&=QName::tokenizer().insert(ns, "choice") == NS_rng::LN_choice;
- flag&=QName::tokenizer().insert(ns, "element") == NS_rng::LN_element;
- flag&=QName::tokenizer().insert(ns, "zeroOrMore") == NS_rng::LN_zeroOrMore;
- flag&=QName::tokenizer().insert(ns, "group") == NS_rng::LN_group;
- flag&=QName::tokenizer().insert(ns, "empty") == NS_rng::LN_empty;
- flag&=QName::tokenizer().insert(ns, "oneOrMore") == NS_rng::LN_oneOrMore;
- flag&=QName::tokenizer().insert(ns, "text") == NS_rng::LN_text;
- flag&=QName::tokenizer().insert(ns, "value") == NS_rng::LN_value;
- flag&=QName::tokenizer().insert(ns, "mixed") == NS_rng::LN_mixed;
- flag&=QName::tokenizer().insert(ns, "interleave") == NS_rng::LN_interleave;
- flag&=QName::tokenizer().insert(ns, "data") == NS_rng::LN_data;
- flag&=QName::tokenizer().insert(ns, "param") == NS_rng::LN_param;
- flag&=QName::tokenizer().insert(ns, "except") == NS_rng::LN_except;
- flag&=QName::tokenizer().insert(ns, "nsName") == NS_rng::LN_nsName;
- flag&=QName::tokenizer().insert(ns, "parentRef") == NS_rng::LN_parentRef;
- flag&=QName::tokenizer().insert(ns, "notAllowed") == NS_rng::LN_notAllowed;
- flag&=QName::tokenizer().insert(ns, "externalRef") == NS_rng::LN_externalRef;
- flag&=QName::tokenizer().insert(ns, "div") == NS_rng::LN_div;
- flag&=QName::tokenizer().insert(ns, "include") == NS_rng::LN_include;
- flag&=QName::tokenizer().insert(ns, "list") == NS_rng::LN_list;
- flag&=QName::tokenizer().insert(ns, "name") == NS_rng::LN_name;
- CPPUNIT_ASSERT_MESSAGE("test for namespace rng failed", flag);}
- void test_meta(){
- bool flag=true;
- static const char ns[] = "urn:oasis:names:tc:opendocument:xmlns:meta:1.0";
- flag&=QName::tokenizer().insert(ns, "date-string") == NS_meta::LN_date_string;
- flag&=QName::tokenizer().insert(ns, "generator") == NS_meta::LN_generator;
- flag&=QName::tokenizer().insert(ns, "keyword") == NS_meta::LN_keyword;
- flag&=QName::tokenizer().insert(ns, "initial-creator") == NS_meta::LN_initial_creator;
- flag&=QName::tokenizer().insert(ns, "printed-by") == NS_meta::LN_printed_by;
- flag&=QName::tokenizer().insert(ns, "creation-date") == NS_meta::LN_creation_date;
- flag&=QName::tokenizer().insert(ns, "print-date") == NS_meta::LN_print_date;
- flag&=QName::tokenizer().insert(ns, "template") == NS_meta::LN_template;
- flag&=QName::tokenizer().insert(ns, "date") == NS_meta::LN_date;
- flag&=QName::tokenizer().insert(ns, "auto-reload") == NS_meta::LN_auto_reload;
- flag&=QName::tokenizer().insert(ns, "delay") == NS_meta::LN_delay;
- flag&=QName::tokenizer().insert(ns, "hyperlink-behaviour") == NS_meta::LN_hyperlink_behaviour;
- flag&=QName::tokenizer().insert(ns, "editing-cycles") == NS_meta::LN_editing_cycles;
- flag&=QName::tokenizer().insert(ns, "editing-duration") == NS_meta::LN_editing_duration;
- flag&=QName::tokenizer().insert(ns, "document-statistic") == NS_meta::LN_document_statistic;
- flag&=QName::tokenizer().insert(ns, "page-count") == NS_meta::LN_page_count;
- flag&=QName::tokenizer().insert(ns, "table-count") == NS_meta::LN_table_count;
- flag&=QName::tokenizer().insert(ns, "draw-count") == NS_meta::LN_draw_count;
- flag&=QName::tokenizer().insert(ns, "image-count") == NS_meta::LN_image_count;
- flag&=QName::tokenizer().insert(ns, "ole-object-count") == NS_meta::LN_ole_object_count;
- flag&=QName::tokenizer().insert(ns, "paragraph-count") == NS_meta::LN_paragraph_count;
- flag&=QName::tokenizer().insert(ns, "word-count") == NS_meta::LN_word_count;
- flag&=QName::tokenizer().insert(ns, "character-count") == NS_meta::LN_character_count;
- flag&=QName::tokenizer().insert(ns, "frame-count") == NS_meta::LN_frame_count;
- flag&=QName::tokenizer().insert(ns, "sentence-count") == NS_meta::LN_sentence_count;
- flag&=QName::tokenizer().insert(ns, "syllable-count") == NS_meta::LN_syllable_count;
- flag&=QName::tokenizer().insert(ns, "non-whitespace-character-count") == NS_meta::LN_non_whitespace_character_count;
- flag&=QName::tokenizer().insert(ns, "row-count") == NS_meta::LN_row_count;
- flag&=QName::tokenizer().insert(ns, "cell-count") == NS_meta::LN_cell_count;
- flag&=QName::tokenizer().insert(ns, "object-count") == NS_meta::LN_object_count;
- flag&=QName::tokenizer().insert(ns, "user-defined") == NS_meta::LN_user_defined;
- flag&=QName::tokenizer().insert(ns, "name") == NS_meta::LN_name;
- flag&=QName::tokenizer().insert(ns, "value-type") == NS_meta::LN_value_type;
- CPPUNIT_ASSERT_MESSAGE("test for namespace meta failed", flag);}
- void test_udcs(){
- bool flag=true;
- static const char ns[] = "http://schemas.microsoft.com/data/udc/soap";
- flag&=QName::tokenizer().insert(ns, "Location") == NS_udcs::LN_Location;
- flag&=QName::tokenizer().insert(ns, "Proxy") == NS_udcs::LN_Proxy;
- flag&=QName::tokenizer().insert(ns, "Authentication") == NS_udcs::LN_Authentication;
- flag&=QName::tokenizer().insert(ns, "Windows") == NS_udcs::LN_Windows;
- flag&=QName::tokenizer().insert(ns, "Basic") == NS_udcs::LN_Basic;
- flag&=QName::tokenizer().insert(ns, "useExplicit") == NS_udcs::LN_useExplicit;
- flag&=QName::tokenizer().insert(ns, "userId") == NS_udcs::LN_userId;
- flag&=QName::tokenizer().insert(ns, "password") == NS_udcs::LN_password;
- flag&=QName::tokenizer().insert(ns, "SOAPAction") == NS_udcs::LN_SOAPAction;
- CPPUNIT_ASSERT_MESSAGE("test for namespace udcs failed", flag);}
- void test_xlink(){
- bool flag=true;
- static const char ns[] = "http://www.w3.org/1999/xlink";
- flag&=QName::tokenizer().insert(ns, "href") == NS_xlink::LN_href;
- flag&=QName::tokenizer().insert(ns, "type") == NS_xlink::LN_type;
- flag&=QName::tokenizer().insert(ns, "actuate") == NS_xlink::LN_actuate;
- flag&=QName::tokenizer().insert(ns, "title") == NS_xlink::LN_title;
- flag&=QName::tokenizer().insert(ns, "show") == NS_xlink::LN_show;
- CPPUNIT_ASSERT_MESSAGE("test for namespace xlink failed", flag);}
- void test_style(){
- bool flag=true;
- static const char ns[] = "urn:oasis:names:tc:opendocument:xmlns:style:1.0";
- flag&=QName::tokenizer().insert(ns, "chart-properties") == NS_style::LN_chart_properties;
- flag&=QName::tokenizer().insert(ns, "num-prefix") == NS_style::LN_num_prefix;
- flag&=QName::tokenizer().insert(ns, "num-suffix") == NS_style::LN_num_suffix;
- flag&=QName::tokenizer().insert(ns, "num-format") == NS_style::LN_num_format;
- flag&=QName::tokenizer().insert(ns, "num-letter-sync") == NS_style::LN_num_letter_sync;
- flag&=QName::tokenizer().insert(ns, "style") == NS_style::LN_style;
- flag&=QName::tokenizer().insert(ns, "name") == NS_style::LN_name;
- flag&=QName::tokenizer().insert(ns, "display-name") == NS_style::LN_display_name;
- flag&=QName::tokenizer().insert(ns, "parent-style-name") == NS_style::LN_parent_style_name;
- flag&=QName::tokenizer().insert(ns, "next-style-name") == NS_style::LN_next_style_name;
- flag&=QName::tokenizer().insert(ns, "list-style-name") == NS_style::LN_list_style_name;
- flag&=QName::tokenizer().insert(ns, "master-page-name") == NS_style::LN_master_page_name;
- flag&=QName::tokenizer().insert(ns, "auto-update") == NS_style::LN_auto_update;
- flag&=QName::tokenizer().insert(ns, "class") == NS_style::LN_class;
- flag&=QName::tokenizer().insert(ns, "default-outline-level") == NS_style::LN_default_outline_level;
- flag&=QName::tokenizer().insert(ns, "map") == NS_style::LN_map;
- flag&=QName::tokenizer().insert(ns, "condition") == NS_style::LN_condition;
- flag&=QName::tokenizer().insert(ns, "apply-style-name") == NS_style::LN_apply_style_name;
- flag&=QName::tokenizer().insert(ns, "base-cell-address") == NS_style::LN_base_cell_address;
- flag&=QName::tokenizer().insert(ns, "default-style") == NS_style::LN_default_style;
- flag&=QName::tokenizer().insert(ns, "page-layout") == NS_style::LN_page_layout;
- flag&=QName::tokenizer().insert(ns, "page-usage") == NS_style::LN_page_usage;
- flag&=QName::tokenizer().insert(ns, "header-style") == NS_style::LN_header_style;
- flag&=QName::tokenizer().insert(ns, "footer-style") == NS_style::LN_footer_style;
- flag&=QName::tokenizer().insert(ns, "master-page") == NS_style::LN_master_page;
- flag&=QName::tokenizer().insert(ns, "header") == NS_style::LN_header;
- flag&=QName::tokenizer().insert(ns, "footer") == NS_style::LN_footer;
- flag&=QName::tokenizer().insert(ns, "header-left") == NS_style::LN_header_left;
- flag&=QName::tokenizer().insert(ns, "footer-left") == NS_style::LN_footer_left;
- flag&=QName::tokenizer().insert(ns, "display") == NS_style::LN_display;
- flag&=QName::tokenizer().insert(ns, "region-left") == NS_style::LN_region_left;
- flag&=QName::tokenizer().insert(ns, "region-center") == NS_style::LN_region_center;
- flag&=QName::tokenizer().insert(ns, "region-right") == NS_style::LN_region_right;
- flag&=QName::tokenizer().insert(ns, "font-face") == NS_style::LN_font_face;
- flag&=QName::tokenizer().insert(ns, "font-adornments") == NS_style::LN_font_adornments;
- flag&=QName::tokenizer().insert(ns, "font-family-generic") == NS_style::LN_font_family_generic;
- flag&=QName::tokenizer().insert(ns, "font-pitch") == NS_style::LN_font_pitch;
- flag&=QName::tokenizer().insert(ns, "font-charset") == NS_style::LN_font_charset;
- flag&=QName::tokenizer().insert(ns, "volatile") == NS_style::LN_volatile;
- flag&=QName::tokenizer().insert(ns, "leader-char") == NS_style::LN_leader_char;
- flag&=QName::tokenizer().insert(ns, "type") == NS_style::LN_type;
- flag&=QName::tokenizer().insert(ns, "position") == NS_style::LN_position;
- flag&=QName::tokenizer().insert(ns, "family") == NS_style::LN_family;
- flag&=QName::tokenizer().insert(ns, "font-size-asian") == NS_style::LN_font_size_asian;
- flag&=QName::tokenizer().insert(ns, "font-size-complex") == NS_style::LN_font_size_complex;
- flag&=QName::tokenizer().insert(ns, "font-size-rel") == NS_style::LN_font_size_rel;
- flag&=QName::tokenizer().insert(ns, "font-size-rel-asian") == NS_style::LN_font_size_rel_asian;
- flag&=QName::tokenizer().insert(ns, "font-size-rel-complex") == NS_style::LN_font_size_rel_complex;
- flag&=QName::tokenizer().insert(ns, "script-type") == NS_style::LN_script_type;
- flag&=QName::tokenizer().insert(ns, "language-asian") == NS_style::LN_language_asian;
- flag&=QName::tokenizer().insert(ns, "language-complex") == NS_style::LN_language_complex;
- flag&=QName::tokenizer().insert(ns, "graphic-properties") == NS_style::LN_graphic_properties;
- flag&=QName::tokenizer().insert(ns, "country-asian") == NS_style::LN_country_asian;
- flag&=QName::tokenizer().insert(ns, "drawing-page-properties") == NS_style::LN_drawing_page_properties;
- flag&=QName::tokenizer().insert(ns, "country-complex") == NS_style::LN_country_complex;
- flag&=QName::tokenizer().insert(ns, "font-style-asian") == NS_style::LN_font_style_asian;
- flag&=QName::tokenizer().insert(ns, "font-style-complex") == NS_style::LN_font_style_complex;
- flag&=QName::tokenizer().insert(ns, "font-relief") == NS_style::LN_font_relief;
- flag&=QName::tokenizer().insert(ns, "text-underline-type") == NS_style::LN_text_underline_type;
- flag&=QName::tokenizer().insert(ns, "text-underline-style") == NS_style::LN_text_underline_style;
- flag&=QName::tokenizer().insert(ns, "text-underline-width") == NS_style::LN_text_underline_width;
- flag&=QName::tokenizer().insert(ns, "text-underline-color") == NS_style::LN_text_underline_color;
- flag&=QName::tokenizer().insert(ns, "font-weight-asian") == NS_style::LN_font_weight_asian;
- flag&=QName::tokenizer().insert(ns, "font-weight-complex") == NS_style::LN_font_weight_complex;
- flag&=QName::tokenizer().insert(ns, "text-underline-mode") == NS_style::LN_text_underline_mode;
- flag&=QName::tokenizer().insert(ns, "text-line-through-mode") == NS_style::LN_text_line_through_mode;
- flag&=QName::tokenizer().insert(ns, "letter-kerning") == NS_style::LN_letter_kerning;
- flag&=QName::tokenizer().insert(ns, "text-blinking") == NS_style::LN_text_blinking;
- flag&=QName::tokenizer().insert(ns, "text-combine") == NS_style::LN_text_combine;
- flag&=QName::tokenizer().insert(ns, "text-combine-start-char") == NS_style::LN_text_combine_start_char;
- flag&=QName::tokenizer().insert(ns, "text-combine-end-char") == NS_style::LN_text_combine_end_char;
- flag&=QName::tokenizer().insert(ns, "text-emphasize") == NS_style::LN_text_emphasize;
- flag&=QName::tokenizer().insert(ns, "text-scale") == NS_style::LN_text_scale;
- flag&=QName::tokenizer().insert(ns, "text-rotation-angle") == NS_style::LN_text_rotation_angle;
- flag&=QName::tokenizer().insert(ns, "text-rotation-scale") == NS_style::LN_text_rotation_scale;
- flag&=QName::tokenizer().insert(ns, "presentation-page-layout") == NS_style::LN_presentation_page_layout;
- flag&=QName::tokenizer().insert(ns, "page-layout-properties") == NS_style::LN_page_layout_properties;
- flag&=QName::tokenizer().insert(ns, "paragraph-properties") == NS_style::LN_paragraph_properties;
- flag&=QName::tokenizer().insert(ns, "paper-tray-name") == NS_style::LN_paper_tray_name;
- flag&=QName::tokenizer().insert(ns, "print-orientation") == NS_style::LN_print_orientation;
- flag&=QName::tokenizer().insert(ns, "line-height-at-least") == NS_style::LN_line_height_at_least;
- flag&=QName::tokenizer().insert(ns, "register-truth-ref-style-name") == NS_style::LN_register_truth_ref_style_name;
- flag&=QName::tokenizer().insert(ns, "line-spacing") == NS_style::LN_line_spacing;
- flag&=QName::tokenizer().insert(ns, "print") == NS_style::LN_print;
- flag&=QName::tokenizer().insert(ns, "print-page-order") == NS_style::LN_print_page_order;
- flag&=QName::tokenizer().insert(ns, "font-independent-line-spacing") == NS_style::LN_font_independent_line_spacing;
- flag&=QName::tokenizer().insert(ns, "first-page-number") == NS_style::LN_first_page_number;
- flag&=QName::tokenizer().insert(ns, "scale-to") == NS_style::LN_scale_to;
- flag&=QName::tokenizer().insert(ns, "scale-to-pages") == NS_style::LN_scale_to_pages;
- flag&=QName::tokenizer().insert(ns, "justify-single-word") == NS_style::LN_justify_single_word;
- flag&=QName::tokenizer().insert(ns, "table-centering") == NS_style::LN_table_centering;
- flag&=QName::tokenizer().insert(ns, "footnote-max-height") == NS_style::LN_footnote_max_height;
- flag&=QName::tokenizer().insert(ns, "footnote-sep") == NS_style::LN_footnote_sep;
- flag&=QName::tokenizer().insert(ns, "width") == NS_style::LN_width;
- flag&=QName::tokenizer().insert(ns, "tab-stops") == NS_style::LN_tab_stops;
- flag&=QName::tokenizer().insert(ns, "color") == NS_style::LN_color;
- flag&=QName::tokenizer().insert(ns, "tab-stop") == NS_style::LN_tab_stop;
- flag&=QName::tokenizer().insert(ns, "char") == NS_style::LN_char;
- flag&=QName::tokenizer().insert(ns, "line-style") == NS_style::LN_line_style;
- flag&=QName::tokenizer().insert(ns, "leader-type") == NS_style::LN_leader_type;
- flag&=QName::tokenizer().insert(ns, "adjustment") == NS_style::LN_adjustment;
- flag&=QName::tokenizer().insert(ns, "leader-style") == NS_style::LN_leader_style;
- flag&=QName::tokenizer().insert(ns, "distance-before-sep") == NS_style::LN_distance_before_sep;
- flag&=QName::tokenizer().insert(ns, "leader-width") == NS_style::LN_leader_width;
- flag&=QName::tokenizer().insert(ns, "distance-after-sep") == NS_style::LN_distance_after_sep;
- flag&=QName::tokenizer().insert(ns, "leader-color") == NS_style::LN_leader_color;
- flag&=QName::tokenizer().insert(ns, "layout-grid-mode") == NS_style::LN_layout_grid_mode;
- flag&=QName::tokenizer().insert(ns, "leader-text") == NS_style::LN_leader_text;
- flag&=QName::tokenizer().insert(ns, "leader-text-style") == NS_style::LN_leader_text_style;
- flag&=QName::tokenizer().insert(ns, "layout-grid-base-height") == NS_style::LN_layout_grid_base_height;
- flag&=QName::tokenizer().insert(ns, "tab-stop-distance") == NS_style::LN_tab_stop_distance;
- flag&=QName::tokenizer().insert(ns, "layout-grid-ruby-height") == NS_style::LN_layout_grid_ruby_height;
- flag&=QName::tokenizer().insert(ns, "layout-grid-lines") == NS_style::LN_layout_grid_lines;
- flag&=QName::tokenizer().insert(ns, "layout-grid-color") == NS_style::LN_layout_grid_color;
- flag&=QName::tokenizer().insert(ns, "drop-cap") == NS_style::LN_drop_cap;
- flag&=QName::tokenizer().insert(ns, "length") == NS_style::LN_length;
- flag&=QName::tokenizer().insert(ns, "layout-grid-ruby-below") == NS_style::LN_layout_grid_ruby_below;
- flag&=QName::tokenizer().insert(ns, "lines") == NS_style::LN_lines;
- flag&=QName::tokenizer().insert(ns, "distance") == NS_style::LN_distance;
- flag&=QName::tokenizer().insert(ns, "layout-grid-print") == NS_style::LN_layout_grid_print;
- flag&=QName::tokenizer().insert(ns, "style-name") == NS_style::LN_style_name;
- flag&=QName::tokenizer().insert(ns, "register-true") == NS_style::LN_register_true;
- flag&=QName::tokenizer().insert(ns, "layout-grid-display") == NS_style::LN_layout_grid_display;
- flag&=QName::tokenizer().insert(ns, "header-footer-properties") == NS_style::LN_header_footer_properties;
- flag&=QName::tokenizer().insert(ns, "dynamic-spacing") == NS_style::LN_dynamic_spacing;
- flag&=QName::tokenizer().insert(ns, "auto-text-indent") == NS_style::LN_auto_text_indent;
- flag&=QName::tokenizer().insert(ns, "text-properties") == NS_style::LN_text_properties;
- flag&=QName::tokenizer().insert(ns, "use-window-font-color") == NS_style::LN_use_window_font_color;
- flag&=QName::tokenizer().insert(ns, "text-outline") == NS_style::LN_text_outline;
- flag&=QName::tokenizer().insert(ns, "text-line-through-type") == NS_style::LN_text_line_through_type;
- flag&=QName::tokenizer().insert(ns, "background-image") == NS_style::LN_background_image;
- flag&=QName::tokenizer().insert(ns, "text-line-through-style") == NS_style::LN_text_line_through_style;
- flag&=QName::tokenizer().insert(ns, "repeat") == NS_style::LN_repeat;
- flag&=QName::tokenizer().insert(ns, "filter-name") == NS_style::LN_filter_name;
- flag&=QName::tokenizer().insert(ns, "text-line-through-width") == NS_style::LN_text_line_through_width;
- flag&=QName::tokenizer().insert(ns, "text-line-through-color") == NS_style::LN_text_line_through_color;
- flag&=QName::tokenizer().insert(ns, "text-line-through-text") == NS_style::LN_text_line_through_text;
- flag&=QName::tokenizer().insert(ns, "text-line-through-text-style") == NS_style::LN_text_line_through_text_style;
- flag&=QName::tokenizer().insert(ns, "border-line-width") == NS_style::LN_border_line_width;
- flag&=QName::tokenizer().insert(ns, "text-position") == NS_style::LN_text_position;
- flag&=QName::tokenizer().insert(ns, "border-line-width-top") == NS_style::LN_border_line_width_top;
- flag&=QName::tokenizer().insert(ns, "font-name") == NS_style::LN_font_name;
- flag&=QName::tokenizer().insert(ns, "border-line-width-bottom") == NS_style::LN_border_line_width_bottom;
- flag&=QName::tokenizer().insert(ns, "font-name-asian") == NS_style::LN_font_name_asian;
- flag&=QName::tokenizer().insert(ns, "font-name-complex") == NS_style::LN_font_name_complex;
- flag&=QName::tokenizer().insert(ns, "border-line-width-left") == NS_style::LN_border_line_width_left;
- flag&=QName::tokenizer().insert(ns, "font-family-asian") == NS_style::LN_font_family_asian;
- flag&=QName::tokenizer().insert(ns, "border-line-width-right") == NS_style::LN_border_line_width_right;
- flag&=QName::tokenizer().insert(ns, "font-family-complex") == NS_style::LN_font_family_complex;
- flag&=QName::tokenizer().insert(ns, "data-style-name") == NS_style::LN_data_style_name;
- flag&=QName::tokenizer().insert(ns, "font-family-generic-asian") == NS_style::LN_font_family_generic_asian;
- flag&=QName::tokenizer().insert(ns, "font-family-generic-complex") == NS_style::LN_font_family_generic_complex;
- flag&=QName::tokenizer().insert(ns, "shadow") == NS_style::LN_shadow;
- flag&=QName::tokenizer().insert(ns, "font-style-name") == NS_style::LN_font_style_name;
- flag&=QName::tokenizer().insert(ns, "font-style-name-asian") == NS_style::LN_font_style_name_asian;
- flag&=QName::tokenizer().insert(ns, "font-style-name-complex") == NS_style::LN_font_style_name_complex;
- flag&=QName::tokenizer().insert(ns, "text-autospace") == NS_style::LN_text_autospace;
- flag&=QName::tokenizer().insert(ns, "font-pitch-asian") == NS_style::LN_font_pitch_asian;
- flag&=QName::tokenizer().insert(ns, "punctuation-wrap") == NS_style::LN_punctuation_wrap;
- flag&=QName::tokenizer().insert(ns, "line-break") == NS_style::LN_line_break;
- flag&=QName::tokenizer().insert(ns, "font-pitch-complex") == NS_style::LN_font_pitch_complex;
- flag&=QName::tokenizer().insert(ns, "vertical-align") == NS_style::LN_vertical_align;
- flag&=QName::tokenizer().insert(ns, "writing-mode") == NS_style::LN_writing_mode;
- flag&=QName::tokenizer().insert(ns, "writing-mode-automatic") == NS_style::LN_writing_mode_automatic;
- flag&=QName::tokenizer().insert(ns, "snap-to-layout-grid") == NS_style::LN_snap_to_layout_grid;
- flag&=QName::tokenizer().insert(ns, "page-number") == NS_style::LN_page_number;
- flag&=QName::tokenizer().insert(ns, "background-transparency") == NS_style::LN_background_transparency;
- flag&=QName::tokenizer().insert(ns, "ruby-properties") == NS_style::LN_ruby_properties;
- flag&=QName::tokenizer().insert(ns, "ruby-position") == NS_style::LN_ruby_position;
- flag&=QName::tokenizer().insert(ns, "ruby-align") == NS_style::LN_ruby_align;
- flag&=QName::tokenizer().insert(ns, "section-properties") == NS_style::LN_section_properties;
- flag&=QName::tokenizer().insert(ns, "columns") == NS_style::LN_columns;
- flag&=QName::tokenizer().insert(ns, "column") == NS_style::LN_column;
- flag&=QName::tokenizer().insert(ns, "column-sep") == NS_style::LN_column_sep;
- flag&=QName::tokenizer().insert(ns, "height") == NS_style::LN_height;
- flag&=QName::tokenizer().insert(ns, "protect") == NS_style::LN_protect;
- flag&=QName::tokenizer().insert(ns, "table-properties") == NS_style::LN_table_properties;
- flag&=QName::tokenizer().insert(ns, "may-break-between-rows") == NS_style::LN_may_break_between_rows;
- flag&=QName::tokenizer().insert(ns, "table-column-properties") == NS_style::LN_table_column_properties;
- flag&=QName::tokenizer().insert(ns, "column-width") == NS_style::LN_column_width;
- flag&=QName::tokenizer().insert(ns, "rel-column-width") == NS_style::LN_rel_column_width;
- flag&=QName::tokenizer().insert(ns, "use-optimal-column-width") == NS_style::LN_use_optimal_column_width;
- flag&=QName::tokenizer().insert(ns, "table-row-properties") == NS_style::LN_table_row_properties;
- flag&=QName::tokenizer().insert(ns, "row-height") == NS_style::LN_row_height;
- flag&=QName::tokenizer().insert(ns, "min-row-height") == NS_style::LN_min_row_height;
- flag&=QName::tokenizer().insert(ns, "use-optimal-row-height") == NS_style::LN_use_optimal_row_height;
- flag&=QName::tokenizer().insert(ns, "table-cell-properties") == NS_style::LN_table_cell_properties;
- flag&=QName::tokenizer().insert(ns, "text-align-source") == NS_style::LN_text_align_source;
- flag&=QName::tokenizer().insert(ns, "direction") == NS_style::LN_direction;
- flag&=QName::tokenizer().insert(ns, "glyph-orientation-vertical") == NS_style::LN_glyph_orientation_vertical;
- flag&=QName::tokenizer().insert(ns, "diagonal-tl-br") == NS_style::LN_diagonal_tl_br;
- flag&=QName::tokenizer().insert(ns, "diagonal-tl-br-widths") == NS_style::LN_diagonal_tl_br_widths;
- flag&=QName::tokenizer().insert(ns, "diagonal-bl-tr") == NS_style::LN_diagonal_bl_tr;
- flag&=QName::tokenizer().insert(ns, "diagonal-bl-tr-widths") == NS_style::LN_diagonal_bl_tr_widths;
- flag&=QName::tokenizer().insert(ns, "rotation-angle") == NS_style::LN_rotation_angle;
- flag&=QName::tokenizer().insert(ns, "rotation-align") == NS_style::LN_rotation_align;
- flag&=QName::tokenizer().insert(ns, "cell-protect") == NS_style::LN_cell_protect;
- flag&=QName::tokenizer().insert(ns, "print-content") == NS_style::LN_print_content;
- flag&=QName::tokenizer().insert(ns, "decimal-places") == NS_style::LN_decimal_places;
- flag&=QName::tokenizer().insert(ns, "repeat-content") == NS_style::LN_repeat_content;
- flag&=QName::tokenizer().insert(ns, "shrink-to-fit") == NS_style::LN_shrink_to_fit;
- flag&=QName::tokenizer().insert(ns, "list-level-properties") == NS_style::LN_list_level_properties;
- flag&=QName::tokenizer().insert(ns, "handout-master") == NS_style::LN_handout_master;
- flag&=QName::tokenizer().insert(ns, "page-layout-name") == NS_style::LN_page_layout_name;
- flag&=QName::tokenizer().insert(ns, "legend-expansion") == NS_style::LN_legend_expansion;
- flag&=QName::tokenizer().insert(ns, "legend-expansion-aspect-ratio") == NS_style::LN_legend_expansion_aspect_ratio;
- flag&=QName::tokenizer().insert(ns, "rel-width") == NS_style::LN_rel_width;
- flag&=QName::tokenizer().insert(ns, "rel-height") == NS_style::LN_rel_height;
- flag&=QName::tokenizer().insert(ns, "horizontal-pos") == NS_style::LN_horizontal_pos;
- flag&=QName::tokenizer().insert(ns, "horizontal-rel") == NS_style::LN_horizontal_rel;
- flag&=QName::tokenizer().insert(ns, "vertical-pos") == NS_style::LN_vertical_pos;
- flag&=QName::tokenizer().insert(ns, "vertical-rel") == NS_style::LN_vertical_rel;
- flag&=QName::tokenizer().insert(ns, "editable") == NS_style::LN_editable;
- flag&=QName::tokenizer().insert(ns, "wrap") == NS_style::LN_wrap;
- flag&=QName::tokenizer().insert(ns, "wrap-dynamic-treshold") == NS_style::LN_wrap_dynamic_treshold;
- flag&=QName::tokenizer().insert(ns, "number-wrapped-paragraphs") == NS_style::LN_number_wrapped_paragraphs;
- flag&=QName::tokenizer().insert(ns, "wrap-contour") == NS_style::LN_wrap_contour;
- flag&=QName::tokenizer().insert(ns, "wrap-contour-mode") == NS_style::LN_wrap_contour_mode;
- flag&=QName::tokenizer().insert(ns, "run-through") == NS_style::LN_run_through;
- flag&=QName::tokenizer().insert(ns, "flow-with-text") == NS_style::LN_flow_with_text;
- flag&=QName::tokenizer().insert(ns, "overflow-behavior") == NS_style::LN_overflow_behavior;
- flag&=QName::tokenizer().insert(ns, "mirror") == NS_style::LN_mirror;
- CPPUNIT_ASSERT_MESSAGE("test for namespace style failed", flag);}
- void test_fo(){
- bool flag=true;
- static const char ns[] = "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0";
- flag&=QName::tokenizer().insert(ns, "clip") == NS_fo::LN_clip;
- flag&=QName::tokenizer().insert(ns, "language") == NS_fo::LN_language;
- flag&=QName::tokenizer().insert(ns, "country") == NS_fo::LN_country;
- flag&=QName::tokenizer().insert(ns, "font-size") == NS_fo::LN_font_size;
- flag&=QName::tokenizer().insert(ns, "letter-spacing") == NS_fo::LN_letter_spacing;
- flag&=QName::tokenizer().insert(ns, "font-style") == NS_fo::LN_font_style;
- flag&=QName::tokenizer().insert(ns, "text-shadow") == NS_fo::LN_text_shadow;
- flag&=QName::tokenizer().insert(ns, "font-weight") == NS_fo::LN_font_weight;
- flag&=QName::tokenizer().insert(ns, "hyphenate") == NS_fo::LN_hyphenate;
- flag&=QName::tokenizer().insert(ns, "hyphenation-remain-char-count") == NS_fo::LN_hyphenation_remain_char_count;
- flag&=QName::tokenizer().insert(ns, "page-width") == NS_fo::LN_page_width;
- flag&=QName::tokenizer().insert(ns, "hyphenation-push-char-count") == NS_fo::LN_hyphenation_push_char_count;
- flag&=QName::tokenizer().insert(ns, "page-height") == NS_fo::LN_page_height;
- flag&=QName::tokenizer().insert(ns, "line-height") == NS_fo::LN_line_height;
- flag&=QName::tokenizer().insert(ns, "text-align") == NS_fo::LN_text_align;
- flag&=QName::tokenizer().insert(ns, "text-align-last") == NS_fo::LN_text_align_last;
- flag&=QName::tokenizer().insert(ns, "keep-together") == NS_fo::LN_keep_together;
- flag&=QName::tokenizer().insert(ns, "widows") == NS_fo::LN_widows;
- flag&=QName::tokenizer().insert(ns, "orphans") == NS_fo::LN_orphans;
- flag&=QName::tokenizer().insert(ns, "hyphenation-keep") == NS_fo::LN_hyphenation_keep;
- flag&=QName::tokenizer().insert(ns, "hyphenation-ladder-count") == NS_fo::LN_hyphenation_ladder_count;
- flag&=QName::tokenizer().insert(ns, "margin-left") == NS_fo::LN_margin_left;
- flag&=QName::tokenizer().insert(ns, "margin-right") == NS_fo::LN_margin_right;
- flag&=QName::tokenizer().insert(ns, "text-indent") == NS_fo::LN_text_indent;
- flag&=QName::tokenizer().insert(ns, "font-variant") == NS_fo::LN_font_variant;
- flag&=QName::tokenizer().insert(ns, "margin-top") == NS_fo::LN_margin_top;
- flag&=QName::tokenizer().insert(ns, "text-transform") == NS_fo::LN_text_transform;
- flag&=QName::tokenizer().insert(ns, "color") == NS_fo::LN_color;
- flag&=QName::tokenizer().insert(ns, "margin-bottom") == NS_fo::LN_margin_bottom;
- flag&=QName::tokenizer().insert(ns, "margin") == NS_fo::LN_margin;
- flag&=QName::tokenizer().insert(ns, "break-before") == NS_fo::LN_break_before;
- flag&=QName::tokenizer().insert(ns, "break-after") == NS_fo::LN_break_after;
- flag&=QName::tokenizer().insert(ns, "background-color") == NS_fo::LN_background_color;
- flag&=QName::tokenizer().insert(ns, "border") == NS_fo::LN_border;
- flag&=QName::tokenizer().insert(ns, "border-top") == NS_fo::LN_border_top;
- flag&=QName::tokenizer().insert(ns, "border-bottom") == NS_fo::LN_border_bottom;
- flag&=QName::tokenizer().insert(ns, "border-left") == NS_fo::LN_border_left;
- flag&=QName::tokenizer().insert(ns, "border-right") == NS_fo::LN_border_right;
- flag&=QName::tokenizer().insert(ns, "font-family") == NS_fo::LN_font_family;
- flag&=QName::tokenizer().insert(ns, "padding") == NS_fo::LN_padding;
- flag&=QName::tokenizer().insert(ns, "padding-top") == NS_fo::LN_padding_top;
- flag&=QName::tokenizer().insert(ns, "padding-bottom") == NS_fo::LN_padding_bottom;
- flag&=QName::tokenizer().insert(ns, "padding-left") == NS_fo::LN_padding_left;
- flag&=QName::tokenizer().insert(ns, "padding-right") == NS_fo::LN_padding_right;
- flag&=QName::tokenizer().insert(ns, "keep-with-next") == NS_fo::LN_keep_with_next;
- flag&=QName::tokenizer().insert(ns, "column-count") == NS_fo::LN_column_count;
- flag&=QName::tokenizer().insert(ns, "column-gap") == NS_fo::LN_column_gap;
- flag&=QName::tokenizer().insert(ns, "start-indent") == NS_fo::LN_start_indent;
- flag&=QName::tokenizer().insert(ns, "end-indent") == NS_fo::LN_end_indent;
- flag&=QName::tokenizer().insert(ns, "space-before") == NS_fo::LN_space_before;
- flag&=QName::tokenizer().insert(ns, "space-after") == NS_fo::LN_space_after;
- flag&=QName::tokenizer().insert(ns, "wrap-option") == NS_fo::LN_wrap_option;
- flag&=QName::tokenizer().insert(ns, "width") == NS_fo::LN_width;
- flag&=QName::tokenizer().insert(ns, "height") == NS_fo::LN_height;
- flag&=QName::tokenizer().insert(ns, "min-height") == NS_fo::LN_min_height;
- flag&=QName::tokenizer().insert(ns, "min-width") == NS_fo::LN_min_width;
- flag&=QName::tokenizer().insert(ns, "max-height") == NS_fo::LN_max_height;
- flag&=QName::tokenizer().insert(ns, "max-width") == NS_fo::LN_max_width;
- CPPUNIT_ASSERT_MESSAGE("test for namespace fo failed", flag);}
- void test_xforms(){
- bool flag=true;
- static const char ns[] = "http://www.w3.org/2002/xforms";
- flag&=QName::tokenizer().insert(ns, "model") == NS_xforms::LN_model;
- flag&=QName::tokenizer().insert(ns, "bind") == NS_xforms::LN_bind;
- CPPUNIT_ASSERT_MESSAGE("test for namespace xforms failed", flag);}
- void test_draw(){
- bool flag=true;
- static const char ns[] = "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0";
- flag&=QName::tokenizer().insert(ns, "wrap-influence-on-position") == NS_draw::LN_wrap_influence_on_position;
- flag&=QName::tokenizer().insert(ns, "frame-display-scrollbar") == NS_draw::LN_frame_display_scrollbar;
- flag&=QName::tokenizer().insert(ns, "frame-display-border") == NS_draw::LN_frame_display_border;
- flag&=QName::tokenizer().insert(ns, "frame-margin-horizontal") == NS_draw::LN_frame_margin_horizontal;
- flag&=QName::tokenizer().insert(ns, "frame-margin-vertical") == NS_draw::LN_frame_margin_vertical;
- flag&=QName::tokenizer().insert(ns, "visible-area-left") == NS_draw::LN_visible_area_left;
- flag&=QName::tokenizer().insert(ns, "visible-area-top") == NS_draw::LN_visible_area_top;
- flag&=QName::tokenizer().insert(ns, "visible-area-width") == NS_draw::LN_visible_area_width;
- flag&=QName::tokenizer().insert(ns, "visible-area-height") == NS_draw::LN_visible_area_height;
- flag&=QName::tokenizer().insert(ns, "ole-draw-aspect") == NS_draw::LN_ole_draw_aspect;
- flag&=QName::tokenizer().insert(ns, "custom-shape") == NS_draw::LN_custom_shape;
- flag&=QName::tokenizer().insert(ns, "engine") == NS_draw::LN_engine;
- flag&=QName::tokenizer().insert(ns, "data") == NS_draw::LN_data;
- flag&=QName::tokenizer().insert(ns, "enhanced-geometry") == NS_draw::LN_enhanced_geometry;
- flag&=QName::tokenizer().insert(ns, "mirror-vertical") == NS_draw::LN_mirror_vertical;
- flag&=QName::tokenizer().insert(ns, "mirror-horizontal") == NS_draw::LN_mirror_horizontal;
- flag&=QName::tokenizer().insert(ns, "text-rotate-angle") == NS_draw::LN_text_rotate_angle;
- flag&=QName::tokenizer().insert(ns, "extrusion-allowed") == NS_draw::LN_extrusion_allowed;
- flag&=QName::tokenizer().insert(ns, "text-path-allowed") == NS_draw::LN_text_path_allowed;
- flag&=QName::tokenizer().insert(ns, "concentric-gradient-fill-allowed") == NS_draw::LN_concentric_gradient_fill_allowed;
- flag&=QName::tokenizer().insert(ns, "extrusion") == NS_draw::LN_extrusion;
- flag&=QName::tokenizer().insert(ns, "extrusion-brightness") == NS_draw::LN_extrusion_brightness;
- flag&=QName::tokenizer().insert(ns, "extrusion-depth") == NS_draw::LN_extrusion_depth;
- flag&=QName::tokenizer().insert(ns, "extrusion-diffusion") == NS_draw::LN_extrusion_diffusion;
- flag&=QName::tokenizer().insert(ns, "extrusion-number-of-line-segments") == NS_draw::LN_extrusion_number_of_line_segments;
- flag&=QName::tokenizer().insert(ns, "extrusion-light-face") == NS_draw::LN_extrusion_light_face;
- flag&=QName::tokenizer().insert(ns, "extrusion-first-light-harsh") == NS_draw::LN_extrusion_first_light_harsh;
- flag&=QName::tokenizer().insert(ns, "extrusion-second-light-harsh") == NS_draw::LN_extrusion_second_light_harsh;
- flag&=QName::tokenizer().insert(ns, "extrusion-first-light-level") == NS_draw::LN_extrusion_first_light_level;
- flag&=QName::tokenizer().insert(ns, "extrusion-second-light-level") == NS_draw::LN_extrusion_second_light_level;
- flag&=QName::tokenizer().insert(ns, "extrusion-first-light-direction") == NS_draw::LN_extrusion_first_light_direction;
- flag&=QName::tokenizer().insert(ns, "extrusion-second-light-direction") == NS_draw::LN_extrusion_second_light_direction;
- flag&=QName::tokenizer().insert(ns, "extrusion-metal") == NS_draw::LN_extrusion_metal;
- flag&=QName::tokenizer().insert(ns, "extrusion-rotation-angle") == NS_draw::LN_extrusion_rotation_angle;
- flag&=QName::tokenizer().insert(ns, "extrusion-rotation-center") == NS_draw::LN_extrusion_rotation_center;
- flag&=QName::tokenizer().insert(ns, "extrusion-shininess") == NS_draw::LN_extrusion_shininess;
- flag&=QName::tokenizer().insert(ns, "extrusion-skew") == NS_draw::LN_extrusion_skew;
- flag&=QName::tokenizer().insert(ns, "extrusion-specularity") == NS_draw::LN_extrusion_specularity;
- flag&=QName::tokenizer().insert(ns, "extrusion-viewpoint") == NS_draw::LN_extrusion_viewpoint;
- flag&=QName::tokenizer().insert(ns, "extrusion-origin") == NS_draw::LN_extrusion_origin;
- flag&=QName::tokenizer().insert(ns, "extrusion-color") == NS_draw::LN_extrusion_color;
- flag&=QName::tokenizer().insert(ns, "enhanced-path") == NS_draw::LN_enhanced_path;
- flag&=QName::tokenizer().insert(ns, "path-stretchpoint-x") == NS_draw::LN_path_stretchpoint_x;
- flag&=QName::tokenizer().insert(ns, "path-stretchpoint-y") == NS_draw::LN_path_stretchpoint_y;
- flag&=QName::tokenizer().insert(ns, "text-areas") == NS_draw::LN_text_areas;
- flag&=QName::tokenizer().insert(ns, "glue-points") == NS_draw::LN_glue_points;
- flag&=QName::tokenizer().insert(ns, "glue-point-type") == NS_draw::LN_glue_point_type;
- flag&=QName::tokenizer().insert(ns, "glue-point-leaving-directions") == NS_draw::LN_glue_point_leaving_directions;
- flag&=QName::tokenizer().insert(ns, "text-path") == NS_draw::LN_text_path;
- flag&=QName::tokenizer().insert(ns, "text-path-mode") == NS_draw::LN_text_path_mode;
- flag&=QName::tokenizer().insert(ns, "text-path-scale") == NS_draw::LN_text_path_scale;
- flag&=QName::tokenizer().insert(ns, "text-path-same-letter-heights") == NS_draw::LN_text_path_same_letter_heights;
- flag&=QName::tokenizer().insert(ns, "modifiers") == NS_draw::LN_modifiers;
- flag&=QName::tokenizer().insert(ns, "background-size") == NS_draw::LN_background_size;
- flag&=QName::tokenizer().insert(ns, "equation") == NS_draw::LN_equation;
- flag&=QName::tokenizer().insert(ns, "formula") == NS_draw::LN_formula;
- flag&=QName::tokenizer().insert(ns, "handle") == NS_draw::LN_handle;
- flag&=QName::tokenizer().insert(ns, "handle-mirror-vertical") == NS_draw::LN_handle_mirror_vertical;
- flag&=QName::tokenizer().insert(ns, "handle-mirror-horizontal") == NS_draw::LN_handle_mirror_horizontal;
- flag&=QName::tokenizer().insert(ns, "handle-switched") == NS_draw::LN_handle_switched;
- flag&=QName::tokenizer().insert(ns, "handle-position") == NS_draw::LN_handle_position;
- flag&=QName::tokenizer().insert(ns, "handle-range-x-minimum") == NS_draw::LN_handle_range_x_minimum;
- flag&=QName::tokenizer().insert(ns, "handle-range-x-maximum") == NS_draw::LN_handle_range_x_maximum;
- flag&=QName::tokenizer().insert(ns, "handle-range-y-minimum") == NS_draw::LN_handle_range_y_minimum;
- flag&=QName::tokenizer().insert(ns, "handle-range-y-maximum") == NS_draw::LN_handle_range_y_maximum;
- flag&=QName::tokenizer().insert(ns, "handle-polar") == NS_draw::LN_handle_polar;
- flag&=QName::tokenizer().insert(ns, "handle-radius-range-minimum") == NS_draw::LN_handle_radius_range_minimum;
- flag&=QName::tokenizer().insert(ns, "handle-radius-range-maximum") == NS_draw::LN_handle_radius_range_maximum;
- flag&=QName::tokenizer().insert(ns, "gradient") == NS_draw::LN_gradient;
- flag&=QName::tokenizer().insert(ns, "display-name") == NS_draw::LN_display_name;
- flag&=QName::tokenizer().insert(ns, "style") == NS_draw::LN_style;
- flag&=QName::tokenizer().insert(ns, "cx") == NS_draw::LN_cx;
- flag&=QName::tokenizer().insert(ns, "cy") == NS_draw::LN_cy;
- flag&=QName::tokenizer().insert(ns, "start-color") == NS_draw::LN_start_color;
- flag&=QName::tokenizer().insert(ns, "end-color") == NS_draw::LN_end_color;
- flag&=QName::tokenizer().insert(ns, "start-intensity") == NS_draw::LN_start_intensity;
- flag&=QName::tokenizer().insert(ns, "end-intensity") == NS_draw::LN_end_intensity;
- flag&=QName::tokenizer().insert(ns, "angle") == NS_draw::LN_angle;
- flag&=QName::tokenizer().insert(ns, "border") == NS_draw::LN_border;
- flag&=QName::tokenizer().insert(ns, "hatch") == NS_draw::LN_hatch;
- flag&=QName::tokenizer().insert(ns, "distance") == NS_draw::LN_distance;
- flag&=QName::tokenizer().insert(ns, "rotation") == NS_draw::LN_rotation;
- flag&=QName::tokenizer().insert(ns, "fill-image") == NS_draw::LN_fill_image;
- flag&=QName::tokenizer().insert(ns, "opacity") == NS_draw::LN_opacity;
- flag&=QName::tokenizer().insert(ns, "start") == NS_draw::LN_start;
- flag&=QName::tokenizer().insert(ns, "end") == NS_draw::LN_end;
- flag&=QName::tokenizer().insert(ns, "marker") == NS_draw::LN_marker;
- flag&=QName::tokenizer().insert(ns, "stroke-dash") == NS_draw::LN_stroke_dash;
- flag&=QName::tokenizer().insert(ns, "dots1") == NS_draw::LN_dots1;
- flag&=QName::tokenizer().insert(ns, "dots1-length") == NS_draw::LN_dots1_length;
- flag&=QName::tokenizer().insert(ns, "dots2") == NS_draw::LN_dots2;
- flag&=QName::tokenizer().insert(ns, "dots2-length") == NS_draw::LN_dots2_length;
- flag&=QName::tokenizer().insert(ns, "stroke") == NS_draw::LN_stroke;
- flag&=QName::tokenizer().insert(ns, "stroke-dash-names") == NS_draw::LN_stroke_dash_names;
- flag&=QName::tokenizer().insert(ns, "marker-start") == NS_draw::LN_marker_start;
- flag&=QName::tokenizer().insert(ns, "marker-end") == NS_draw::LN_marker_end;
- flag&=QName::tokenizer().insert(ns, "marker-start-width") == NS_draw::LN_marker_start_width;
- flag&=QName::tokenizer().insert(ns, "marker-end-width") == NS_draw::LN_marker_end_width;
- flag&=QName::tokenizer().insert(ns, "marker-start-center") == NS_draw::LN_marker_start_center;
- flag&=QName::tokenizer().insert(ns, "marker-end-center") == NS_draw::LN_marker_end_center;
- flag&=QName::tokenizer().insert(ns, "stroke-linejoin") == NS_draw::LN_stroke_linejoin;
- flag&=QName::tokenizer().insert(ns, "fill") == NS_draw::LN_fill;
- flag&=QName::tokenizer().insert(ns, "fill-color") == NS_draw::LN_fill_color;
- flag&=QName::tokenizer().insert(ns, "secondary-fill-color") == NS_draw::LN_secondary_fill_color;
- flag&=QName::tokenizer().insert(ns, "fill-gradient-name") == NS_draw::LN_fill_gradient_name;
- flag&=QName::tokenizer().insert(ns, "gradient-step-count") == NS_draw::LN_gradient_step_count;
- flag&=QName::tokenizer().insert(ns, "fill-hatch-name") == NS_draw::LN_fill_hatch_name;
- flag&=QName::tokenizer().insert(ns, "fill-hatch-solid") == NS_draw::LN_fill_hatch_solid;
- flag&=QName::tokenizer().insert(ns, "fill-image-name") == NS_draw::LN_fill_image_name;
- flag&=QName::tokenizer().insert(ns, "fill-image-width") == NS_draw::LN_fill_image_width;
- flag&=QName::tokenizer().insert(ns, "fill-image-height") == NS_draw::LN_fill_image_height;
- flag&=QName::tokenizer().insert(ns, "fill-image-ref-point-x") == NS_draw::LN_fill_image_ref_point_x;
- flag&=QName::tokenizer().insert(ns, "fill-image-ref-point-y") == NS_draw::LN_fill_image_ref_point_y;
- flag&=QName::tokenizer().insert(ns, "fill-image-ref-point") == NS_draw::LN_fill_image_ref_point;
- flag&=QName::tokenizer().insert(ns, "tile-repeat-offset") == NS_draw::LN_tile_repeat_offset;
- flag&=QName::tokenizer().insert(ns, "opacity-name") == NS_draw::LN_opacity_name;
- flag&=QName::tokenizer().insert(ns, "symbol-color") == NS_draw::LN_symbol_color;
- flag&=QName::tokenizer().insert(ns, "style-name") == NS_draw::LN_style_name;
- flag&=QName::tokenizer().insert(ns, "layer-set") == NS_draw::LN_layer_set;
- flag&=QName::tokenizer().insert(ns, "layer") == NS_draw::LN_layer;
- flag&=QName::tokenizer().insert(ns, "name") == NS_draw::LN_name;
- flag&=QName::tokenizer().insert(ns, "protected") == NS_draw::LN_protected;
- flag&=QName::tokenizer().insert(ns, "display") == NS_draw::LN_display;
- flag&=QName::tokenizer().insert(ns, "page") == NS_draw::LN_page;
- flag&=QName::tokenizer().insert(ns, "master-page-name") == NS_draw::LN_master_page_name;
- flag&=QName::tokenizer().insert(ns, "shape-id") == NS_draw::LN_shape_id;
- flag&=QName::tokenizer().insert(ns, "auto-grow-width") == NS_draw::LN_auto_grow_width;
- flag&=QName::tokenizer().insert(ns, "auto-grow-height") == NS_draw::LN_auto_grow_height;
- flag&=QName::tokenizer().insert(ns, "id") == NS_draw::LN_id;
- flag&=QName::tokenizer().insert(ns, "fit-to-size") == NS_draw::LN_fit_to_size;
- flag&=QName::tokenizer().insert(ns, "rect") == NS_draw::LN_rect;
- flag&=QName::tokenizer().insert(ns, "fit-to-contour") == NS_draw::LN_fit_to_contour;
- flag&=QName::tokenizer().insert(ns, "corner-radius") == NS_draw::LN_corner_radius;
- flag&=QName::tokenizer().insert(ns, "line") == NS_draw::LN_line;
- flag&=QName::tokenizer().insert(ns, "textarea-vertical-align") == NS_draw::LN_textarea_vertical_align;
- flag&=QName::tokenizer().insert(ns, "color") == NS_draw::LN_color;
- flag&=QName::tokenizer().insert(ns, "textarea-horizontal-align") == NS_draw::LN_textarea_horizontal_align;
- flag&=QName::tokenizer().insert(ns, "color-mode") == NS_draw::LN_color_mode;
- flag&=QName::tokenizer().insert(ns, "polyline") == NS_draw::LN_polyline;
- flag&=QName::tokenizer().insert(ns, "points") == NS_draw::LN_points;
- flag&=QName::tokenizer().insert(ns, "color-inversion") == NS_draw::LN_color_inversion;
- flag&=QName::tokenizer().insert(ns, "polygon") == NS_draw::LN_polygon;
- flag&=QName::tokenizer().insert(ns, "luminance") == NS_draw::LN_luminance;
- flag&=QName::tokenizer().insert(ns, "regular-polygon") == NS_draw::LN_regular_polygon;
- flag&=QName::tokenizer().insert(ns, "contrast") == NS_draw::LN_contrast;
- flag&=QName::tokenizer().insert(ns, "concave") == NS_draw::LN_concave;
- flag&=QName::tokenizer().insert(ns, "gamma") == NS_draw::LN_gamma;
- flag&=QName::tokenizer().insert(ns, "red") == NS_draw::LN_red;
- flag&=QName::tokenizer().insert(ns, "corners") == NS_draw::LN_corners;
- flag&=QName::tokenizer().insert(ns, "green") == NS_draw::LN_green;
- flag&=QName::tokenizer().insert(ns, "sharpness") == NS_draw::LN_sharpness;
- flag&=QName::tokenizer().insert(ns, "blue") == NS_draw::LN_blue;
- flag&=QName::tokenizer().insert(ns, "path") == NS_draw::LN_path;
- flag&=QName::tokenizer().insert(ns, "image-opacity") == NS_draw::LN_image_opacity;
- flag&=QName::tokenizer().insert(ns, "shadow") == NS_draw::LN_shadow;
- flag&=QName::tokenizer().insert(ns, "circle") == NS_draw::LN_circle;
- flag&=QName::tokenizer().insert(ns, "shadow-offset-x") == NS_draw::LN_shadow_offset_x;
- flag&=QName::tokenizer().insert(ns, "kind") == NS_draw::LN_kind;
- flag&=QName::tokenizer().insert(ns, "shadow-offset-y") == NS_draw::LN_shadow_offset_y;
- flag&=QName::tokenizer().insert(ns, "start-angle") == NS_draw::LN_start_angle;
- flag&=QName::tokenizer().insert(ns, "shadow-color") == NS_draw::LN_shadow_color;
- flag&=QName::tokenizer().insert(ns, "end-angle") == NS_draw::LN_end_angle;
- flag&=QName::tokenizer().insert(ns, "shadow-opacity") == NS_draw::LN_shadow_opacity;
- flag&=QName::tokenizer().insert(ns, "ellipse") == NS_draw::LN_ellipse;
- flag&=QName::tokenizer().insert(ns, "start-line-spacing-horizontal") == NS_draw::LN_start_line_spacing_horizontal;
- flag&=QName::tokenizer().insert(ns, "connector") == NS_draw::LN_connector;
- flag&=QName::tokenizer().insert(ns, "type") == NS_draw::LN_type;
- flag&=QName::tokenizer().insert(ns, "start-shape") == NS_draw::LN_start_shape;
- flag&=QName::tokenizer().insert(ns, "start-line-spacing-vertical") == NS_draw::LN_start_line_spacing_vertical;
- flag&=QName::tokenizer().insert(ns, "start-glue-point") == NS_draw::LN_start_glue_point;
- flag&=QName::tokenizer().insert(ns, "end-line-spacing-horizontal") == NS_draw::LN_end_line_spacing_horizontal;
- flag&=QName::tokenizer().insert(ns, "end-shape") == NS_draw::LN_end_shape;
- flag&=QName::tokenizer().insert(ns, "end-glue-point") == NS_draw::LN_end_glue_point;
- flag&=QName::tokenizer().insert(ns, "end-line-spacing-vertical") == NS_draw::LN_end_line_spacing_vertical;
- flag&=QName::tokenizer().insert(ns, "line-skew") == NS_draw::LN_line_skew;
- flag&=QName::tokenizer().insert(ns, "line-distance") == NS_draw::LN_line_distance;
- flag&=QName::tokenizer().insert(ns, "caption") == NS_draw::LN_caption;
- flag&=QName::tokenizer().insert(ns, "guide-overhang") == NS_draw::LN_guide_overhang;
- flag&=QName::tokenizer().insert(ns, "caption-point-x") == NS_draw::LN_caption_point_x;
- flag&=QName::tokenizer().insert(ns, "guide-distance") == NS_draw::LN_guide_distance;
- flag&=QName::tokenizer().insert(ns, "caption-point-y") == NS_draw::LN_caption_point_y;
- flag&=QName::tokenizer().insert(ns, "measure") == NS_draw::LN_measure;
- flag&=QName::tokenizer().insert(ns, "start-guide") == NS_draw::LN_start_guide;
- flag&=QName::tokenizer().insert(ns, "control") == NS_draw::LN_control;
- flag&=QName::tokenizer().insert(ns, "end-guide") == NS_draw::LN_end_guide;
- flag&=QName::tokenizer().insert(ns, "placing") == NS_draw::LN_placing;
- flag&=QName::tokenizer().insert(ns, "page-thumbnail") == NS_draw::LN_page_thumbnail;
- flag&=QName::tokenizer().insert(ns, "page-number") == NS_draw::LN_page_number;
- flag&=QName::tokenizer().insert(ns, "parallel") == NS_draw::LN_parallel;
- flag&=QName::tokenizer().insert(ns, "g") == NS_draw::LN_g;
- flag&=QName::tokenizer().insert(ns, "measure-align") == NS_draw::LN_measure_align;
- flag&=QName::tokenizer().insert(ns, "measure-vertical-align") == NS_draw::LN_measure_vertical_align;
- flag&=QName::tokenizer().insert(ns, "unit") == NS_draw::LN_unit;
- flag&=QName::tokenizer().insert(ns, "transform") == NS_draw::LN_transform;
- flag&=QName::tokenizer().insert(ns, "show-unit") == NS_draw::LN_show_unit;
- flag&=QName::tokenizer().insert(ns, "decimal-places") == NS_draw::LN_decimal_places;
- flag&=QName::tokenizer().insert(ns, "class-names") == NS_draw::LN_class_names;
- flag&=QName::tokenizer().insert(ns, "caption-type") == NS_draw::LN_caption_type;
- flag&=QName::tokenizer().insert(ns, "text-style-name") == NS_draw::LN_text_style_name;
- flag&=QName::tokenizer().insert(ns, "caption-angle-type") == NS_draw::LN_caption_angle_type;
- flag&=QName::tokenizer().insert(ns, "z-index") == NS_draw::LN_z_index;
- flag&=QName::tokenizer().insert(ns, "caption-angle") == NS_draw::LN_caption_angle;
- flag&=QName::tokenizer().insert(ns, "caption-gap") == NS_draw::LN_caption_gap;
- flag&=QName::tokenizer().insert(ns, "caption-escape-direction") == NS_draw::LN_caption_escape_direction;
- flag&=QName::tokenizer().insert(ns, "caption-escape") == NS_draw::LN_caption_escape;
- flag&=QName::tokenizer().insert(ns, "caption-line-length") == NS_draw::LN_caption_line_length;
- flag&=QName::tokenizer().insert(ns, "glue-point") == NS_draw::LN_glue_point;
- flag&=QName::tokenizer().insert(ns, "caption-fit-line-length") == NS_draw::LN_caption_fit_line_length;
- flag&=QName::tokenizer().insert(ns, "align") == NS_draw::LN_align;
- flag&=QName::tokenizer().insert(ns, "escape-direction") == NS_draw::LN_escape_direction;
- flag&=QName::tokenizer().insert(ns, "frame") == NS_draw::LN_frame;
- flag&=QName::tokenizer().insert(ns, "copy-of") == NS_draw::LN_copy_of;
- flag&=QName::tokenizer().insert(ns, "text-box") == NS_draw::LN_text_box;
- flag&=QName::tokenizer().insert(ns, "chain-next-name") == NS_draw::LN_chain_next_name;
- flag&=QName::tokenizer().insert(ns, "image") == NS_draw::LN_image;
- flag&=QName::tokenizer().insert(ns, "filter-name") == NS_draw::LN_filter_name;
- flag&=QName::tokenizer().insert(ns, "object") == NS_draw::LN_object;
- flag&=QName::tokenizer().insert(ns, "object-ole") == NS_draw::LN_object_ole;
- flag&=QName::tokenizer().insert(ns, "notify-on-update-of-ranges") == NS_draw::LN_notify_on_update_of_ranges;
- flag&=QName::tokenizer().insert(ns, "class-id") == NS_draw::LN_class_id;
- flag&=QName::tokenizer().insert(ns, "applet") == NS_draw::LN_applet;
- flag&=QName::tokenizer().insert(ns, "code") == NS_draw::LN_code;
- flag&=QName::tokenizer().insert(ns, "archive") == NS_draw::LN_archive;
- flag&=QName::tokenizer().insert(ns, "may-script") == NS_draw::LN_may_script;
- flag&=QName::tokenizer().insert(ns, "plugin") == NS_draw::LN_plugin;
- flag&=QName::tokenizer().insert(ns, "mime-type") == NS_draw::LN_mime_type;
- flag&=QName::tokenizer().insert(ns, "param") == NS_draw::LN_param;
- flag&=QName::tokenizer().insert(ns, "value") == NS_draw::LN_value;
- flag&=QName::tokenizer().insert(ns, "floating-frame") == NS_draw::LN_floating_frame;
- flag&=QName::tokenizer().insert(ns, "frame-name") == NS_draw::LN_frame_name;
- flag&=QName::tokenizer().insert(ns, "contour-polygon") == NS_draw::LN_contour_polygon;
- flag&=QName::tokenizer().insert(ns, "contour-path") == NS_draw::LN_contour_path;
- flag&=QName::tokenizer().insert(ns, "recreate-on-edit") == NS_draw::LN_recreate_on_edit;
- flag&=QName::tokenizer().insert(ns, "a") == NS_draw::LN_a;
- flag&=QName::tokenizer().insert(ns, "image-map") == NS_draw::LN_image_map;
- flag&=QName::tokenizer().insert(ns, "area-rectangle") == NS_draw::LN_area_rectangle;
- flag&=QName::tokenizer().insert(ns, "area-circle") == NS_draw::LN_area_circle;
- flag&=QName::tokenizer().insert(ns, "area-polygon") == NS_draw::LN_area_polygon;
- flag&=QName::tokenizer().insert(ns, "nohref") == NS_draw::LN_nohref;
- CPPUNIT_ASSERT_MESSAGE("test for namespace draw failed", flag);}
- void test_prj12(){
- bool flag=true;
- static const char ns[] = "http://schemas.microsoft.com/project";
- flag&=QName::tokenizer().insert(ns, "Type") == NS_prj12::LN_Type;
- flag&=QName::tokenizer().insert(ns, "UID") == NS_prj12::LN_UID;
- flag&=QName::tokenizer().insert(ns, "Start") == NS_prj12::LN_Start;
- flag&=QName::tokenizer().insert(ns, "Finish") == NS_prj12::LN_Finish;
- flag&=QName::tokenizer().insert(ns, "Unit") == NS_prj12::LN_Unit;
- flag&=QName::tokenizer().insert(ns, "Value") == NS_prj12::LN_Value;
- flag&=QName::tokenizer().insert(ns, "Project") == NS_prj12::LN_Project;
- flag&=QName::tokenizer().insert(ns, "Name") == NS_prj12::LN_Name;
- flag&=QName::tokenizer().insert(ns, "Title") == NS_prj12::LN_Title;
- flag&=QName::tokenizer().insert(ns, "Subject") == NS_prj12::LN_Subject;
- flag&=QName::tokenizer().insert(ns, "Category") == NS_prj12::LN_Category;
- flag&=QName::tokenizer().insert(ns, "Company") == NS_prj12::LN_Company;
- flag&=QName::tokenizer().insert(ns, "Manager") == NS_prj12::LN_Manager;
- flag&=QName::tokenizer().insert(ns, "Author") == NS_prj12::LN_Author;
- flag&=QName::tokenizer().insert(ns, "CreationDate") == NS_prj12::LN_CreationDate;
- flag&=QName::tokenizer().insert(ns, "Revision") == NS_prj12::LN_Revision;
- flag&=QName::tokenizer().insert(ns, "LastSaved") == NS_prj12::LN_LastSaved;
- flag&=QName::tokenizer().insert(ns, "ScheduleFromStart") == NS_prj12::LN_ScheduleFromStart;
- flag&=QName::tokenizer().insert(ns, "StartDate") == NS_prj12::LN_StartDate;
- flag&=QName::tokenizer().insert(ns, "FinishDate") == NS_prj12::LN_FinishDate;
- flag&=QName::tokenizer().insert(ns, "FYStartDate") == NS_prj12::LN_FYStartDate;
- flag&=QName::tokenizer().insert(ns, "CriticalSlackLimit") == NS_prj12::LN_CriticalSlackLimit;
- flag&=QName::tokenizer().insert(ns, "CurrencyDigits") == NS_prj12::LN_CurrencyDigits;
- flag&=QName::tokenizer().insert(ns, "CurrencySymbol") == NS_prj12::LN_CurrencySymbol;
- flag&=QName::tokenizer().insert(ns, "CurrencySymbolPosition") == NS_prj12::LN_CurrencySymbolPosition;
- flag&=QName::tokenizer().insert(ns, "CalendarUID") == NS_prj12::LN_CalendarUID;
- flag&=QName::tokenizer().insert(ns, "DefaultStartTime") == NS_prj12::LN_DefaultStartTime;
- flag&=QName::tokenizer().insert(ns, "DefaultFinishTime") == NS_prj12::LN_DefaultFinishTime;
- flag&=QName::tokenizer().insert(ns, "MinutesPerDay") == NS_prj12::LN_MinutesPerDay;
- flag&=QName::tokenizer().insert(ns, "MinutesPerWeek") == NS_prj12::LN_MinutesPerWeek;
- flag&=QName::tokenizer().insert(ns, "DaysPerMonth") == NS_prj12::LN_DaysPerMonth;
- flag&=QName::tokenizer().insert(ns, "DefaultTaskType") == NS_prj12::LN_DefaultTaskType;
- flag&=QName::tokenizer().insert(ns, "DefaultFixedCostAccrual") == NS_prj12::LN_DefaultFixedCostAccrual;
- flag&=QName::tokenizer().insert(ns, "DefaultStandardRate") == NS_prj12::LN_DefaultStandardRate;
- flag&=QName::tokenizer().insert(ns, "DefaultOvertimeRate") == NS_prj12::LN_DefaultOvertimeRate;
- flag&=QName::tokenizer().insert(ns, "DurationFormat") == NS_prj12::LN_DurationFormat;
- flag&=QName::tokenizer().insert(ns, "WorkFormat") == NS_prj12::LN_WorkFormat;
- flag&=QName::tokenizer().insert(ns, "EditableActualCosts") == NS_prj12::LN_EditableActualCosts;
- flag&=QName::tokenizer().insert(ns, "HonorConstraints") == NS_prj12::LN_HonorConstraints;
- flag&=QName::tokenizer().insert(ns, "EarnedValueMethod") == NS_prj12::LN_EarnedValueMethod;
- flag&=QName::tokenizer().insert(ns, "InsertedProjectsLikeSummary") == NS_prj12::LN_InsertedProjectsLikeSummary;
- flag&=QName::tokenizer().insert(ns, "MultipleCriticalPaths") == NS_prj12::LN_MultipleCriticalPaths;
- flag&=QName::tokenizer().insert(ns, "NewTasksEffortDriven") == NS_prj12::LN_NewTasksEffortDriven;
- flag&=QName::tokenizer().insert(ns, "NewTasksEstimated") == NS_prj12::LN_NewTasksEstimated;
- flag&=QName::tokenizer().insert(ns, "SplitsInProgressTasks") == NS_prj12::LN_SplitsInProgressTasks;
- flag&=QName::tokenizer().insert(ns, "SpreadActualCost") == NS_prj12::LN_SpreadActualCost;
- flag&=QName::tokenizer().insert(ns, "SpreadPercentComplete") == NS_prj12::LN_SpreadPercentComplete;
- flag&=QName::tokenizer().insert(ns, "TaskUpdatesResource") == NS_prj12::LN_TaskUpdatesResource;
- flag&=QName::tokenizer().insert(ns, "FiscalYearStart") == NS_prj12::LN_FiscalYearStart;
- flag&=QName::tokenizer().insert(ns, "WeekStartDay") == NS_prj12::LN_WeekStartDay;
- flag&=QName::tokenizer().insert(ns, "MoveCompletedEndsBack") == NS_prj12::LN_MoveCompletedEndsBack;
- flag&=QName::tokenizer().insert(ns, "MoveRemainingStartsBack") == NS_prj12::LN_MoveRemainingStartsBack;
- flag&=QName::tokenizer().insert(ns, "MoveRemainingStartsForward") == NS_prj12::LN_MoveRemainingStartsForward;
- flag&=QName::tokenizer().insert(ns, "MoveCompletedEndsForward") == NS_prj12::LN_MoveCompletedEndsForward;
- flag&=QName::tokenizer().insert(ns, "BaselineForEarnedValue") == NS_prj12::LN_BaselineForEarnedValue;
- flag&=QName::tokenizer().insert(ns, "AutoAddNewResourcesAndTasks") == NS_prj12::LN_AutoAddNewResourcesAndTasks;
- flag&=QName::tokenizer().insert(ns, "StatusDate") == NS_prj12::LN_StatusDate;
- flag&=QName::tokenizer().insert(ns, "CurrentDate") == NS_prj12::LN_CurrentDate;
- flag&=QName::tokenizer().insert(ns, "MicrosoftProjectServerURL") == NS_prj12::LN_MicrosoftProjectServerURL;
- flag&=QName::tokenizer().insert(ns, "Autolink") == NS_prj12::LN_Autolink;
- flag&=QName::tokenizer().insert(ns, "NewTaskStartDate") == NS_prj12::LN_NewTaskStartDate;
- flag&=QName::tokenizer().insert(ns, "DefaultTaskEVMethod") == NS_prj12::LN_DefaultTaskEVMethod;
- flag&=QName::tokenizer().insert(ns, "ProjectExternallyEdited") == NS_prj12::LN_ProjectExternallyEdited;
- flag&=QName::tokenizer().insert(ns, "ExtendedCreationDate") == NS_prj12::LN_ExtendedCreationDate;
- flag&=QName::tokenizer().insert(ns, "ActualsInSync") == NS_prj12::LN_ActualsInSync;
- flag&=QName::tokenizer().insert(ns, "RemoveFileProperties") == NS_prj12::LN_RemoveFileProperties;
- flag&=QName::tokenizer().insert(ns, "AdminProject") == NS_prj12::LN_AdminProject;
- flag&=QName::tokenizer().insert(ns, "OutlineCodes") == NS_prj12::LN_OutlineCodes;
- flag&=QName::tokenizer().insert(ns, "OutlineCode") == NS_prj12::LN_OutlineCode;
- flag&=QName::tokenizer().insert(ns, "FieldID") == NS_prj12::LN_FieldID;
- flag&=QName::tokenizer().insert(ns, "FieldName") == NS_prj12::LN_FieldName;
- flag&=QName::tokenizer().insert(ns, "Alias") == NS_prj12::LN_Alias;
- flag&=QName::tokenizer().insert(ns, "PhoneticAlias") == NS_prj12::LN_PhoneticAlias;
- flag&=QName::tokenizer().insert(ns, "Values") == NS_prj12::LN_Values;
- flag&=QName::tokenizer().insert(ns, "ValueID") == NS_prj12::LN_ValueID;
- flag&=QName::tokenizer().insert(ns, "ParentValueID") == NS_prj12::LN_ParentValueID;
- flag&=QName::tokenizer().insert(ns, "Description") == NS_prj12::LN_Description;
- flag&=QName::tokenizer().insert(ns, "Enterprise") == NS_prj12::LN_Enterprise;
- flag&=QName::tokenizer().insert(ns, "EnterpriseOutlineCodeAlias") == NS_prj12::LN_EnterpriseOutlineCodeAlias;
- flag&=QName::tokenizer().insert(ns, "ResourceSubstitutionEnabled") == NS_prj12::LN_ResourceSubstitutionEnabled;
- flag&=QName::tokenizer().insert(ns, "LeafOnly") == NS_prj12::LN_LeafOnly;
- flag&=QName::tokenizer().insert(ns, "AllLevelsRequired") == NS_prj12::LN_AllLevelsRequired;
- flag&=QName::tokenizer().insert(ns, "OnlyTableValuesAllowed") == NS_prj12::LN_OnlyTableValuesAllowed;
- flag&=QName::tokenizer().insert(ns, "Masks") == NS_prj12::LN_Masks;
- flag&=QName::tokenizer().insert(ns, "Mask") == NS_prj12::LN_Mask;
- flag&=QName::tokenizer().insert(ns, "Level") == NS_prj12::LN_Level;
- flag&=QName::tokenizer().insert(ns, "Length") == NS_prj12::LN_Length;
- flag&=QName::tokenizer().insert(ns, "Separator") == NS_prj12::LN_Separator;
- flag&=QName::tokenizer().insert(ns, "WBSMasks") == NS_prj12::LN_WBSMasks;
- flag&=QName::tokenizer().insert(ns, "VerifyUniqueCodes") == NS_prj12::LN_VerifyUniqueCodes;
- flag&=QName::tokenizer().insert(ns, "GenerateCodes") == NS_prj12::LN_GenerateCodes;
- flag&=QName::tokenizer().insert(ns, "Prefix") == NS_prj12::LN_Prefix;
- flag&=QName::tokenizer().insert(ns, "WBSMask") == NS_prj12::LN_WBSMask;
- flag&=QName::tokenizer().insert(ns, "ExtendedAttributes") == NS_prj12::LN_ExtendedAttributes;
- flag&=QName::tokenizer().insert(ns, "ExtendedAttribute") == NS_prj12::LN_ExtendedAttribute;
- flag&=QName::tokenizer().insert(ns, "RollupType") == NS_prj12::LN_RollupType;
- flag&=QName::tokenizer().insert(ns, "CalculationType") == NS_prj12::LN_CalculationType;
- flag&=QName::tokenizer().insert(ns, "Formula") == NS_prj12::LN_Formula;
- flag&=QName::tokenizer().insert(ns, "RestrictValues") == NS_prj12::LN_RestrictValues;
- flag&=QName::tokenizer().insert(ns, "ValuelistSortOrder") == NS_prj12::LN_ValuelistSortOrder;
- flag&=QName::tokenizer().insert(ns, "AppendNewValues") == NS_prj12::LN_AppendNewValues;
- flag&=QName::tokenizer().insert(ns, "Default") == NS_prj12::LN_Default;
- flag&=QName::tokenizer().insert(ns, "ValueList") == NS_prj12::LN_ValueList;
- flag&=QName::tokenizer().insert(ns, "ID") == NS_prj12::LN_ID;
- flag&=QName::tokenizer().insert(ns, "Calendars") == NS_prj12::LN_Calendars;
- flag&=QName::tokenizer().insert(ns, "Calendar") == NS_prj12::LN_Calendar;
- flag&=QName::tokenizer().insert(ns, "IsBaseCalendar") == NS_prj12::LN_IsBaseCalendar;
- flag&=QName::tokenizer().insert(ns, "BaseCalendarUID") == NS_prj12::LN_BaseCalendarUID;
- flag&=QName::tokenizer().insert(ns, "WeekDays") == NS_prj12::LN_WeekDays;
- flag&=QName::tokenizer().insert(ns, "WeekDay") == NS_prj12::LN_WeekDay;
- flag&=QName::tokenizer().insert(ns, "DayType") == NS_prj12::LN_DayType;
- flag&=QName::tokenizer().insert(ns, "DayWorking") == NS_prj12::LN_DayWorking;
- flag&=QName::tokenizer().insert(ns, "TimePeriod") == NS_prj12::LN_TimePeriod;
- flag&=QName::tokenizer().insert(ns, "FromDate") == NS_prj12::LN_FromDate;
- flag&=QName::tokenizer().insert(ns, "ToDate") == NS_prj12::LN_ToDate;
- flag&=QName::tokenizer().insert(ns, "WorkingTimes") == NS_prj12::LN_WorkingTimes;
- flag&=QName::tokenizer().insert(ns, "WorkingTime") == NS_prj12::LN_WorkingTime;
- flag&=QName::tokenizer().insert(ns, "FromTime") == NS_prj12::LN_FromTime;
- flag&=QName::tokenizer().insert(ns, "ToTime") == NS_prj12::LN_ToTime;
- flag&=QName::tokenizer().insert(ns, "Tasks") == NS_prj12::LN_Tasks;
- flag&=QName::tokenizer().insert(ns, "Task") == NS_prj12::LN_Task;
- flag&=QName::tokenizer().insert(ns, "IsNull") == NS_prj12::LN_IsNull;
- flag&=QName::tokenizer().insert(ns, "CreateDate") == NS_prj12::LN_CreateDate;
- flag&=QName::tokenizer().insert(ns, "Contact") == NS_prj12::LN_Contact;
- flag&=QName::tokenizer().insert(ns, "WBS") == NS_prj12::LN_WBS;
- flag&=QName::tokenizer().insert(ns, "WBSLevel") == NS_prj12::LN_WBSLevel;
- flag&=QName::tokenizer().insert(ns, "OutlineNumber") == NS_prj12::LN_OutlineNumber;
- flag&=QName::tokenizer().insert(ns, "OutlineLevel") == NS_prj12::LN_OutlineLevel;
- flag&=QName::tokenizer().insert(ns, "Priority") == NS_prj12::LN_Priority;
- flag&=QName::tokenizer().insert(ns, "Duration") == NS_prj12::LN_Duration;
- flag&=QName::tokenizer().insert(ns, "Work") == NS_prj12::LN_Work;
- flag&=QName::tokenizer().insert(ns, "Stop") == NS_prj12::LN_Stop;
- flag&=QName::tokenizer().insert(ns, "Resume") == NS_prj12::LN_Resume;
- flag&=QName::tokenizer().insert(ns, "ResumeValid") == NS_prj12::LN_ResumeValid;
- flag&=QName::tokenizer().insert(ns, "EffortDriven") == NS_prj12::LN_EffortDriven;
- flag&=QName::tokenizer().insert(ns, "Recurring") == NS_prj12::LN_Recurring;
- flag&=QName::tokenizer().insert(ns, "OverAllocated") == NS_prj12::LN_OverAllocated;
- flag&=QName::tokenizer().insert(ns, "Estimated") == NS_prj12::LN_Estimated;
- flag&=QName::tokenizer().insert(ns, "Milestone") == NS_prj12::LN_Milestone;
- flag&=QName::tokenizer().insert(ns, "Summary") == NS_prj12::LN_Summary;
- flag&=QName::tokenizer().insert(ns, "Critical") == NS_prj12::LN_Critical;
- flag&=QName::tokenizer().insert(ns, "IsSubproject") == NS_prj12::LN_IsSubproject;
- flag&=QName::tokenizer().insert(ns, "IsSubprojectReadOnly") == NS_prj12::LN_IsSubprojectReadOnly;
- flag&=QName::tokenizer().insert(ns, "SubprojectName") == NS_prj12::LN_SubprojectName;
- flag&=QName::tokenizer().insert(ns, "ExternalTask") == NS_prj12::LN_ExternalTask;
- flag&=QName::tokenizer().insert(ns, "ExternalTaskProject") == NS_prj12::LN_ExternalTaskProject;
- flag&=QName::tokenizer().insert(ns, "EarlyStart") == NS_prj12::LN_EarlyStart;
- flag&=QName::tokenizer().insert(ns, "EarlyFinish") == NS_prj12::LN_EarlyFinish;
- flag&=QName::tokenizer().insert(ns, "LateStart") == NS_prj12::LN_LateStart;
- flag&=QName::tokenizer().insert(ns, "LateFinish") == NS_prj12::LN_LateFinish;
- flag&=QName::tokenizer().insert(ns, "StartVariance") == NS_prj12::LN_StartVariance;
- flag&=QName::tokenizer().insert(ns, "FinishVariance") == NS_prj12::LN_FinishVariance;
- flag&=QName::tokenizer().insert(ns, "WorkVariance") == NS_prj12::LN_WorkVariance;
- flag&=QName::tokenizer().insert(ns, "FreeSlack") == NS_prj12::LN_FreeSlack;
- flag&=QName::tokenizer().insert(ns, "TotalSlack") == NS_prj12::LN_TotalSlack;
- flag&=QName::tokenizer().insert(ns, "FixedCost") == NS_prj12::LN_FixedCost;
- flag&=QName::tokenizer().insert(ns, "FixedCostAccrual") == NS_prj12::LN_FixedCostAccrual;
- flag&=QName::tokenizer().insert(ns, "PercentComplete") == NS_prj12::LN_PercentComplete;
- flag&=QName::tokenizer().insert(ns, "PercentWorkComplete") == NS_prj12::LN_PercentWorkComplete;
- flag&=QName::tokenizer().insert(ns, "Cost") == NS_prj12::LN_Cost;
- flag&=QName::tokenizer().insert(ns, "OvertimeCost") == NS_prj12::LN_OvertimeCost;
- flag&=QName::tokenizer().insert(ns, "OvertimeWork") == NS_prj12::LN_OvertimeWork;
- flag&=QName::tokenizer().insert(ns, "ActualStart") == NS_prj12::LN_ActualStart;
- flag&=QName::tokenizer().insert(ns, "ActualFinish") == NS_prj12::LN_ActualFinish;
- flag&=QName::tokenizer().insert(ns, "ActualDuration") == NS_prj12::LN_ActualDuration;
- flag&=QName::tokenizer().insert(ns, "ActualCost") == NS_prj12::LN_ActualCost;
- flag&=QName::tokenizer().insert(ns, "ActualOvertimeCost") == NS_prj12::LN_ActualOvertimeCost;
- flag&=QName::tokenizer().insert(ns, "ActualWork") == NS_prj12::LN_ActualWork;
- flag&=QName::tokenizer().insert(ns, "ActualOvertimeWork") == NS_prj12::LN_ActualOvertimeWork;
- flag&=QName::tokenizer().insert(ns, "RegularWork") == NS_prj12::LN_RegularWork;
- flag&=QName::tokenizer().insert(ns, "RemainingDuration") == NS_prj12::LN_RemainingDuration;
- flag&=QName::tokenizer().insert(ns, "RemainingCost") == NS_prj12::LN_RemainingCost;
- flag&=QName::tokenizer().insert(ns, "RemainingWork") == NS_prj12::LN_RemainingWork;
- flag&=QName::tokenizer().insert(ns, "RemainingOvertimeCost") == NS_prj12::LN_RemainingOvertimeCost;
- flag&=QName::tokenizer().insert(ns, "RemainingOvertimeWork") == NS_prj12::LN_RemainingOvertimeWork;
- flag&=QName::tokenizer().insert(ns, "ACWP") == NS_prj12::LN_ACWP;
- flag&=QName::tokenizer().insert(ns, "CV") == NS_prj12::LN_CV;
- flag&=QName::tokenizer().insert(ns, "ConstraintType") == NS_prj12::LN_ConstraintType;
- flag&=QName::tokenizer().insert(ns, "ConstraintDate") == NS_prj12::LN_ConstraintDate;
- flag&=QName::tokenizer().insert(ns, "Deadline") == NS_prj12::LN_Deadline;
- flag&=QName::tokenizer().insert(ns, "LevelAssignments") == NS_prj12::LN_LevelAssignments;
- flag&=QName::tokenizer().insert(ns, "LevelingCanSplit") == NS_prj12::LN_LevelingCanSplit;
- flag&=QName::tokenizer().insert(ns, "LevelingDelay") == NS_prj12::LN_LevelingDelay;
- flag&=QName::tokenizer().insert(ns, "LevelingDelayFormat") == NS_prj12::LN_LevelingDelayFormat;
- flag&=QName::tokenizer().insert(ns, "PreLeveledStart") == NS_prj12::LN_PreLeveledStart;
- flag&=QName::tokenizer().insert(ns, "PreLeveledFinish") == NS_prj12::LN_PreLeveledFinish;
- flag&=QName::tokenizer().insert(ns, "Hyperlink") == NS_prj12::LN_Hyperlink;
- flag&=QName::tokenizer().insert(ns, "HyperlinkAddress") == NS_prj12::LN_HyperlinkAddress;
- flag&=QName::tokenizer().insert(ns, "HyperlinkSubAddress") == NS_prj12::LN_HyperlinkSubAddress;
- flag&=QName::tokenizer().insert(ns, "IgnoreResourceCalendar") == NS_prj12::LN_IgnoreResourceCalendar;
- flag&=QName::tokenizer().insert(ns, "Notes") == NS_prj12::LN_Notes;
- flag&=QName::tokenizer().insert(ns, "HideBar") == NS_prj12::LN_HideBar;
- flag&=QName::tokenizer().insert(ns, "Rollup") == NS_prj12::LN_Rollup;
- flag&=QName::tokenizer().insert(ns, "BCWS") == NS_prj12::LN_BCWS;
- flag&=QName::tokenizer().insert(ns, "BCWP") == NS_prj12::LN_BCWP;
- flag&=QName::tokenizer().insert(ns, "PhysicalPercentComplete") == NS_prj12::LN_PhysicalPercentComplete;
- flag&=QName::tokenizer().insert(ns, "PredecessorLink") == NS_prj12::LN_PredecessorLink;
- flag&=QName::tokenizer().insert(ns, "PredecessorUID") == NS_prj12::LN_PredecessorUID;
- flag&=QName::tokenizer().insert(ns, "CrossProject") == NS_prj12::LN_CrossProject;
- flag&=QName::tokenizer().insert(ns, "CrossProjectName") == NS_prj12::LN_CrossProjectName;
- flag&=QName::tokenizer().insert(ns, "LinkLag") == NS_prj12::LN_LinkLag;
- flag&=QName::tokenizer().insert(ns, "LagFormat") == NS_prj12::LN_LagFormat;
- flag&=QName::tokenizer().insert(ns, "ActualWorkProtected") == NS_prj12::LN_ActualWorkProtected;
- flag&=QName::tokenizer().insert(ns, "ActualOvertimeWorkProtected") == NS_prj12::LN_ActualOvertimeWorkProtected;
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list