![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: How to increase the size of buffer... Topic Summary: Created On: 8-Aug-2007 11:16 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: From the DXL Reference Manual: create (buffer) Declaration: Buffer create([int initSize]) Operation: Creates a buffer. A buffer has no intrinsic limit on its size; when a buffer becomes full it extends itself, if memory permits. The argument initSize specifies the initial size of the buffer. If no initial size argument is passed, this function creates a buffer that uses a default initial size of 255. So to create a larger buffer initially, specify a size at creation. If it goes beyond that size, it will automatically make itself bigger as long as you have memory available. Are you copying rich text with OLE objects from Excel using the Copy and Paste method? If so, you're limited to the first 1024 characters. Copying and Pasting from Excel to DOORS is limited to the Text Property of a cell. While the cell's value can go beyond 1024 characters, the Text property is limited to this number. This differs from setting a cells formatting to text where only 255 characters can be entered. If more characters than that are in the cell, "#" signs will be displayed. But the value is still there. | |
![]() |
|
I want to paste rich text with OLE objects into buffer as the no of OLE objects increases the buffer size gets exhausted .. is there any solution to increase the size of buffer....
|
|
![]() |
|
![]() |
|
It would help if you could paste a few lines of code and the error message they produce. Generally, you can just append text to a Buffer by using
Buffer b += string s Buffer b += char c Buffer b += Buffer b but I guess your problem is somewhere else. Peter |
|
![]() |
|
![]() |
|
From the DXL Reference Manual:
create (buffer) Declaration: Buffer create([int initSize]) Operation: Creates a buffer. A buffer has no intrinsic limit on its size; when a buffer becomes full it extends itself, if memory permits. The argument initSize specifies the initial size of the buffer. If no initial size argument is passed, this function creates a buffer that uses a default initial size of 255. So to create a larger buffer initially, specify a size at creation. If it goes beyond that size, it will automatically make itself bigger as long as you have memory available. Are you copying rich text with OLE objects from Excel using the Copy and Paste method? If so, you're limited to the first 1024 characters. Copying and Pasting from Excel to DOORS is limited to the Text Property of a cell. While the cell's value can go beyond 1024 characters, the Text property is limited to this number. This differs from setting a cells formatting to text where only 255 characters can be entered. If more characters than that are in the cell, "#" signs will be displayed. But the value is still there. ------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
How to increase the size of buffer...
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.