Quantcast
Channel: TX Text Control Community
Viewing all 1022 articles
Browse latest View live

[OPEN] TextFrame: get width and height

$
0
0
Hello,

I work with TX Text Control 16 ActiveX and Visual Basic 6. The Text Control on the form is named TXC.

I want to know the height and width of a textframe. This works directly after inserting the frame with TXC.objectHeight, but it doesn't work anymore, when I later select the frame and try to use TXC.objectHeight again. The error message says, that the object settings are not possible or that the object doesn't exist. there is nothing else on the form. My example:

Code:

Private Sub Test_Frame()
   
'-- Create Frame, read Height and back to body:
    TXC.TextFrameInsert -1, 0, 0, 0, 2000, 2000, 3, 20, 20, 20, 20
    Debug.Print "Obj.Height = " & TXC.ObjectHeight    ' ok, works
    TXC.TextFrameSelect (-1)
   
'-- Later Select frame and read Height:
    TXC.TextFrameSelect (1)
    Debug.Print "Obj.Height = " & TXC.ObjectHeight    ' Error 20036: Obj attributes not ...

End Sub

How can I get the frame dimensions from an existing frame?

Thanks for your help and regards,
Rolf

[OPEN] Issue with export of RTF into PDF document when using Bengali (Vrinda) font

$
0
0
Hi,

I have a problem with exporting Unicode RTF document with text typed in Vrinda font into PDF (see attached RTF file). PDF is not the correct representation of the original RTF file. Bengali characters positions are not correct, they seem to be mixed up. Ligature in Bengali language are very specific, and the order of characters are very important. Please see the code example and see if there is a way to get the correct output PDF:
Code:

                LoadSettings ls = new LoadSettings();
                txTextCtrl.Load(txtFileName.Text, StreamType.RichTextFormat, ls);
           
                byte[] pdfFile = null;
                SaveSettings mySaveSettings = new SaveSettings();
                txTextCtrl.Save(out pdfFile, BinaryStreamType.AdobePDF, mySaveSettings);
                txTextCtrl.Dispose();
               
                File.WriteAllBytes(txtOutputFileName.Text, pdfFile);

I tried to use InternalUnicodeFormat for BinaryStreamStype, but all I got was an error. Any hint will be more then welcome.

TxTextCtrl - ver.16.0
Win7

Thank you in advance,
Joe


[OPEN] Control Background

$
0
0
Hello,
May be somebody know how to change or set background color, I mean the empty space around pages? Is it possible?
Thank you

[OPEN] Saving Document with Image as Pdf (Error 03-131C)

$
0
0
Hi there,

i'm using Tx Text Control 19.0 SP2 for Windows Forms.
I have a application like your Tx Text Control words example. I create a new rtf-document and insert a image with saving style 'Embed original file reference' and save it. When I open the document again and the file path of the linked images is not valid, than I cant't save the document as pdf:

The operation could not be performed. an unexpected error has occured. (03-131C)

I know that I can embed the Image as data in document. But I have lot of older documents with file reference, where the path of some images is not always valid. But I don't want to see a exception in this case.

I think it is like this bug:
0003103 Images
http://www.textcontrol.com/en_US/sup...s/dotnet/1900/
You write it's fixed in 19.0 SP2...

You can compehend the problem in your Tx Words example.

What can I do to fix it?

[OPEN] Page.GetImage with transparent background

$
0
0
Is it possible to use Page.GetImage to create an Image or EMF that has a transparent background?

Or, is there any other way to print the contents of the text control to a DC with a transparent background?

[OPEN] Anybody developing with PCSOFT WebDev 16?

$
0
0
Hi, I want to know if there is someone who is develping with PCSOFT WebDev and use TxText Control Activex Server.

Thanks a lot

[OPEN] SavetoMemory and SavetoMemoryBuffer are failing.

$
0
0
Hi Everyone... I am upgrading to v20 ActiveX Server and the SavetoMemory method call is failing with "Method 'SavetoMemory' of object _DTX$OLE failed" with nbr -2147418113 and SaveToMemoryBuffer method call is failing with the error "Invalid property value." nbr 380.

Is the SaveToMemoryBuffer preferred? Neither is working for me with v20 AXS... here is my code examples:

mByteArray = cObjTX1.SaveToMemory(3, False)

or

mByteArray = cObjTX1.SaveToMemoryBuffer(mByteArray, 3, False)

thanks.

Tim

URGENT: Not enough diskspace (free service)!

$
0
0
Hi,

I'm getting errors when I try to do some merging (or template uploading) from my php code. The error tells me that there is not enough disk space ("There was an exception running the extensions specified in the config file. ---> Es steht nicht genug Speicherplatz auf dem Datenträger zur Verfügung").

I can't merge any documents anymore.

Snef.

Text Control announces HTML5-based, cross-browser reporting

$
0
0
At the conference DevIntersection in Orlando, Florida, we just announced the roadmap for a new technology as part of the next TX Text Control version X11. The first true WYSIWYG, HTML5-based Web editor and reporting template designer. We are working on a cross-browser, cross-platform HTML5-based Web editor and reporting template designer for...

More...

Remove spaces at top of page

$
0
0
Hi!

Well I'm using livedocx for convert DOCX, DOC... to PDF and I have a problem. When I convert a document, the resulting PDF is not the same as the original document, it creates spaces at the beginning of the page. do I have to specify the format to convert? My code:

PHP Code:

$mailMerge = new Zend_Service_LiveDocx_MailMerge();
$mailMerge->setUsername('xxxx')
->
setPassword('xxxxx')
->
setWsdl('xxxxpremiumxxxxxxx?WSDL');
$mailMerge->setLocalTemplate($wordsPath.$filename);
$mailMerge->createDocument();
$document $mailMerge->retrieveDocument('pdf');
file_put_contents($pdf$document); 

I would also like to know if there is any way (or documentation) to edit documents generated to add content. Or, as in this case, remove the blanks.

Sorry for my terrible English.

[OPEN] Error: An unexpected error has occurred. (01-2C15)

$
0
0
Below log is from our end user. Any hints on what might be causing this and/or what thing I should be looking for would be appreciated? Please see attachement for more details

Message : The operation could not be performed. An unexpected error has occurred.
(01-2C15)
Source : TXTextControl
Help link :
Data : System.Collections.ListDictionaryInternal
TargetSite : Void ᜁ()
HResult : -2146233088
Stack Trace : at TXTextControl.TextControlCore.ᜁ()
at TXTextControl.TextControlCore.ᜀ(ᜟ , Int32 , Int32 )
at TXTextControl.WPF.TextControl.ᜀ(᝙ )
at ᜁ.BuildWindowCore(HandleRef hwndParent)
at System.Windows.Interop.HwndHost.BuildWindow(Handle Ref hwndParent)
at System.Windows.Interop.HwndHost.BuildOrReparentWin dow()
at System.Windows.Interop.HwndHost.OnSourceChanged(Ob ject sender, SourceChangedEventArgs e)
at System.Windows.SourceChangedEventArgs.InvokeEventH andler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Deleg ate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandle r(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(Dependency Object sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArg s e)
at System.Windows.PresentationSource.UpdateSourceOfEl ement(DependencyObject doTarget, DependencyObject doAncestor, DependencyObject doOldParent)
......

[OPEN] Wildcard searches via Find method

$
0
0
I would like to be able to search the content of a document using the Find method, and specifying a wildcard search criterion (? and *). There was a thread on this subject in this forum in about 2002, but nothing came of it.

I would also like to be able to search the complete content (i.e. including main text and all headers and footers) with one call to Find. Although the documentation doesn't describe the scope of the Find and FindReplace methods, they seem to search only the text in the main text or the current header/footer.

I have simulated this by extracting the content of the TX Text Control, for example, 'SaveToMemory 3, False' and doing the search externally to the control.

The New Text Control: New company logo revealed

$
0
0
With the announcement of our roadmap (HTML5 and reporting) and direction of Text Control, we also revealed a new company logo. We didn't update our logo since many years and after more than 20 years, it was time to inject some fresh visual interest into our brand. We kept only colors, fonts and the company name to keep the brand recognition....

More...

[OPEN] Can I get Size and Location of TableCell?

$
0
0
Hi,

I'd like to get the Size and Location of TableCell.

I want to show any Control (such as RadioButton or ComboBox ...) over the TextControl.
For simple controls as described above, I have realized in the following code.

Code:

Dim checkbox = New CheckBox()
checkbox.Text = "This is sample?"
checkbox.Checked = True
checkbox.Location = New Point(x, y) ' calculated
TextControl1.Controls.Add(checkbox)

As a next step, I want to set the control to the full size of the TableCell.

# AAA BBB
1 Foo ## I want to place a full size, and Multiline TextBox!! ##

It's necessary to set the Size and Location to Control, but I can't get the Size and Location from TableCell.

Can I get Size and Location of TableCell?


Thanks,
Kengo ASAMIZU

[OPEN] Add new table with 2 columns fails

$
0
0
Using VS10 VB.NET and TXTextControl 20.0 Express version.
I cannot add a new table with 2 columns. In the following code:

TextControl1.Tables.Add(1, nCols, nTableID)
Table = TextControl1.Tables.GetItem(nTableID)

if nCols > 2, the table is created perfectly
If nCols <= 2 Table is set to Nothing

I am new to TX TextControl and I would be VERY grateful for a solution!

HTML5 Roadmap launch at DevIntersection

$
0
0
We had a fantastic week at DevIntersection in Orlando, Florida. We announced our HTML5 Reporting Roadmap and presented first live demos and attendees were able to test the performance and overall look & feel. I will follow-up with technical details over the next blog entries. Thanks to so many developers for stopping by our booth, testing and...

More...

The New Text Control: New company logo revealed

$
0
0
With the announcement of our roadmap (HTML5 and reporting) and direction of Text Control, we also revealed a new company logo. We didn't update our logo since many years and after more than 20 years, it was time to inject some fresh visual interest into our brand. We kept only colors, fonts and the company name to keep the brand recognition....

More...

[OPEN] Issues With Embedded CSS3 in HTML

$
0
0
Hi gang!

I am having problems displaying an html file (using regular load in textcontrol .NET ver 19), that has embedded css3 (not linked to an external .cc file). The html displays correctly in the browser (Firefox 28) but the css formatting is gone in TextControl. Here's the file in question:

http://photogabi.com/tests/receipt_xml.htm

However, I tried a separate test html document with a simple css formatting (linked and/or embedded) and it worked fine:

Code:

<style>
h1
{
color:orange;
text-align:center;
}
</style>

I wonder if there is something I am doing wrong in the linked html above, or CSS3 has issues being formatted in TextControl ver 19?

thanks a lot!
Gabster

[OPEN] How do you determine the table object that was created from the Tables.Add method

$
0
0
Hi

When using the Tables.Add method that shows the built in dialog, how do you determine the table that was created from the Tables collection so that I can set the ID property since it isn't necessarily the last one in the collection?

Regards

Stephen

Cross-browser report template designer

$
0
0
Conventional banded report designers are complex - Text Control reporting is easy to understand and thanks to WYSIWYG, the template is rendered exactly the same like on paper or in an Adobe PDF. Last week, we announced a new technology to create and modify templates in all typical browsers. This concept allows developers to deploy a reporting...

More...
Viewing all 1022 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>