Typo: formated->formatted
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
This commit is contained in:
parent
5584d73f2d
commit
25d3c618d8
@ -265,7 +265,7 @@ SvxNumberFormatTabPage::SvxNumberFormatTabPage(vcl::Window* pParent,
|
|||||||
get(m_pEdLeadZeroes, "leadzerosed");
|
get(m_pEdLeadZeroes, "leadzerosed");
|
||||||
get(m_pBtnThousand, "thousands");
|
get(m_pBtnThousand, "thousands");
|
||||||
get(m_pFormatCodeFrame, "formatcode");
|
get(m_pFormatCodeFrame, "formatcode");
|
||||||
get(m_pEdFormat, "formated");
|
get(m_pEdFormat, "formatted");
|
||||||
get(m_pIbAdd, "add");
|
get(m_pIbAdd, "add");
|
||||||
get(m_pIbInfo, "edit");
|
get(m_pIbInfo, "edit");
|
||||||
get(m_pIbRemove, "delete");
|
get(m_pIbRemove, "delete");
|
||||||
|
@ -100,7 +100,7 @@
|
|||||||
<property name="row_spacing">6</property>
|
<property name="row_spacing">6</property>
|
||||||
<property name="column_spacing">6</property>
|
<property name="column_spacing">6</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkEntry" id="formated">
|
<object class="GtkEntry" id="formatted">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="valign">center</property>
|
<property name="valign">center</property>
|
||||||
@ -194,7 +194,7 @@
|
|||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="label" translatable="yes">_Format code</property>
|
<property name="label" translatable="yes">_Format code</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="mnemonic_widget">formated</property>
|
<property name="mnemonic_widget">formatted</property>
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="weight" value="bold"/>
|
<attribute name="weight" value="bold"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
|
4
external/np_sdk/inc/npfunctions.h
vendored
4
external/np_sdk/inc/npfunctions.h
vendored
@ -227,8 +227,8 @@ enum
|
|||||||
typedef struct _BPSupportedMIMETypes
|
typedef struct _BPSupportedMIMETypes
|
||||||
{
|
{
|
||||||
SInt32 structVersion; /* struct version */
|
SInt32 structVersion; /* struct version */
|
||||||
Handle typeStrings; /* STR# formated handle, allocated by plug-in */
|
Handle typeStrings; /* STR# formatted handle, allocated by plug-in */
|
||||||
Handle infoStrings; /* STR# formated handle, allocated by plug-in */
|
Handle infoStrings; /* STR# formatted handle, allocated by plug-in */
|
||||||
} BPSupportedMIMETypes;
|
} BPSupportedMIMETypes;
|
||||||
OSErr BP_GetSupportedMIMETypes(BPSupportedMIMETypes *mimeInfo, UInt32 flags);
|
OSErr BP_GetSupportedMIMETypes(BPSupportedMIMETypes *mimeInfo, UInt32 flags);
|
||||||
#define NP_GETMIMEDESCRIPTION_NAME "NP_GetMIMEDescription"
|
#define NP_GETMIMEDESCRIPTION_NAME "NP_GetMIMEDescription"
|
||||||
|
4
external/np_sdk/npsdk/npupp.h
vendored
4
external/np_sdk/npsdk/npupp.h
vendored
@ -1180,8 +1180,8 @@ enum
|
|||||||
typedef struct _BPSupportedMIMETypes
|
typedef struct _BPSupportedMIMETypes
|
||||||
{
|
{
|
||||||
SInt32 structVersion; // struct version
|
SInt32 structVersion; // struct version
|
||||||
Handle typeStrings; // STR# formated handle, allocated by plug-in
|
Handle typeStrings; // STR# formatted handle, allocated by plug-in
|
||||||
Handle infoStrings; // STR# formated handle, allocated by plug-in
|
Handle infoStrings; // STR# formatted handle, allocated by plug-in
|
||||||
} BPSupportedMIMETypes;
|
} BPSupportedMIMETypes;
|
||||||
OSErr BP_GetSupportedMIMETypes(BPSupportedMIMETypes *mimeInfo, UInt32 flags);
|
OSErr BP_GetSupportedMIMETypes(BPSupportedMIMETypes *mimeInfo, UInt32 flags);
|
||||||
|
|
||||||
|
@ -2006,7 +2006,7 @@
|
|||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<!-- Numbering is being done by this transformation creating a HTML span representing the number label
|
<!-- Numbering is being done by this transformation creating a HTML span representing the number label
|
||||||
The html:span represents the list item/header label (e.g. 1.A.III)
|
The html:span represents the list item/header label (e.g. 1.A.III)
|
||||||
As the html:span is usually a inline element is formated by CSS as block element to use width upon it,
|
As the html:span is usually a inline element is formatted by CSS as block element to use width upon it,
|
||||||
to disable the caridge return float:left is used and later neglected -->
|
to disable the caridge return float:left is used and later neglected -->
|
||||||
<xsl:element name="span">
|
<xsl:element name="span">
|
||||||
<xsl:if test="$listLevelStyle/@text:style-name">
|
<xsl:if test="$listLevelStyle/@text:style-name">
|
||||||
|
@ -580,13 +580,13 @@ class FilterCFGAccess : public ::utl::ConfigItem
|
|||||||
void write ( DataContainer& rData ,
|
void write ( DataContainer& rData ,
|
||||||
DataContainer::ECFGType eType ); // write values from given struct to configuration
|
DataContainer::ECFGType eType ); // write values from given struct to configuration
|
||||||
|
|
||||||
static OUString encodeTypeData ( const FileType& aType ); // build own formated string of type properties
|
static OUString encodeTypeData ( const FileType& aType ); // build own formatted string of type properties
|
||||||
static void decodeTypeData ( const OUString& sData ,
|
static void decodeTypeData ( const OUString& sData ,
|
||||||
FileType& aType );
|
FileType& aType );
|
||||||
static OUString encodeFilterData( const Filter& aFilter ); // build own formated string of filter properties
|
static OUString encodeFilterData( const Filter& aFilter ); // build own formatted string of filter properties
|
||||||
static void decodeFilterData( const OUString& sData ,
|
static void decodeFilterData( const OUString& sData ,
|
||||||
Filter& aFilter );
|
Filter& aFilter );
|
||||||
static OUString encodeStringList( const OUStringList& lList ); // build own formated string of OUStringList
|
static OUString encodeStringList( const OUStringList& lList ); // build own formatted string of OUStringList
|
||||||
static OUStringList decodeStringList( const OUString& sValue );
|
static OUStringList decodeStringList( const OUString& sValue );
|
||||||
|
|
||||||
void setProductName ( OUStringHashMap& lUINames );
|
void setProductName ( OUStringHashMap& lUINames );
|
||||||
|
@ -405,7 +405,7 @@ public class Protocol extends JComponent
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* create a colored table cell formated as HTML.
|
* create a colored table cell formatted as HTML.
|
||||||
*
|
*
|
||||||
* @param sCell
|
* @param sCell
|
||||||
* an outside string buffer, which can be
|
* an outside string buffer, which can be
|
||||||
@ -662,7 +662,7 @@ public class Protocol extends JComponent
|
|||||||
/**
|
/**
|
||||||
* returns a generic html header for generating html log files
|
* returns a generic html header for generating html log files
|
||||||
*
|
*
|
||||||
* It's used from the method finish() to generate a valid html formated file.
|
* It's used from the method finish() to generate a valid html formatted file.
|
||||||
* For that its necessary to open some special html targets like e.g. <html>.
|
* For that its necessary to open some special html targets like e.g. <html>.
|
||||||
*
|
*
|
||||||
* @return A string, which includes the whole header.
|
* @return A string, which includes the whole header.
|
||||||
|
@ -165,7 +165,7 @@ sal_uInt16 KeyMapping::mapIdentifierToCode(const OUString& sIdentifier)
|
|||||||
if (pIt != m_lIdentifierHash.end())
|
if (pIt != m_lIdentifierHash.end())
|
||||||
return pIt->second;
|
return pIt->second;
|
||||||
|
|
||||||
// Its not well known identifier - but may be a pure key code formated as string ...
|
// Its not well known identifier - but may be a pure key code formatted as string ...
|
||||||
// Check and convert it!
|
// Check and convert it!
|
||||||
sal_uInt16 nCode = 0;
|
sal_uInt16 nCode = 0;
|
||||||
if (!KeyMapping::impl_st_interpretIdentifierAsPureKeyCode(sIdentifier, nCode))
|
if (!KeyMapping::impl_st_interpretIdentifierAsPureKeyCode(sIdentifier, nCode))
|
||||||
|
@ -65,7 +65,7 @@ OUString Converter::convert_DateTime2ISO8601( const DateTime& aSource )
|
|||||||
sal_Int32 nMin = aSource.GetMin();
|
sal_Int32 nMin = aSource.GetMin();
|
||||||
sal_Int32 nSec = aSource.GetSec();
|
sal_Int32 nSec = aSource.GetSec();
|
||||||
|
|
||||||
// write year formated as "YYYY"
|
// write year formatted as "YYYY"
|
||||||
if (nYear<10)
|
if (nYear<10)
|
||||||
sBuffer.appendAscii("000");
|
sBuffer.appendAscii("000");
|
||||||
else if (nYear<100)
|
else if (nYear<100)
|
||||||
@ -75,31 +75,31 @@ OUString Converter::convert_DateTime2ISO8601( const DateTime& aSource )
|
|||||||
sBuffer.append( (sal_Int32)nYear );
|
sBuffer.append( (sal_Int32)nYear );
|
||||||
|
|
||||||
sBuffer.appendAscii("-");
|
sBuffer.appendAscii("-");
|
||||||
// write month formated as "MM"
|
// write month formatted as "MM"
|
||||||
if (nMonth<10)
|
if (nMonth<10)
|
||||||
sBuffer.appendAscii("0");
|
sBuffer.appendAscii("0");
|
||||||
sBuffer.append( (sal_Int32)nMonth );
|
sBuffer.append( (sal_Int32)nMonth );
|
||||||
|
|
||||||
sBuffer.appendAscii("-");
|
sBuffer.appendAscii("-");
|
||||||
// write day formated as "DD"
|
// write day formatted as "DD"
|
||||||
if (nDay<10)
|
if (nDay<10)
|
||||||
sBuffer.appendAscii("0");
|
sBuffer.appendAscii("0");
|
||||||
sBuffer.append( (sal_Int32)nDay );
|
sBuffer.append( (sal_Int32)nDay );
|
||||||
|
|
||||||
sBuffer.appendAscii("T");
|
sBuffer.appendAscii("T");
|
||||||
// write hours formated as "hh"
|
// write hours formatted as "hh"
|
||||||
if (nHour<10)
|
if (nHour<10)
|
||||||
sBuffer.appendAscii("0");
|
sBuffer.appendAscii("0");
|
||||||
sBuffer.append( (sal_Int32)nHour );
|
sBuffer.append( (sal_Int32)nHour );
|
||||||
|
|
||||||
sBuffer.appendAscii(":");
|
sBuffer.appendAscii(":");
|
||||||
// write min formated as "mm"
|
// write min formatted as "mm"
|
||||||
if (nMin<10)
|
if (nMin<10)
|
||||||
sBuffer.appendAscii("0");
|
sBuffer.appendAscii("0");
|
||||||
sBuffer.append( (sal_Int32)nMin );
|
sBuffer.append( (sal_Int32)nMin );
|
||||||
|
|
||||||
sBuffer.appendAscii(":");
|
sBuffer.appendAscii(":");
|
||||||
// write sec formated as "ss"
|
// write sec formatted as "ss"
|
||||||
if (nSec<10)
|
if (nSec<10)
|
||||||
sBuffer.appendAscii("0");
|
sBuffer.appendAscii("0");
|
||||||
sBuffer.append( (sal_Int32)nSec );
|
sBuffer.append( (sal_Int32)nSec );
|
||||||
|
@ -457,7 +457,7 @@ bool isEnabled( const OUString& sAdminTime ,
|
|||||||
bool bValidUser = aISOPattern.Matches(sUserTime );
|
bool bValidUser = aISOPattern.Matches(sUserTime );
|
||||||
|
|
||||||
// We check for "isEnabled()" here only.
|
// We check for "isEnabled()" here only.
|
||||||
// Note further: ISO8601 formated strings can be compared as strings directly!
|
// Note further: ISO8601 formatted strings can be compared as strings directly!
|
||||||
// FIXME: this is not true! "T1215" is the same time as "T12:15" or "T121500"
|
// FIXME: this is not true! "T1215" is the same time as "T12:15" or "T121500"
|
||||||
return (
|
return (
|
||||||
(!bValidAdmin && !bValidUser ) ||
|
(!bValidAdmin && !bValidUser ) ||
|
||||||
|
@ -513,7 +513,7 @@ void JobURL::impldbg_checkURL( /*IN*/ const sal_Char* pURL ,
|
|||||||
@descr It returns a representation of the internal object state
|
@descr It returns a representation of the internal object state
|
||||||
as string notation.
|
as string notation.
|
||||||
|
|
||||||
@returns The formated string representation.
|
@returns The formatted string representation.
|
||||||
*/
|
*/
|
||||||
OUString JobURL::impldbg_toString() const
|
OUString JobURL::impldbg_toString() const
|
||||||
{
|
{
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
namespace framework{
|
namespace framework{
|
||||||
|
|
||||||
/* Throws a SaxException in case a wrong formated XML
|
/* Throws a SaxException in case a wrong formatted XML
|
||||||
structure was detected.
|
structure was detected.
|
||||||
|
|
||||||
This macro combined the given comment with a generic
|
This macro combined the given comment with a generic
|
||||||
|
@ -96,7 +96,7 @@ class BASIC_DLLPUBLIC SbxBasicFormater {
|
|||||||
/* Basic command: Format$( number,format-string )
|
/* Basic command: Format$( number,format-string )
|
||||||
|
|
||||||
Parameter:
|
Parameter:
|
||||||
dNumber : number to be formated
|
dNumber : number to be formatted
|
||||||
sFormatStrg : the Format-String, e.g. ###0.0###
|
sFormatStrg : the Format-String, e.g. ###0.0###
|
||||||
|
|
||||||
Return value:
|
Return value:
|
||||||
|
@ -163,24 +163,24 @@ private:
|
|||||||
*/
|
*/
|
||||||
bool mbIsFirstProperty;
|
bool mbIsFirstProperty;
|
||||||
|
|
||||||
/** Add a property value formated as color to the description string.
|
/** Add a property value formatted as color to the description string.
|
||||||
*/
|
*/
|
||||||
SVX_DLLPRIVATE void AddColor (const OUString& sPropertyName,
|
SVX_DLLPRIVATE void AddColor (const OUString& sPropertyName,
|
||||||
const OUString& sLocalizedName);
|
const OUString& sLocalizedName);
|
||||||
|
|
||||||
/** Add a property value formated as integer to the description string.
|
/** Add a property value formatted as integer to the description string.
|
||||||
*/
|
*/
|
||||||
SVX_DLLPRIVATE void AddInteger (const OUString& sPropertyName,
|
SVX_DLLPRIVATE void AddInteger (const OUString& sPropertyName,
|
||||||
const OUString& sLocalizedName);
|
const OUString& sLocalizedName);
|
||||||
|
|
||||||
/** Add a property value formated as string to the description string.
|
/** Add a property value formatted as string to the description string.
|
||||||
@param sPropertyName
|
@param sPropertyName
|
||||||
Name of the property.
|
Name of the property.
|
||||||
*/
|
*/
|
||||||
SVX_DLLPRIVATE void AddString (const OUString& sPropertyName,
|
SVX_DLLPRIVATE void AddString (const OUString& sPropertyName,
|
||||||
const OUString& sLocalizedName, long nWhichId = -1);
|
const OUString& sLocalizedName, long nWhichId = -1);
|
||||||
|
|
||||||
/** Add a property value formated as fill style to the description
|
/** Add a property value formatted as fill style to the description
|
||||||
string. If the fill style is <const>HATCH</const>,
|
string. If the fill style is <const>HATCH</const>,
|
||||||
<const>GRADIENT</const>, or <const>BITMAP</const>, then the of the
|
<const>GRADIENT</const>, or <const>BITMAP</const>, then the of the
|
||||||
hatch, gradient, or bitmap is appended as well.
|
hatch, gradient, or bitmap is appended as well.
|
||||||
|
@ -64,7 +64,7 @@ public class FunctionHelper
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This convert an URL (formated as a string) to a struct com.sun.star.util.URL.
|
* This convert an URL (formatted as a string) to a struct com.sun.star.util.URL.
|
||||||
* It use a special service to do that: the URLTransformer.
|
* It use a special service to do that: the URLTransformer.
|
||||||
* Because some API calls need it and it's not allowed to set "Complete"
|
* Because some API calls need it and it's not allowed to set "Complete"
|
||||||
* part of the util struct only. The URL must be parsed.
|
* part of the util struct only. The URL must be parsed.
|
||||||
|
@ -130,7 +130,7 @@ public class HardFormatting {
|
|||||||
+ xPropertySet.getPropertyValue("CharWeight").toString() );
|
+ xPropertySet.getPropertyValue("CharWeight").toString() );
|
||||||
|
|
||||||
// the PropertyState contains information where the attribute is set,
|
// the PropertyState contains information where the attribute is set,
|
||||||
// is a text part hard formated or not.
|
// is a text part hard formatted or not.
|
||||||
com.sun.star.beans.XPropertyState xPropertyState = null;
|
com.sun.star.beans.XPropertyState xPropertyState = null;
|
||||||
xPropertyState = UnoRuntime.queryInterface(
|
xPropertyState = UnoRuntime.queryInterface(
|
||||||
com.sun.star.beans.XPropertyState.class, xWordCursor);
|
com.sun.star.beans.XPropertyState.class, xWordCursor);
|
||||||
@ -175,21 +175,21 @@ public class HardFormatting {
|
|||||||
case com.sun.star.beans.PropertyState.DIRECT_VALUE_value: {
|
case com.sun.star.beans.PropertyState.DIRECT_VALUE_value: {
|
||||||
System.out.println( "-> The selection '"
|
System.out.println( "-> The selection '"
|
||||||
+ xWordCursor.getString()
|
+ xWordCursor.getString()
|
||||||
+ "' completely hard formated" );
|
+ "' completely hard formatted" );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case com.sun.star.beans.PropertyState.DEFAULT_VALUE_value: {
|
case com.sun.star.beans.PropertyState.DEFAULT_VALUE_value: {
|
||||||
System.out.println( "-> The selection '"
|
System.out.println( "-> The selection '"
|
||||||
+ xWordCursor.getString()
|
+ xWordCursor.getString()
|
||||||
+ "' isn't hard formated" );
|
+ "' isn't hard formatted" );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case com.sun.star.beans.PropertyState.AMBIGUOUS_VALUE_value: {
|
case com.sun.star.beans.PropertyState.AMBIGUOUS_VALUE_value: {
|
||||||
System.out.println( "-> The selection '"
|
System.out.println( "-> The selection '"
|
||||||
+ xWordCursor.getString()
|
+ xWordCursor.getString()
|
||||||
+ "' isn't completely hard formated" );
|
+ "' isn't completely hard formatted" );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
module com { module sun { module star { module text {
|
module com { module sun { module star { module text {
|
||||||
|
|
||||||
|
|
||||||
/** This constants define how a date field is formated before it is displayed.
|
/** This constants define how a date field is formatted before it is displayed.
|
||||||
The format may also depend on the system or document locale. The samples
|
The format may also depend on the system or document locale. The samples
|
||||||
are in German.
|
are in German.
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
module com { module sun { module star { module text {
|
module com { module sun { module star { module text {
|
||||||
|
|
||||||
|
|
||||||
/** This constants define how a time field is formated before it is displayed.
|
/** This constants define how a time field is formatted before it is displayed.
|
||||||
The formate may also depend on the system or document locale.
|
The formate may also depend on the system or document locale.
|
||||||
|
|
||||||
@deprecated
|
@deprecated
|
||||||
|
@ -33,7 +33,7 @@ published service URL
|
|||||||
{
|
{
|
||||||
service com::sun::star::text::TextField;
|
service com::sun::star::text::TextField;
|
||||||
|
|
||||||
/** Specifies how the URL is formated on output.
|
/** Specifies how the URL is formatted on output.
|
||||||
*/
|
*/
|
||||||
[property] short Format;
|
[property] short Format;
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ static SdPage* GetCurrentPage( sd::ViewShell* pViewSh, EditFieldInfo* pInfo, boo
|
|||||||
// which all use the new possibility of setting the visualized page at the SdrOutliner.
|
// which all use the new possibility of setting the visualized page at the SdrOutliner.
|
||||||
|
|
||||||
// if all else failed, geht the current page from the object that is
|
// if all else failed, geht the current page from the object that is
|
||||||
// currently formated from the document
|
// currently formatted from the document
|
||||||
if(!pPage)
|
if(!pPage)
|
||||||
{
|
{
|
||||||
const SdrTextObj* pTextObj = (pViewSh && pViewSh->GetDoc()) ? pViewSh->GetDoc()->GetFormattingTextObj() : NULL;
|
const SdrTextObj* pTextObj = (pViewSh && pViewSh->GetDoc()) ? pViewSh->GetDoc()->GetFormattingTextObj() : NULL;
|
||||||
|
@ -150,7 +150,7 @@ public:
|
|||||||
const ::com::sun::star::uno::Reference<
|
const ::com::sun::star::uno::Reference<
|
||||||
::com::sun::star::accessibility::XAccessible>&rxParent);
|
::com::sun::star::accessibility::XAccessible>&rxParent);
|
||||||
|
|
||||||
/** Add a listener that will be informated in the future about state
|
/** Add a listener that will be informatted in the future about state
|
||||||
changes of the tree node. This includes adding and removing
|
changes of the tree node. This includes adding and removing
|
||||||
children as well as focus, visibility, and expansion state.
|
children as well as focus, visibility, and expansion state.
|
||||||
Multiple calls are ignored. Each listener is added only once.
|
Multiple calls are ignored. Each listener is added only once.
|
||||||
|
@ -919,7 +919,7 @@ const SfxFilter* SfxFilterMatcherIter::Next()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*---------------------------------------------------------------
|
/*---------------------------------------------------------------
|
||||||
helper to build own formated string from given stringlist by
|
helper to build own formatted string from given stringlist by
|
||||||
using given separator
|
using given separator
|
||||||
---------------------------------------------------------------*/
|
---------------------------------------------------------------*/
|
||||||
OUString implc_convertStringlistToString( const uno::Sequence< OUString >& lList ,
|
OUString implc_convertStringlistToString( const uno::Sequence< OUString >& lList ,
|
||||||
|
@ -255,7 +255,7 @@ HRESULT STDMETHODCALLTYPE CInfoTip::GetInfoTip(DWORD /*dwFlags*/, wchar_t** ppws
|
|||||||
msg += meta_info_accessor.getTagData( META_INFO_DESCRIPTION );
|
msg += meta_info_accessor.getTagData( META_INFO_DESCRIPTION );
|
||||||
}
|
}
|
||||||
|
|
||||||
//display midified time formated into locale representation.
|
//display midified time formatted into locale representation.
|
||||||
if ( iso8601_date_to_local_date(meta_info_accessor.getTagData(META_INFO_MODIFIED )).length() > 0)
|
if ( iso8601_date_to_local_date(meta_info_accessor.getTagData(META_INFO_MODIFIED )).length() > 0)
|
||||||
{
|
{
|
||||||
if ( msg != EMPTY_STRING )
|
if ( msg != EMPTY_STRING )
|
||||||
|
@ -144,7 +144,7 @@ public:
|
|||||||
/** Insert a special node created from aString
|
/** Insert a special node created from aString
|
||||||
*
|
*
|
||||||
* Used for handling insert request from the "catalog" dialog.
|
* Used for handling insert request from the "catalog" dialog.
|
||||||
* The provided string should be formated as the desired command: %phi
|
* The provided string should be formatted as the desired command: %phi
|
||||||
* Note: this method ONLY supports commands defined in Math.xcu
|
* Note: this method ONLY supports commands defined in Math.xcu
|
||||||
*
|
*
|
||||||
* For more complex expressions use InsertCommandText, this method doesn't
|
* For more complex expressions use InsertCommandText, this method doesn't
|
||||||
|
@ -924,7 +924,7 @@ bool FormattedField::ImplGetValue(double& dNewVal)
|
|||||||
sal_uInt32 nFormatKey = m_nFormatKey; // IsNumberFormat changes the FormatKey!
|
sal_uInt32 nFormatKey = m_nFormatKey; // IsNumberFormat changes the FormatKey!
|
||||||
|
|
||||||
if (ImplGetFormatter()->IsTextFormat(nFormatKey) && m_bTreatAsNumber)
|
if (ImplGetFormatter()->IsTextFormat(nFormatKey) && m_bTreatAsNumber)
|
||||||
// for detection of values like "1,1" in fields that are formated as text
|
// for detection of values like "1,1" in fields that are formatted as text
|
||||||
nFormatKey = 0;
|
nFormatKey = 0;
|
||||||
|
|
||||||
// special treatment for percentage formatting
|
// special treatment for percentage formatting
|
||||||
|
@ -928,7 +928,7 @@ void SdrTextObj::impDecomposeBlockTextPrimitive(
|
|||||||
|
|
||||||
if(bIsCell)
|
if(bIsCell)
|
||||||
{
|
{
|
||||||
// cell text is formated neither like a text object nor like a object
|
// cell text is formatted neither like a text object nor like a object
|
||||||
// text, so use a special setup here
|
// text, so use a special setup here
|
||||||
rOutliner.SetMaxAutoPaperSize(aAnchorTextSize);
|
rOutliner.SetMaxAutoPaperSize(aAnchorTextSize);
|
||||||
|
|
||||||
|
@ -188,11 +188,11 @@ public:
|
|||||||
attribute is split, provided it makes sense.
|
attribute is split, provided it makes sense.
|
||||||
Nodes, where this attribute does not make sense are ignored.
|
Nodes, where this attribute does not make sense are ignored.
|
||||||
In nodes completely enclosed in the selection the attribute
|
In nodes completely enclosed in the selection the attribute
|
||||||
becomes hard-formated, in all other (text-) nodes the attribute
|
becomes hard-formatted, in all other (text-) nodes the attribute
|
||||||
is inserted into the attribute array.
|
is inserted into the attribute array.
|
||||||
For a character attribute, in cases where no selection exists
|
For a character attribute, in cases where no selection exists
|
||||||
an "empty" hint is inserted. If there is a selection the attribute
|
an "empty" hint is inserted. If there is a selection the attribute
|
||||||
is hard-formated and added to the node at rRg.Start().
|
is hard-formatted and added to the node at rRg.Start().
|
||||||
If the attribute could not be inserted, the method returns
|
If the attribute could not be inserted, the method returns
|
||||||
false.
|
false.
|
||||||
*/
|
*/
|
||||||
|
@ -54,7 +54,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Classes derived from SwFields. They overlay the expand-function.
|
// Classes derived from SwFields. They overlay the expand-function.
|
||||||
// Content is formated according to the format (if available).
|
// Content is formatted according to the format (if available).
|
||||||
class SW_DLLPUBLIC SwDBField : public SwValueField
|
class SW_DLLPUBLIC SwDBField : public SwValueField
|
||||||
{
|
{
|
||||||
OUString aContent;
|
OUString aContent;
|
||||||
|
@ -759,7 +759,7 @@ public:
|
|||||||
void SetAllUniqueFlyNames();
|
void SetAllUniqueFlyNames();
|
||||||
|
|
||||||
/** Reset attributes. All TxtHints and (if completely selected) all hard-
|
/** Reset attributes. All TxtHints and (if completely selected) all hard-
|
||||||
formated stuff (auto-formats) are removed.
|
formatted stuff (auto-formats) are removed.
|
||||||
Introduce new optional parameter <bSendDataChangedEvents> in order to
|
Introduce new optional parameter <bSendDataChangedEvents> in order to
|
||||||
control, if the side effect "send data changed events" is triggered or not. */
|
control, if the side effect "send data changed events" is triggered or not. */
|
||||||
void ResetAttrs( const SwPaM &rRg,
|
void ResetAttrs( const SwPaM &rRg,
|
||||||
|
@ -121,7 +121,7 @@ enum ObjCntType
|
|||||||
enum CurRectType
|
enum CurRectType
|
||||||
{
|
{
|
||||||
RECT_PAGE, ///< Rect of current page.
|
RECT_PAGE, ///< Rect of current page.
|
||||||
RECT_PAGE_CALC, ///< ... page will be formated if required.
|
RECT_PAGE_CALC, ///< ... page will be formatted if required.
|
||||||
RECT_PAGE_PRT, ///< Rect of current PrtArea of page.
|
RECT_PAGE_PRT, ///< Rect of current PrtArea of page.
|
||||||
RECT_FRM, ///< Rect of current frame.
|
RECT_FRM, ///< Rect of current frame.
|
||||||
RECT_FLY_EMBEDDED, ///< Rect of current FlyFrm.
|
RECT_FLY_EMBEDDED, ///< Rect of current FlyFrm.
|
||||||
|
@ -378,7 +378,7 @@ inline sal_uInt32 SwField::GetFormat() const
|
|||||||
inline sal_uInt16 SwField::GetLanguage() const
|
inline sal_uInt16 SwField::GetLanguage() const
|
||||||
{ return nLang; }
|
{ return nLang; }
|
||||||
|
|
||||||
/// Fields containing values that have to be formated via number formatter.
|
/// Fields containing values that have to be formatted via number formatter.
|
||||||
class SwValueFieldType : public SwFieldType
|
class SwValueFieldType : public SwFieldType
|
||||||
{
|
{
|
||||||
SwDoc* pDoc;
|
SwDoc* pDoc;
|
||||||
|
@ -262,7 +262,7 @@ public:
|
|||||||
table cells ... including anchor in case of frames or footnotes)? */
|
table cells ... including anchor in case of frames or footnotes)? */
|
||||||
bool IsProtect() const;
|
bool IsProtect() const;
|
||||||
|
|
||||||
/** Search PageDesc with which this node is formated. If layout is existent
|
/** Search PageDesc with which this node is formatted. If layout is existent
|
||||||
search over layout, else only the hard way is left: search over the nodes
|
search over layout, else only the hard way is left: search over the nodes
|
||||||
to the front!! */
|
to the front!! */
|
||||||
const SwPageDesc* FindPageDesc( bool bCalcLay, sal_uInt32* pPgDescNdIdx = 0 ) const;
|
const SwPageDesc* FindPageDesc( bool bCalcLay, sal_uInt32* pPgDescNdIdx = 0 ) const;
|
||||||
|
@ -436,7 +436,7 @@ public:
|
|||||||
|
|
||||||
bool IsInHeadline( const SwTable* pTbl = 0 ) const;
|
bool IsInHeadline( const SwTable* pTbl = 0 ) const;
|
||||||
|
|
||||||
// Contains box contents, that can be formated as a number?
|
// Contains box contents, that can be formatted as a number?
|
||||||
bool HasNumCntnt( double& rNum, sal_uInt32& rFmtIndex,
|
bool HasNumCntnt( double& rNum, sal_uInt32& rFmtIndex,
|
||||||
bool& rIsEmptyTxtNd ) const;
|
bool& rIsEmptyTxtNd ) const;
|
||||||
sal_uLong IsValidNumTxtNd( bool bCheckAttr = true ) const;
|
sal_uLong IsValidNumTxtNd( bool bCheckAttr = true ) const;
|
||||||
|
@ -1446,7 +1446,7 @@ void SwPageFrm::GetCntntPosition( const Point &rPt, SwPosition &rPos ) const
|
|||||||
|
|
||||||
if( !pAct->IsValid() )
|
if( !pAct->IsValid() )
|
||||||
{
|
{
|
||||||
// CntntFrm not formated -> always on node-beginning
|
// CntntFrm not formatted -> always on node-beginning
|
||||||
SwCntntNode* pCNd = (SwCntntNode*)pAct->GetNode();
|
SwCntntNode* pCNd = (SwCntntNode*)pAct->GetNode();
|
||||||
OSL_ENSURE( pCNd, "Where is my CntntNode?" );
|
OSL_ENSURE( pCNd, "Where is my CntntNode?" );
|
||||||
rPos.nNode = *pCNd;
|
rPos.nNode = *pCNd;
|
||||||
|
@ -99,7 +99,7 @@ SwTxtFrmBreak::SwTxtFrmBreak( SwTxtFrm *pNewFrm, const SwTwips nRst )
|
|||||||
* Master- and Follow-Frame:
|
* Master- and Follow-Frame:
|
||||||
* Example: If the first column is 3cm and the second is 4cm and
|
* Example: If the first column is 3cm and the second is 4cm and
|
||||||
* Widows is set to 3, the decision if the Widows rule matches can not
|
* Widows is set to 3, the decision if the Widows rule matches can not
|
||||||
* be done until the Follow is formated. Unfortunately this is crucial
|
* be done until the Follow is formatted. Unfortunately this is crucial
|
||||||
* to decide if the whole paragraph goes to the next page or not.
|
* to decide if the whole paragraph goes to the next page or not.
|
||||||
*/
|
*/
|
||||||
bool SwTxtFrmBreak::IsInside( SwTxtMargin &rLine ) const
|
bool SwTxtFrmBreak::IsInside( SwTxtMargin &rLine ) const
|
||||||
|
@ -2003,7 +2003,7 @@ void SwWW8ImplReader::Read_LFOPosition(sal_uInt16, const sal_uInt8* pData,
|
|||||||
}
|
}
|
||||||
else if (SwTxtNode* pTxtNode = pPaM->GetNode().GetTxtNode())
|
else if (SwTxtNode* pTxtNode = pPaM->GetNode().GetTxtNode())
|
||||||
{
|
{
|
||||||
// here a paragraph is being directly formated
|
// here a paragraph is being directly formatted
|
||||||
|
|
||||||
// empty the numbering/list style applied to the current paragraph
|
// empty the numbering/list style applied to the current paragraph
|
||||||
SwNumRuleItem aEmptyRule( aEmptyOUStr );
|
SwNumRuleItem aEmptyRule( aEmptyOUStr );
|
||||||
|
@ -481,7 +481,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Make sure to join sibling node that are all formated with WikiMath style without repeating
|
Make sure to join sibling node that are all formatted with WikiMath style without repeating
|
||||||
the <math>..</math> markup.
|
the <math>..</math> markup.
|
||||||
|
|
||||||
Do not apply any transformation to the contents marked as WikiMath.
|
Do not apply any transformation to the contents marked as WikiMath.
|
||||||
|
@ -189,8 +189,8 @@ void TEParaPortion::CorrectValuesBehindLastFormattedLine( sal_uInt16 nLastFormat
|
|||||||
short nTextDiff = pUnformatted.GetStart() - pLastFormatted.GetEnd();
|
short nTextDiff = pUnformatted.GetStart() - pLastFormatted.GetEnd();
|
||||||
nTextDiff++; // LastFormatted.GetEnd() was inclusive => subtracted one too much!
|
nTextDiff++; // LastFormatted.GetEnd() was inclusive => subtracted one too much!
|
||||||
|
|
||||||
// The first unformated one has to start exactly one portion past the last
|
// The first unformatted one has to start exactly one portion past the last
|
||||||
// formated one.
|
// formatted one.
|
||||||
// If a portion got split in the changed row, nLastEnd could be > nNextStart!
|
// If a portion got split in the changed row, nLastEnd could be > nNextStart!
|
||||||
short nPDiff = sal::static_int_cast< short >(-( nPortionDiff-1 ));
|
short nPDiff = sal::static_int_cast< short >(-( nPortionDiff-1 ));
|
||||||
short nTDiff = sal::static_int_cast< short >(-( nTextDiff-1 ));
|
short nTDiff = sal::static_int_cast< short >(-( nTextDiff-1 ));
|
||||||
|
@ -150,7 +150,7 @@ extern SgfFontLst* pSgfFonts;
|
|||||||
#define THJustCenter 0x01
|
#define THJustCenter 0x01
|
||||||
#define THJustRight 0x02
|
#define THJustRight 0x02
|
||||||
#define THJustBlock 0x03
|
#define THJustBlock 0x03
|
||||||
#define THJustDrvOut 0x04 /* Justified formated */
|
#define THJustDrvOut 0x04 /* Justified formatted */
|
||||||
#define THJustLocked 0x05 /* J u s t l o c k e d */
|
#define THJustLocked 0x05 /* J u s t l o c k e d */
|
||||||
|
|
||||||
#define MaxCharSlant 4200 /* maximum 42deg italic ! */
|
#define MaxCharSlant 4200 /* maximum 42deg italic ! */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user