summaryrefslogtreecommitdiff
path: root/udm/source
diff options
context:
space:
mode:
authorNikolai Pretzell <np@openoffice.org>2002-05-14 07:29:37 +0000
committerNikolai Pretzell <np@openoffice.org>2002-05-14 07:29:37 +0000
commit69ad19e30257a7c14e7a50cfe7054e98ea5289a3 (patch)
tree773036d5bb2ffaac4d163032bbcf29fcb884d2a0 /udm/source
parent41022e5f7242a979eb757a5eb51b45d5fba6d200 (diff)
#98964#, New layout for Autodoc-IDL-docu
Diffstat (limited to 'udm/source')
-rw-r--r--udm/source/html/htmlitem.cxx22
-rw-r--r--udm/source/inc/precomp.h20
-rw-r--r--udm/source/xml/xmlitem.cxx48
3 files changed, 41 insertions, 49 deletions
diff --git a/udm/source/html/htmlitem.cxx b/udm/source/html/htmlitem.cxx
index 751eea39cc9b..de654aff20d0 100644
--- a/udm/source/html/htmlitem.cxx
+++ b/udm/source/html/htmlitem.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: htmlitem.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: np $ $Date: 2002-03-08 14:32:37 $
+ * last change: $Author: np $ $Date: 2002-05-14 08:29:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -100,11 +100,11 @@ HorizontalLine::LineBreakAfterBeginTag() const
#endif
-Image::Image( const csv::String & i_sSrc,
- const csv::String & i_sWidth,
- const csv::String & i_sHeight,
- const csv::String & i_sAlign,
- const csv::String & i_sBorder )
+Image::Image( const String & i_sSrc,
+ const String & i_sWidth,
+ const String & i_sHeight,
+ const String & i_sAlign,
+ const String & i_sBorder )
: AnEmptyElement( "img" )
{
*this << new AnAttribute("src",i_sSrc)
@@ -165,10 +165,10 @@ TableRow::LineBreakAfterBeginTag() const
}
-Table::Table( const csv::String & i_sBorder,
- const csv::String & i_sWidth,
- const csv::String & i_sCellPadding,
- const csv::String & i_sCellSpacing )
+Table::Table( const String & i_sBorder,
+ const String & i_sWidth,
+ const String & i_sCellPadding,
+ const String & i_sCellSpacing )
: csi::xml::AnElement("table")
{
if ( i_sBorder.length() > 0 )
diff --git a/udm/source/inc/precomp.h b/udm/source/inc/precomp.h
index 85f027abe4bb..04181206a38c 100644
--- a/udm/source/inc/precomp.h
+++ b/udm/source/inc/precomp.h
@@ -2,9 +2,9 @@
*
* $RCSfile: precomp.h,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: np $ $Date: 2002-03-08 14:32:37 $
+ * last change: $Author: np $ $Date: 2002-05-14 08:29:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -65,6 +65,8 @@
// For en/disabling csv_assertions:
#ifndef DEBUG
#define CSV_NO_ASSERTIONS
+#else
+#define CSV_USE_CSV_ASSERTIONS
#endif
#ifdef NP_LOCALBUILD
@@ -79,8 +81,8 @@
// Shortcuts to access csv::-types:
-// using csv::String;
-// using csv::StringVector;
+using csv::String;
+using csv::StringVector;
using csv::StreamStr;
using csv::ios;
using csv::ostream;
@@ -89,19 +91,9 @@ typedef csv::StreamStrLock StreamLock;
-/** @attention
- Has to be changed to returning csv::Cout(),if
- 1) iostreams are not used ( #ifdef CSV_NO_IOSTREAM )
- 2) used for an GUI-application.
-*/
inline ostream &
Cout() { return csv::Cout(); }
-/** @attention
- Has to be changed to returning csv::Cerr(),if
- 1) iostreams are not used ( #ifdef CSV_NO_IOSTREAM )
- 2) used for an GUI-application.
-*/
inline ostream &
Cerr() { return csv::Cerr(); }
diff --git a/udm/source/xml/xmlitem.cxx b/udm/source/xml/xmlitem.cxx
index c9ea5b76fa32..99d4284c20c1 100644
--- a/udm/source/xml/xmlitem.cxx
+++ b/udm/source/xml/xmlitem.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlitem.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: np $ $Date: 2002-03-08 14:32:38 $
+ * last change: $Author: np $ $Date: 2002-05-14 08:29:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -149,8 +149,8 @@ Impl_SetContent( Dyn< Item > & o_rContent,
//********************* Attribute ****************************//
-const csv::String attrValueBegin("=\"");
-const csv::String attrValueEnd("\"");
+const String attrValueBegin("=\"");
+const String attrValueEnd("\"");
void
Attribute::WriteOut( csv::bostream & io_aFile ) const
@@ -168,12 +168,12 @@ Attribute::WriteOut( csv::bostream & io_aFile ) const
//************************ Element ****************************//
-const csv::String newline("\n");
-const csv::String space(" ");
-const csv::String beginTagBegin("<");
-const csv::String endTagBegin("</");
-const csv::String tagEnd(">");
-const csv::String emptyTagEnd("/>");
+const String newline("\n");
+const String space(" ");
+const String beginTagBegin("<");
+const String endTagBegin("</");
+const String tagEnd(">");
+const String emptyTagEnd("/>");
void
Element::do_WriteOut( csv::bostream & io_aFile ) const
@@ -342,7 +342,7 @@ SglTag::inq_Attrs() const
//*************************** AnElement **************************//
-AnElement::AnElement( const csv::String & i_sTagName )
+AnElement::AnElement( const String & i_sTagName )
: sTagName( i_sTagName )
// pContent,
// aAttrs
@@ -371,7 +371,7 @@ AnElement::do_SetContent( DYN Item * let_dpItem )
Impl_SetContent( pContent, let_dpItem );
}
-const csv::String &
+const String &
AnElement::inq_TagName() const
{
return sTagName;
@@ -392,7 +392,7 @@ AnElement::inq_Attrs() const
//*************************** AnEmptyElement **************************//
-AnEmptyElement::AnEmptyElement( const csv::String & i_sTagName )
+AnEmptyElement::AnEmptyElement( const String & i_sTagName )
: sTagName( i_sTagName )
// aAttrs
{
@@ -403,7 +403,7 @@ AnEmptyElement::~AnEmptyElement()
}
-const csv::String &
+const String &
AnEmptyElement::inq_TagName() const
{
return sTagName;
@@ -418,7 +418,7 @@ AnEmptyElement::inq_RefAttrs()
//*************************** APureElement **************************//
-APureElement::APureElement( const csv::String & i_sTagName )
+APureElement::APureElement( const String & i_sTagName )
: sTagName( i_sTagName )
// pContent
{
@@ -428,7 +428,7 @@ APureElement::~APureElement()
{
}
-const csv::String &
+const String &
APureElement::inq_TagName() const
{
return sTagName;
@@ -444,7 +444,7 @@ APureElement::inq_RefContent()
//*************************** ASglTag **************************//
-ASglTag::ASglTag( const csv::String & i_sTagName )
+ASglTag::ASglTag( const String & i_sTagName )
: sTagName( i_sTagName )
{
}
@@ -453,7 +453,7 @@ ASglTag::~ASglTag()
{
}
-const csv::String &
+const String &
ASglTag::inq_TagName() const
{
return sTagName;
@@ -461,8 +461,8 @@ ASglTag::inq_TagName() const
//*************************** AnAttribute **************************//
-AnAttribute::AnAttribute( const csv::String & i_sName,
- const csv::String & i_sValue )
+AnAttribute::AnAttribute( const String & i_sName,
+ const String & i_sValue )
: sName(i_sName),
sValue(i_sValue)
{
@@ -472,13 +472,13 @@ AnAttribute::~AnAttribute()
{
}
-const csv::String &
+const String &
AnAttribute::inq_Name() const
{
return sName;
}
-const csv::String &
+const String &
AnAttribute::inq_Value() const
{
return sValue;
@@ -488,7 +488,7 @@ AnAttribute::inq_Value() const
//*************************** Text **************************//
-Text::Text( const csv::String & i_sText )
+Text::Text( const String & i_sText )
: sText(i_sText)
{
}
@@ -539,7 +539,7 @@ Text::do_WriteOut( csv::bostream & io_aFile ) const
//*************************** XmlCode **************************//
-XmlCode::XmlCode( const csv::String & i_sText )
+XmlCode::XmlCode( const String & i_sText )
: sText(i_sText)
{
}