create bookmark use simple chinese words not shown proper in adobe,but the bookmark shown proper in PDF-XChange PDF Viewer , use the others pdf Browser not shown proper too ,use the example of pdf sdk demo in simple chinese
pdf source file
write word 'one' (chinese word '一') to pdf bookmark.
source code
procedure TFormOutline.btNewClick(Sender: TObject);
var
hr: HRESULT;
bmHandle, bmParent: PXCp_BMHandle;
bmInfo: PXCp_BMInfo;
newItem, parItem: TTreeNode;
AnsiChars: array[0..3] of Char;
path:string;
begin
ZeroMemory(@bmInfo, SizeOf(bmInfo));
Edtitle.Text:='一';
bmInfo.cbSize := SizeOf(bmInfo);
bmInfo.mask := BMIM_TitleW or BMIM_Style or BMIM_Color or BMIM_Destination;
bmInfo.TitleW :='一';
bmInfo.LengthOfTitle :=1;
bmParent := 0;
if (myTree.Selected <> nil) then
bmParent := PXCp_BMHandle(myTree.Selected.Data);
PXCp_BMInsertItem(g_hDoc, bmParent, PXCp_BMHandle(PBM_LAST), @bmHandle, @bmInfo);
newItem := TreeView1.Items.AddChild(TreeView1.Selected, edTitle.text);
newItem.Data := Pointer(bmHandle);
TreeView1.Select(newItem);
path:='c:\test.pdf';
PXCp_WriteDocumentW(g_hDoc, PWChar(WideString(path)), PXCp_CreationDisposition_Overwrite, PXCp_Write_NoRelease);
end;
create bookmark use chinese words not shown proper in adobe
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
-
- User
- Posts: 12
- Joined: Mon Apr 27, 2009 3:50 am
create bookmark use chinese words not shown proper in adobe
You do not have the required permissions to view the files attached to this post.
-
- User
- Posts: 12
- Joined: Mon Apr 27, 2009 3:50 am
Re: create bookmark use chinese words not shown proper in adobe
the picture file
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 677
- Joined: Thu Jun 28, 2007 8:42 am
Re: create bookmark use chinese words not shown proper in adobe
Problem is already fixed, fix will be avail with build 162.
Victor
Tracker Software
Project manager
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software
Project manager
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 12
- Joined: Mon Apr 27, 2009 3:50 am
Re: create bookmark use chinese words not shown proper in adobe
thanks,already not wait.how long the version 162 will be available?
-
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
Re: create bookmark use chinese words not shown proper in adobe
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 12
- Joined: Mon Apr 27, 2009 3:50 am
Re: create bookmark use chinese words not shown proper in adobe
thanks, the question was resolved
-
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
Re: create bookmark use chinese words not shown proper in adobe
Excellent news
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com